DescriptionDon't mark navigations as in-page when DSNs are mismatched.
When renderer is asked to do a session history navigation that is in-page,
it should verify whether it has already committed a different document
by verifying the document sequence number (DSN) matches between the one
it has and the one sent by the browser process. When there is a mismatch,
the navigation should not be treated as in-page, since that can lead to
mismatch between the origin and URL of a document.
This is a slightly modified version of
https://codereview.chromium.org/2253233002/, which was reverted and
includes a test case to reproduce the race condition causing the mismatch.
BUG=628677, 630103
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation
Committed: https://crrev.com/e6c6898cbfcf2be644cf5c8f283f74f75c60161f
Cr-Commit-Position: refs/heads/master@{#417012}
Patch Set 1 #Patch Set 2 : Disable the new test in PlzNavigate, until I can investigate the cause of the failure. #
Total comments: 1
Messages
Total messages: 14 (8 generated)
|