gecko-dev/caps
Dave Townsend b752598495 Bug 1792138: Show the extension's name in permission prompts for opening external links. r=ckerschb,robwu,fluent-reviewers,pbz,flod
In order to handle the content script case correctly we must expose the
contentScriptAddonPolicy to JavaScript. With that we can always see what
extension is trying to perform an action and use its name rather than internal
ID in the dialog.

Differential Revision: https://phabricator.services.mozilla.com/D161282
2023-01-07 17:53:19 +00:00
..
tests
BasePrincipal.cpp Bug 1792138: Show the extension's name in permission prompts for opening external links. r=ckerschb,robwu,fluent-reviewers,pbz,flod 2023-01-07 17:53:19 +00:00
BasePrincipal.h Bug 1792138: Show the extension's name in permission prompts for opening external links. r=ckerschb,robwu,fluent-reviewers,pbz,flod 2023-01-07 17:53:19 +00:00
ContentPrincipal.cpp
ContentPrincipal.h
ContentPrincipalInfoHashKey.h
DomainPolicy.cpp
DomainPolicy.h
ExpandedPrincipal.cpp
ExpandedPrincipal.h
moz.build
nsIAddonPolicyService.idl
nsIDomainPolicy.idl
nsIPrincipal.idl Bug 1792138: Show the extension's name in permission prompts for opening external links. r=ckerschb,robwu,fluent-reviewers,pbz,flod 2023-01-07 17:53:19 +00:00
nsIScriptSecurityManager.idl
nsJSPrincipals.cpp
nsJSPrincipals.h
nsScriptSecurityManager.cpp
nsScriptSecurityManager.h
NullPrincipal.cpp
NullPrincipal.h
OriginAttributes.cpp
OriginAttributes.h
PrincipalHashKey.h
SystemPrincipal.cpp
SystemPrincipal.h