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

Issue 2754173003: Make SubresourceFilterBrowserTest.FailedProvisionalLoadInMainframe non-flaky. (Closed)

Created:
3 years, 9 months ago by engedy
Modified:
3 years, 9 months ago
Reviewers:
mmenke
CC:
chromium-reviews, subresource-filter-reviews_chromium.org, nasko
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make SubresourceFilterBrowserTest.FailedProvisionalLoadInMainframe non-flaky. When a provisional load fails with no server-supplied error page, Chrome's own navigation error page is shown. This also triggers a background request to load navigation corrections (aka. Link Doctor). Once the results are back, there is a navigation to a second error page with the suggestions. Thes CL makes the SubresourceFilterBrowserTest.FailedProvisionalLoadInMainframe expect and wait for this second navigation. Otherwise the completion of loading the Link Doctor error page would be at race with that of subsequent navigations initiated in the test, leading to flakiness. BUG=637415, 700514 Review-Url: https://codereview.chromium.org/2754173003 Cr-Commit-Position: refs/heads/master@{#457796} Committed: https://chromium.googlesource.com/chromium/src/+/0485e8ec0ab7d527744dcd61328b7f23a1eecfda

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -8 lines) Patch
M chrome/browser/subresource_filter/subresource_filter_browsertest.cc View 2 chunks +8 lines, -8 lines 0 comments Download

Messages

Total messages: 15 (11 generated)
engedy
Matt, could you please take a quick look?
3 years, 9 months ago (2017-03-17 09:48:41 UTC) #5
mmenke
On 2017/03/17 09:48:41, engedy wrote: > Matt, could you please take a quick look? LGTM!
3 years, 9 months ago (2017-03-17 16:09:28 UTC) #8
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/2754173003/1
3 years, 9 months ago (2017-03-17 16:44:16 UTC) #12
commit-bot: I haz the power
3 years, 9 months ago (2017-03-17 16:49:52 UTC) #15
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/0485e8ec0ab7d527744dcd61328b...

Powered by Google App Engine
This is Rietveld 408576698