gecko-dev/docshell
Anny Gakhokidze 4a06eef3a8 Bug 1721217 - Part 2: Fix the race between navigations originating in the parent and in the content, r=nika
Add a synced ParentInitiatedNavigationEpoch field to browsing context, which
only gets incremented when we start navigations in the parent process. When a
child process initiates a navigation, it sends the current value of the field
that it sees via DocumentChannelCreationArgs. In the parent process, we can
compare the value of that field with the latest one for the same browsing
context. If the latest value is higher than the one provided by the content
process, it means that in the meantime parent process has started a navigation
so the earlier navigation originating in the content process will be cancelled.

Differential Revision: https://phabricator.services.mozilla.com/D126842
2021-11-30 16:31:34 +00:00
..
base Bug 1721217 - Part 2: Fix the race between navigations originating in the parent and in the content, r=nika 2021-11-30 16:31:34 +00:00
build Bug 1695817 - Part 2: Introduce a blank page about:third-party r=Gijs,fluent-reviewers,xpcom-reviewers,kmag 2021-05-28 22:35:57 +00:00
resources/content Bug 1737032 - Removed traces of "remote XUL". r=Gijs,fluent-reviewers 2021-10-25 11:00:47 +00:00
shistory Bug 1743353 - Fire pageshow after pagehide/unload with session history in the parent. r=smaug 2021-11-30 13:01:03 +00:00
test Backed out changeset 0de3705203a4 (bug 1742168) for causing failures at browser_multiple_pushState.js. CLOSED TREE 2021-11-30 16:31:10 +02:00
moz.build