commit | 4a63ed4ed0dbbd23523479b1732815cf968ad3e5 | [log] [tgz] |
---|---|---|
author | Arthur Sonzogni <arthursonzogni@chromium.org> | Thu Oct 04 16:38:39 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Oct 04 16:38:39 2018 |
tree | 9a50dddf928ac7cabcee0fd2dc27f2334beecb27 | |
parent | 62691a48399beb00bfba2873236a50adfe1ac861 [diff] |
Fix flaky test open-with-pending-load2 There is a race in between: 1) The end of the test. 2) The XHR 'abort' event handlers executed. There is a PostTask in between: A) blink::XMLHttpRequest::HandleDidCancel() B) blink::XMLHttpRequest::HandleRequestError() FrameLoader::FinishedParsing may be interleaved in between A) and B). Make use of testRunner.{waitUntilDone, notifyDone} to get reliable results. Bug: 831155 Change-Id: Ibe1ad9020319aae7268f331b2dba0911035789e2 Reviewed-on: https://chromium-review.googlesource.com/c/1261520 Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org> Reviewed-by: Camille Lamy <clamy@chromium.org> Cr-Commit-Position: refs/heads/master@{#596704}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .