Chromium Code Reviews
DescriptionPlzNavigate: Fix dynamic iframe back forward layout test failure
This test creates an iframe and changes the src of the iframe to different URLs based on the
session storage property. Additionally it also moves back in history in the process. We get renderer initiated
navigations initially followed by a browser navigation for the history and then a subsequent navigation for the child
frame which is treated as a history navigation in Blink as the history navigation initated above is still incomplete.
For PlzNavigate the history navigation initiated for the frame waits for the unload handler on the iframe to complete.
This is a browser navigation. Before the unload ack comes in we receive a navigation IPC which is ignored as the pending
navigation is a browser navigation and the new navigation does not have user_gesture.
The attempted fix is to treat child frame history navigations as renderer navigations if they are not initiated by a user
action.
BUG=691168
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation
Patch Set 1 #Patch Set 2 : Remove DCHECK #Patch Set 3 : Fix compile failures #Patch Set 4 : Fix browser tests redness #Patch Set 5 : Refactor #
Total comments: 6
Patch Set 6 : Set the flag in the navigation entry which indicates if the navigation originated from the renderer #Patch Set 7 : Remove includes #Patch Set 8 : Add comments #Patch Set 9 : Fix unittest compile failures #Patch Set 10 : Renamed is_user_gesture to has_user_gesture #
Total comments: 1
Messages
Total messages: 38 (28 generated)
|