gecko-dev/docshell/test
Olli Pettay 924f5f1a55 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-13 17:11:35 +00:00
..
browser Bug 1566952: Part 1 - Annotate mochitests that crash with Fission enabled. r=mccr8 2019-07-17 13:37:48 -07:00
chrome Bug 1561435 - Format docshell/, a=automatic-formatting 2019-07-05 09:59:46 +02:00
iframesandbox Bug 1455996 - Skip mochitest test_marquee_event_handlers.html; r=bobowen 2019-07-05 12:56:54 +00:00
mochitest Bug 1563587, Make history.back/forward/go asynchronous, r=farre 2019-08-13 17:11:35 +00:00
navigation Bug 1563587, Make history.back/forward/go asynchronous, r=farre 2019-08-13 17:11:35 +00:00
unit Bug 1566417 - Update to use ReferrerInfo in prefetch and preload URI r=smaug 2019-07-19 11:42:09 +00:00
unit_ipc Bug 1561435 - Format docshell/, a=automatic-formatting 2019-07-05 09:59:46 +02:00
moz.build Bug 1535353 - update Core :: DOM: * bugzilla product and component meta data in moz.build files after reorganization in bug 1533440: replace 'Core :: Keyboard: Navigation'. r=me DONTBUILD 2019-03-18 00:39:30 +01:00