Dactyloidae/caps
Moonchild 9847e9f759 Issue #2736 - Part 13: Override page CSP for loads by expanded principals.
Per the CSP specification, content injected by extensions is meant to
be exempt from page CSP. This patch takes care of the most common case
of content injected by extension content scripts, which always have
expanded principals which inherit from the page principal.

To make this easier, de-virtualize BasePrincipal::Kind(), using CTOR
initializers instead.
2025-05-14 15:48:54 +08:00
..
tests Issue #2653 - Part 2: Update tests 2024-11-21 21:01:54 +08:00
BasePrincipal.cpp Issue #2736 - Part 13: Override page CSP for loads by expanded principals. 2025-05-14 15:48:54 +08:00
BasePrincipal.h Issue #2736 - Part 13: Override page CSP for loads by expanded principals. 2025-05-14 15:48:54 +08:00
DomainPolicy.cpp Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
DomainPolicy.h Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
moz.build Issue #1656 - Part 6: Clean up the build files 2020-09-25 22:04:23 +08:00
nsIAddonPolicyService.idl import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsIDomainPolicy.idl import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsIPrincipal.idl Issue #2653 - Part 1: Initial cleanup of AppId and isolated mozbrowser. 2024-11-21 21:01:27 +08:00
nsIScriptSecurityManager.idl import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsJSPrincipals.cpp Issue #62 - Follow-up: Fix debug build bustage with shared Spidermonkey. 2023-04-05 07:12:22 +08:00
nsJSPrincipals.h import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsNullPrincipal.cpp Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
nsNullPrincipal.h Issue #2736 - Part 13: Override page CSP for loads by expanded principals. 2025-05-14 15:48:54 +08:00
nsNullPrincipalURI.cpp Issue #1656 - Remove more vim control lines. 2023-05-04 10:46:38 +08:00
nsNullPrincipalURI.h Issue #1656 - Remove more vim control lines. 2023-05-04 10:46:38 +08:00
nsPrincipal.cpp Issue #2736 - Part 13: Override page CSP for loads by expanded principals. 2025-05-14 15:48:54 +08:00
nsPrincipal.h Issue #2736 - Part 13: Override page CSP for loads by expanded principals. 2025-05-14 15:48:54 +08:00
nsScriptSecurityManager.cpp Issue #1787 - Remove nsIAppsService, mozIApplication and mozapp data cleanup. 2024-11-21 21:09:05 +08:00
nsScriptSecurityManager.h Issue #2578 - Part 1: Implement preference for controlling same-origin policy 2024-09-13 10:03:25 +08:00
nsSystemPrincipal.cpp import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsSystemPrincipal.h Issue #2736 - Part 13: Override page CSP for loads by expanded principals. 2025-05-14 15:48:54 +08:00