gecko-dev/docshell/shistory
Olli Pettay 1373bb3701 Bug 1563587, Make history.back/forward/go asynchronous, r=farre
The main part of the change is the change to ChildSHistory - make it possible to have Go() to be called asynchronously
and also let one to cancel pending history navigations. History object (window.history) can then use either the sync or
async Go(), depending on the dom.window.history.async pref.

LoadDelegate, which is used by GeckoView, needs special handling, since
it spins event loop nestedly. With session history loads and same-document loads we can just
bypass it.
To deal with same-document case, MaybeHandleSameDocumentNavigation is split to IsSameDocumentNavigation,
which collects relevant information about the request and returns true if same-document navigation should happen,
and then later HandleSameDocumentNavigation uses that information to trigger the navigation.
SameDocumentNavigationState is used to pass the information around.

referrer-policy-test-case.sub.js is buggy causing tests to pass only on Firefox with sync history API.

nested-context-navigations-iframe.html.ini is added because of https://bugzilla.mozilla.org/show_bug.cgi?id=1572932

Differential Revision: https://phabricator.services.mozilla.com/D41199

--HG--
extra : moz-landing-system : lando
2019-08-14 06:38:47 +00:00
..
ChildSHistory.cpp Bug 1563587, Make history.back/forward/go asynchronous, r=farre 2019-08-14 06:38:47 +00:00
ChildSHistory.h Bug 1563587, Make history.back/forward/go asynchronous, r=farre 2019-08-14 06:38:47 +00:00
ParentSHistory.cpp Bug 1525720, part 7 - Use getter methods to access mBrowserParent and mBrowserBridgeChild. r=farre 2019-04-25 12:36:16 -05:00
ParentSHistory.h Bug 1534395 - Rename TabParent to BrowserParent. r=nika 2019-04-09 16:38:15 -05:00
moz.build
nsIBFCacheEntry.idl
nsISHEntry.idl Bug 1557887 - Part 2: Add the nsISHEntry.storagePrincipalToInherit attribute; r=baku 2019-06-12 23:01:56 +00:00
nsISHistory.idl Bug 1534638 - Part 3: rename SetRootDocShell to ClearDocShell. r=qdot 2019-04-04 16:20:19 +00:00
nsISHistoryListener.idl
nsSHEntry.cpp Bug 1557887 - Part 2: Add the nsISHEntry.storagePrincipalToInherit attribute; r=baku 2019-06-12 23:01:56 +00:00
nsSHEntry.h
nsSHEntryShared.cpp Bug 1557887 - Part 2: Add the nsISHEntry.storagePrincipalToInherit attribute; r=baku 2019-06-12 23:01:56 +00:00
nsSHEntryShared.h Bug 1557887 - Part 2: Add the nsISHEntry.storagePrincipalToInherit attribute; r=baku 2019-06-12 23:01:56 +00:00
nsSHistory.cpp Bug 1559414 - Rename unaudited pre-fission methods with SameProcess for future audit burndown. r=nika 2019-07-26 16:48:31 +00:00
nsSHistory.h Bug 1534638 - Part 3: rename SetRootDocShell to ClearDocShell. r=qdot 2019-04-04 16:20:19 +00:00