Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Issue 2751493002: Fix org.chromium.android_webview.test.AwSettingsTest#testUpdatingUserAgentWhileLoadingCausesReload … (Closed)

Created:
3 years, 9 months ago by jam
Modified:
3 years, 9 months ago
Reviewers:
sgurun-gerrit only
CC:
chromium-reviews, jam, darin-cc_chromium.org, android-webview-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -9 lines) Patch
M android_webview/javatests/src/org/chromium/android_webview/test/AwSettingsTest.java View 3 chunks +8 lines, -9 lines 0 comments Download

Messages

Total messages: 12 (8 generated)
jam
3 years, 9 months ago (2017-03-13 20:41:50 UTC) #4
sgurun-gerrit only
On 2017/03/13 20:41:50, jam wrote: lgtm
3 years, 9 months ago (2017-03-13 23:58:07 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2751493002/20001
3 years, 9 months ago (2017-03-14 00:06:54 UTC) #9
commit-bot: I haz the power
3 years, 9 months ago (2017-03-14 02:25:12 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/55e6fd485c6e8dd9ee7f69627ce1...

Powered by Google App Engine
This is Rietveld 408576698