Dactyloidae/toolkit/modules/addons
Moonchild 9ad680cfc4 Issue #2736 - Part 1: Provide more consistent principals to CSP.
We're currently fairly vague and inconsistent about the values we provide to
content policy implementations for requestOrigin and requestPrincipal. In some
cases they're the triggering principal, sometimes the loading principal,
sometimes the channel principal.

Our existing content policy implementations which require or expect a
loading principal currently retrieve it from the context node.
Since no current callers require the principal to be the loading
principal, and some already expect it to be the triggering principal
(which there's currently no other way to retrieve), a choice was made
to pass the triggering principal whenever possible, but use the loading
principal to determine the origin URL.
2025-05-14 14:21:46 +08:00
..
.eslintrc.js Revert "[WebRequest] Remove AddonManagerPermissions leftovers" 2020-02-07 07:49:44 +08:00
MatchPattern.jsm import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
WebNavigation.jsm import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
WebNavigationContent.js import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
WebNavigationFrames.jsm import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
WebRequest.jsm Issue #1877 - Resolve RELEASE_OR_BETA conditionals. 2022-04-21 21:46:47 +08:00
WebRequestCommon.jsm Added Ci.nsIContentPolicy.TYPE_SAVEAS_DOWNLOAD to next files 2019-02-16 00:03:28 +08:00
WebRequestContent.js Issue #2736 - Part 1: Provide more consistent principals to CSP. 2025-05-14 14:21:46 +08:00
WebRequestUpload.jsm import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00