Dactyloidae/docshell/base
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
..
crashtests moebius#231: Consider blocking top level window data: URIs (tests) 2019-02-15 23:56:35 +08:00
timeline No issue - add API to tell Profile Timeline Recording state to JS engine 2023-01-26 11:38:40 +08:00
IHistory.h Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
LoadContext.cpp Issue #2653 - Part 1: Initial cleanup of AppId and isolated mozbrowser. 2024-11-21 21:01:27 +08:00
LoadContext.h Issue #2653 - Part 1: Initial cleanup of AppId and isolated mozbrowser. 2024-11-21 21:01:27 +08:00
moz.build Issue #1656 - Part 6: Clean up the build files 2020-09-25 22:04:23 +08:00
nsAboutRedirector.cpp Issue #21 - Remove Telemetry accumulation/structures from toolkit js. 2022-04-28 10:26:19 +08:00
nsAboutRedirector.h Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
nsCDefaultURIFixup.idl import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsDefaultURIFixup.cpp Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
nsDefaultURIFixup.h Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
nsDocShell.cpp Issue #2736 - Part 1: Provide more consistent principals to CSP. 2025-05-14 14:21:46 +08:00
nsDocShell.h Issue #2653 - Part 1: Initial cleanup of AppId and isolated mozbrowser. 2024-11-21 21:01:27 +08:00
nsDocShellEditorData.cpp Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
nsDocShellEditorData.h Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
nsDocShellEnumerator.cpp Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
nsDocShellEnumerator.h Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
nsDocShellLoadInfo.cpp Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
nsDocShellLoadInfo.h Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
nsDocShellLoadTypes.h Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
nsDocShellTransferableHooks.cpp Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
nsDocShellTransferableHooks.h Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
nsDownloadHistory.cpp Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
nsDownloadHistory.h Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
nsDSURIContentListener.cpp Issue #2653 - Part 1: Initial cleanup of AppId and isolated mozbrowser. 2024-11-21 21:01:27 +08:00
nsDSURIContentListener.h Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
nsIClipboardCommands.idl import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsIContentViewer.idl import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsIContentViewerContainer.idl import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsIContentViewerEdit.idl import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsIContentViewerFile.idl import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsIDocCharset.idl import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsIDocShell.idl Issue #2653 - Part 1: Initial cleanup of AppId and isolated mozbrowser. 2024-11-21 21:01:27 +08:00
nsIDocShellLoadInfo.idl Do not report resource-timing subdocument loads triggered by that subdocument. 2019-02-16 00:22:18 +08:00
nsIDocShellTreeItem.idl Issue #2653 - Part 1: Initial cleanup of AppId and isolated mozbrowser. 2024-11-21 21:01:27 +08:00
nsIDocShellTreeOwner.idl import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsIDocumentLoaderFactory.idl import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsIDownloadHistory.idl Issue #1656 - Remove more vim control lines. 2023-05-04 10:46:38 +08:00
nsIGlobalHistory2.idl import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsILinkHandler.h Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
nsILoadContext.idl Issue #2653 - Part 1: Initial cleanup of AppId and isolated mozbrowser. 2024-11-21 21:01:27 +08:00
nsIPrivacyTransitionObserver.idl import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsIReflowObserver.idl import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsIRefreshURI.idl Bug 1416307 - Set triggeringPrincipal to current document's principal, if aPrincipal is not given. r=bz, a=ritu 2019-02-15 23:36:59 +08:00
nsIScrollable.idl Issue #1656 - Part 8: Devtools and misc. 2020-09-25 22:06:55 +08:00
nsIScrollObserver.h Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
nsITextScroll.idl import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsIURIFixup.idl import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsIWebNavigation.idl Bug 1329032 - Extend loadURIWithOptions by a triggeringPrincipal (without an hard e10s) 2019-02-15 23:54:30 +08:00
nsIWebNavigationInfo.idl import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsIWebPageDescriptor.idl import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
nsIWebShellServices.h Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
nsWebNavigationInfo.cpp Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
nsWebNavigationInfo.h Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
SerializedLoadContext.cpp Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
SerializedLoadContext.h Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00