Chromium Code Reviews
Description[PCv2] Avoid hash navigation by inserting navigation to different URL.
This CL avoids PCv2 perform hash navigation which is not handled well by
page.Navigate in inspector_page.py.
Suppose we have a page set: ["a.com", "g.com/#hoge"]
Given this page set, PCv1 used to cycle pages as:
- a.com [cold run]
- g.com/#hoge [cold run]
- a.com [warm run]
- g.com/#hoge [warm run]
However, PCv2 cycles the page set as:
- a.com [cold run]
- a.com [warm run]
- g.com/#hoge [cold run]
- g.com/#hoge [warm run]
While this gives PCv2 more opportunity for more precise cache control,
this invokes problematic hash navigation of "g.com/#hoge -> g.com/#hoge"
which doesn't flush Blink frame.
This CL workarounds the issue by inserting an navigation to
"http://does.not.exist" before the second "g.com/#hoge" nav.
BUG=chromium:624265
Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/9f8a0a8c0d4522f4014fbdba199222d44d638730
Patch Set 1 #
Total comments: 2
Patch Set 2 : add_note #Messages
Total messages: 13 (6 generated)
|