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}
Showing
Please register or sign in to comment