Chromium Code Reviews
DescriptionFix org.chromium.android_webview.test.AwSettingsTest#testUpdatingUserAgentWhileLoadingCausesReload with PlzNavigate.
The test is meant to verify that a reload occurs if the user agent override is set during a navigation. It was testing that by looking for two did-stop-navigation events, which is an implementation detail fo the old navigation code paths. With PlzNavigate, only one did-stop-navigation callback is fired. Change the test to look for a history entry with reload=true instead.
BUG=645983
Review-Url: https://codereview.chromium.org/2751493002
Cr-Commit-Position: refs/heads/master@{#456581}
Committed: https://chromium.googlesource.com/chromium/src/+/55e6fd485c6e8dd9ee7f69627ce1068cfb7c4e50
Patch Set 1 #Patch Set 2 : without PlzNavigate #
Messages
Total messages: 12 (8 generated)
|
|||||||||||||||||||