commit | 44bc78241ecd613537c76e0df0c3a495ab01be01 | [log] [tgz] |
---|---|---|
author | Takayoshi Kochi <kochi@chromium.org> | Mon Jul 23 08:44:31 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Jul 23 08:44:31 2018 |
tree | 52e3b82ac768da4fd4406364fffc56d9a695257d | |
parent | e318f812b99e7e795be931df6404d35957635aa9 [diff] |
Delay the test execution to avoid flakiness The frame's initialization code focuses the content from browser process via an IPC (browser->renderer), but its handling in the renderer can be delayed until after the test code script execution is started. This caused the test to have a race condition, that a focus event is delivered where it is not expected, and resulted the flakiness. The test can fail on the initial use of content_shell process. Delay the execution of test function so that it will not be affected by the frame initial focus event. Bug: 863067 Change-Id: I475d912b0e9baffa3917212b2fc0735189381cb8 Reviewed-on: https://chromium-review.googlesource.com/1146523 Commit-Queue: Takayoshi Kochi <kochi@chromium.org> Reviewed-by: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#577124}
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 .