DescriptionPrevent renderer kills for in-page navigations on subframes.
This switches HistoryController and HistoryEntry to look at the last
committed WebHistoryItem for a frame rather than assuming that the
whole HistoryEntry accurately reflects the state of the page. The
previous logic led to NC_IN_PAGE_NAVIGATION renderer kills when going
back cross-site in ways that looked in-page to the HistoryEntry.
This CL does not yet fix the kills that happen in FrameNavigationEntry
modes, which are covered by the BackTwiceToIframeWithContent test.
Those will be fixed in a follow-up CL.
BUG=612713
TEST=Fewer NC_IN_PAGE_NAVIGATION kills.
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation
Committed: https://crrev.com/225a74338e488576c405e18610298c39244b85f5
Cr-Commit-Position: refs/heads/master@{#397832}
Patch Set 1 #Patch Set 2 : Update tests and fix, clean up. #
Total comments: 21
Patch Set 3 : Update comments #Patch Set 4 : Rebase filter file #
Messages
Total messages: 20 (10 generated)
|