fune/docshell/base
Nika Layzell 60130dbef6 Bug 1914594 - Move docshell.newWindowTarget to be on LoadInfo a=diannaS
Previously, this was passed around using the nsHashPropertyBag base
class on HTTP channels. In bug 1907269, this base was added to
nsExtProtocolChannel to support reading this property for external
protocols.

This unfortunately ended up not working when a HTTP channel redirects to
an external protocol, as the hash property propagation logic in
nsHttpChannel happens after the check that the target channel is a HTTP
channel, so the property was lost when redirecting to an external
protocol.

Rather than refactoring HTTP redirect logic, this patch simplifies by
moving the property onto the LoadInfo where it will be trivially
preserved across redirects, and available in the places which need it.

Because the nsHashPropertyBag base is no longer required for
nsExtProtocolChannel, it is also removed.

Differential Revision: https://phabricator.services.mozilla.com/D221876
2024-09-12 16:22:19 +00:00
..
crashtests
BaseHistory.cpp Bug 1900392 - Isolate x-moz-ews URI scheme to parent process. r=nika,jesup,smaug 2024-06-03 21:04:18 +00:00
BaseHistory.h
BrowsingContext.cpp Bug 1681457 - Allow non-auxiliary BrowsingContexts created by script to close themselves, r=smaug 2024-06-05 00:06:48 +00:00
BrowsingContext.h Bug 1885101: Match screen and window properties with top window for ScreenRect, ScreenAvailRect and WindowOuterSize. a=RyanVM 2024-09-10 12:49:32 +00:00
BrowsingContextGroup.cpp Bug 1877242 - Avoid some unnecessary refcounting churn when accessing parent-cross-chrome-boundary. r=nika 2024-01-30 23:24:43 +00:00
BrowsingContextGroup.h Bug 1840762 - Don't throttle postMessage for pdf.js. r=smaug 2024-01-17 21:49:34 +00:00
BrowsingContextWebProgress.cpp Bug 1848406 - Detect stateful bounces for window associated storages. r=bvandersloot,asuth 2024-04-17 20:29:04 +00:00
BrowsingContextWebProgress.h
CanonicalBrowsingContext.cpp Backed out changeset c2ed856658bb (bug 1753352) for causing wpt failures, a=backout 2024-09-10 22:31:21 -04:00
CanonicalBrowsingContext.h Bug 1890748 - Move responsibility of FeaturePolicy initialization to nsILoadInfo. r=freddyb,necko-reviewers,jesup,dom-core,sefeng, a=dmeehan 2024-06-20 13:22:41 +00:00
ChildProcessChannelListener.cpp
ChildProcessChannelListener.h
IHistory.h
LoadContext.cpp
LoadContext.h
metrics.yaml Bug 1877842 - Migrate performance GVST probes r=perry.mcmanis,denispal 2024-02-09 21:11:05 +00:00
moz.build
nsAboutRedirector.cpp Bug 1894958: Let's name this page more accurately r=timhuang 2024-06-05 02:04:40 +00:00
nsAboutRedirector.h
nsCTooltipTextProvider.h
nsDocShell.cpp Bug 1914594 - Move docshell.newWindowTarget to be on LoadInfo a=diannaS 2024-09-12 16:22:19 +00:00
nsDocShell.h Bug 1896516 Part 7 - Remove PresShell::GetRootScrollFrameAsScrollable(). r=layout-reviewers,emilio 2024-05-30 06:32:20 +00:00
nsDocShellEditorData.cpp
nsDocShellEditorData.h
nsDocShellEnumerator.cpp
nsDocShellEnumerator.h
nsDocShellLoadState.cpp Bug 1819862: Reduce warnings from Msg_CleanupPendingLoadState about "actor cannot send", r=jstutte 2024-05-31 09:37:35 +00:00
nsDocShellLoadState.h Bug 1885893 - Only collect HTTPS-First telemetry on successful request r=freddyb 2024-05-27 14:20:11 +00:00
nsDocShellLoadTypes.h
nsDocShellTelemetryUtils.cpp Bug 1793560 - Remove navigate-to CSP directive r=tschuster 2024-01-03 16:43:12 +00:00
nsDocShellTelemetryUtils.h
nsDocShellTreeOwner.cpp Bug 1895229 - Remove nsIWebBrowserChromeFocus. r=hsivonen,dom-core 2024-05-06 11:30:34 +00:00
nsDocShellTreeOwner.h
nsDSURIContentListener.cpp
nsDSURIContentListener.h
nsIDocShell.idl Bug 1895229 - Remove nsIWebBrowserChromeFocus. r=hsivonen,dom-core 2024-05-06 11:30:34 +00:00
nsIDocShellTreeItem.idl
nsIDocShellTreeOwner.idl Bug 1881863 - Part 1: Standardize on boolean over bool in xpidl, r=xpcom-reviewers,necko-reviewers,valentin,extension-reviewers,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,search-reviewers,anti-tracking-reviewers,places-reviewers,nalexander,emilio,zombie,sgalich,karlt,lina,Standard8 2024-04-04 18:45:21 +00:00
nsIDocumentLoaderFactory.idl Bug 196078 - Part 2: Support displaying arbitrary text/* MIME types as plain text, r=smaug,necko-reviewers,valentin 2024-06-05 00:05:58 +00:00
nsIDocumentViewer.idl Bug 1892481 - More consistently enforce noscript and builtinclass in xpidl, r=xpcom-reviewers,necko-reviewers,valentin,media-playback-reviewers,mccr8,padenot 2024-04-22 18:19:58 +00:00
nsIDocumentViewerEdit.idl
nsILoadContext.idl
nsILoadURIDelegate.idl
nsIPrivacyTransitionObserver.idl Bug 1881863 - Part 1: Standardize on boolean over bool in xpidl, r=xpcom-reviewers,necko-reviewers,valentin,extension-reviewers,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,search-reviewers,anti-tracking-reviewers,places-reviewers,nalexander,emilio,zombie,sgalich,karlt,lina,Standard8 2024-04-04 18:45:21 +00:00
nsIReflowObserver.idl
nsIRefreshURI.idl
nsIScrollObserver.h
nsITooltipListener.idl
nsITooltipTextProvider.idl
nsIURIFixup.idl Bug 1881863 - Part 1: Standardize on boolean over bool in xpidl, r=xpcom-reviewers,necko-reviewers,valentin,extension-reviewers,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,search-reviewers,anti-tracking-reviewers,places-reviewers,nalexander,emilio,zombie,sgalich,karlt,lina,Standard8 2024-04-04 18:45:21 +00:00
nsIWebNavigation.idl
nsIWebNavigationInfo.idl
nsIWebPageDescriptor.idl
nsPingListener.cpp
nsPingListener.h
nsRefreshTimer.cpp
nsRefreshTimer.h
nsWebNavigationInfo.cpp
nsWebNavigationInfo.h
SerializedLoadContext.cpp
SerializedLoadContext.h
SyncedContext.h
SyncedContextInlines.h
URIFixup.sys.mjs Bug 1841869 - entering "abc @xyz.[TLD]" in address bar opens a prompt regarding loading "xyz.[TLD]" instead of searching for "abc @xyz.[TLD]" on the default search engine.r=adw 2024-01-31 19:07:57 +00:00
WindowContext.cpp Bug 1875466 - Remove nsContentUtils::ShouldHideObjectOrEmbedImageDocument. r=emilio 2024-01-22 14:26:10 +00:00
WindowContext.h Bug 1873330 - Part 4: Add UserActivation::Modifiers getters. r=smaug 2024-01-11 17:24:02 +00:00