Prerender: avoid race condition with canceling prerender in test.
The test which started flaking started two prerenderers, the second which canceled the first. ChromeOS in particular exposed a race condition where the first prerender would complete before the second had a chance to cancel it. This in retrospect obvious situation exists elsewhere and has an easy fix in a HangingFirstRequestInterceptor which stalls the first prerender indefinitely, causing it to be reliably canceled by the second. BUG=679090 TBR=droger Review-Url: https://codereview.chromium.org/2616383002 Cr-Commit-Position: refs/heads/master@{#442918}
Showing
Please register or sign in to comment