gecko-dev/docshell/base
Manuel Bucher 2952cf8ce7 Bug 1753730 - Add EarlyHintPreloader to load 103 Early Hint responses into the cache r=necko-reviewers,ckerschb,dragana,kershaw
Currently only same origin requests are preloaded and preloads in the
secure context. This may change in the future to match W3C decisions and
Chromes behavior.

Also only images get preloaded. This will change in the future to cover
asset types.

Currently the anchor isn't parsed correctly yet[1], so this will be
fixed in a future patch.

On non-2xx responses of the main document all ongoing preloads get
canceled. Already completed preloads don't get affected and are in the
cache.

It is currently untested whether unused preloads don't have side effects.

Another future patch should cover adding the preload to the devtools.

[1]: https://datatracker.ietf.org/doc/html/rfc8288#section-3.2

Differential Revision: https://phabricator.services.mozilla.com/D137885
2022-05-03 19:24:42 +00:00
..
crashtests Bug 1753136 - Explicitly escape and unescape precursor origins in null principal queries, r=valentin 2022-02-08 15:18:21 +00:00
timeline Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw 2022-03-16 18:47:08 +00:00
BaseHistory.cpp Bug 1760674. r=mak 2022-03-29 12:15:52 +00:00
BaseHistory.h
BrowsingContext.cpp Backed out 19 changesets (bug 1759569, bug 1754004, bug 1759563, bug 1754031, bug 1696894, bug 1759572) for causing wpt failures. CLOSED TREE 2022-05-03 06:00:22 +03:00
BrowsingContext.h Bug 1739450 - Part 1: Move ownership of session store scroll and form data to platform. r=peterv 2022-04-19 15:19:22 +00:00
BrowsingContextGroup.cpp
BrowsingContextGroup.h
BrowsingContextWebProgress.cpp Bug 1752413, add nsIWebProgress.documentRequest to let one to access the request for the document, r=nika 2022-02-01 15:46:32 +00:00
BrowsingContextWebProgress.h
CanonicalBrowsingContext.cpp Bug 1753730 - Add EarlyHintPreloader to load 103 Early Hint responses into the cache r=necko-reviewers,ckerschb,dragana,kershaw 2022-05-03 19:24:42 +00:00
CanonicalBrowsingContext.h Bug 1753730 - Add EarlyHintPreloader to load 103 Early Hint responses into the cache r=necko-reviewers,ckerschb,dragana,kershaw 2022-05-03 19:24:42 +00:00
ChildProcessChannelListener.cpp
ChildProcessChannelListener.h
IHistory.h
LoadContext.cpp
LoadContext.h
moz.build Bug 1746115 - Perform data URI blocking from DocumentLoadListener, r=smaug 2022-02-11 16:34:24 +00:00
nsAboutRedirector.cpp Bug 1757657. Remove some about:printpreview cruft that was missed in 1702501. r=mstriemer 2022-04-04 17:19:24 +00:00
nsAboutRedirector.h
nsCTooltipTextProvider.h
nsDocShell.cpp Backed out 19 changesets (bug 1759569, bug 1754004, bug 1759563, bug 1754031, bug 1696894, bug 1759572) for causing wpt failures. CLOSED TREE 2022-05-03 06:00:22 +03:00
nsDocShell.h Bug 1739450 - Part 2: Collect session history when wireframes are collected. r=peterv,mconley 2022-04-19 15:19:22 +00:00
nsDocShellEditorData.cpp
nsDocShellEditorData.h
nsDocShellEnumerator.cpp
nsDocShellEnumerator.h
nsDocShellLoadState.cpp Bug 1760009 - Don't strip the URL query parameters if there is no triggering principal. r=smaug 2022-03-22 08:45:19 +00:00
nsDocShellLoadState.h Bug 1729662 - UNED exam page flickers / reloads infinitely. r=smaug 2021-10-04 15:01:30 +00:00
nsDocShellLoadTypes.h
nsDocShellTelemetryUtils.cpp Bug 1737032 - Removed traces of "remote XUL". r=Gijs,fluent-reviewers 2021-10-25 11:00:47 +00:00
nsDocShellTelemetryUtils.h
nsDocShellTreeOwner.cpp Bug 1756323 - Fix tooltip coordinates in presence of full zoom. r=jfkthame 2022-02-21 17:30:08 +00:00
nsDocShellTreeOwner.h Bug 1756323 - Move ChromeTooltipListener out of a header file. r=smaug 2022-02-21 09:17:17 +00:00
nsDSURIContentListener.cpp Bug 1746115 - Perform data URI blocking from DocumentLoadListener, r=smaug 2022-02-11 16:34:24 +00:00
nsDSURIContentListener.h Bug 1728760 - require all nsITimerCallback native implementations to also implement nsINamed, r=smaug. 2021-09-07 08:01:18 +00:00
nsIContentViewer.idl Bug 1539884 - Part 24: Mark nsIContentViewer::pageHide as can_run_script r=masayuki 2021-12-23 16:27:21 +00:00
nsIContentViewerEdit.idl
nsIDocShell.idl Bug 1746383 - Set URLBar pageProxyState to invalid for onLocationChange triggered by SessionStore. r=nika,dao 2022-04-12 14:41:06 +00:00
nsIDocShellTreeItem.idl
nsIDocShellTreeOwner.idl
nsIDocumentLoaderFactory.idl
nsILoadContext.idl
nsILoadURIDelegate.idl
nsIPrivacyTransitionObserver.idl
nsIReflowObserver.idl
nsIRefreshURI.idl Bug 1744397 - Simplify refresh code: pass around delay as an unsigned int. r=smaug 2021-12-16 22:27:08 +00:00
nsIScrollObserver.h
nsITooltipListener.idl Bug 1756323 - Fix tooltip coordinates in presence of full zoom. r=jfkthame 2022-02-21 17:30:08 +00:00
nsITooltipTextProvider.idl
nsIURIFixup.idl
nsIWebNavigation.idl
nsIWebNavigationInfo.idl Bug 1729843 - Remove vestigial plugin-related code from nsWebNavigationInfo. r=smaug 2021-09-09 15:03:05 +00:00
nsIWebPageDescriptor.idl
nsPingListener.cpp
nsPingListener.h
nsRefreshTimer.cpp Bug 1744397 - Simplify refresh code: remove aMetaRefresh argument. r=smaug 2021-12-16 22:27:07 +00:00
nsRefreshTimer.h Bug 1744397 - Simplify refresh code: remove aMetaRefresh argument. r=smaug 2021-12-16 22:27:07 +00:00
nsWebNavigationInfo.cpp Bug 1729843 - Remove vestigial plugin-related code from nsWebNavigationInfo. r=smaug 2021-09-09 15:03:05 +00:00
nsWebNavigationInfo.h Bug 1729843 - Remove vestigial plugin-related code from nsWebNavigationInfo. r=smaug 2021-09-09 15:03:05 +00:00
SerializedLoadContext.cpp
SerializedLoadContext.h Bug 1754037 - Part 3c: Automatically update all ParamTraits implementations, r=ipc-reviewers,media-playback-reviewers,bryce,mccr8 2022-03-04 15:39:41 +00:00
SyncedContext.h Bug 1754037 - Part 3c: Automatically update all ParamTraits implementations, r=ipc-reviewers,media-playback-reviewers,bryce,mccr8 2022-03-04 15:39:41 +00:00
SyncedContextInlines.h Bug 1766377 - Fix some sign-compare warnings by using ProcessId more consistently. r=nika,necko-reviewers,kershaw 2022-04-27 07:45:19 +00:00
URIFixup.jsm Bug 1724473 - Added an if statement at the bailout, enabling it to only work when the url starts with an alphanumeric. r=mak Bonardo <mbonardo@mozilla.com> 2021-11-01 13:15:15 +00:00
WindowContext.cpp Bug 1766582 - Expose last user gesture timestamp; r=sgalich,smaug 2022-04-27 08:26:56 +00:00
WindowContext.h Bug 1766582 - Expose last user gesture timestamp; r=sgalich,smaug 2022-04-27 08:26:56 +00:00