commit | 295916d376dc0194a5177f1d2f280b9ee20af613 | [log] [tgz] |
---|---|---|
author | Dana Fried <dfried@chromium.org> | Thu Apr 14 18:48:01 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Apr 14 18:48:01 2022 |
tree | aab756e9fd6f2eef173526bdfbc22ea3ec386e7d | |
parent | 8b67ad4b46604d0ea7a766abe49fc3791879ede2 [diff] |
Make run loops in test utils nestable. This makes it possible to wait for any of these three conditions inside a higher-level RunLoop; otherwise they hang forever. This is useful for InteractionSequence-based tests which are event based rather than using polling or fixed delays and must therefore be run inside a top-level RunLoop. There doesn't appear to be any drawbacks as all of these are leaf wait states; no tests fail after this change that succeeded before. Change-Id: I333720d5f2c85c343b6189e673602e99560a5167 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3587325 Reviewed-by: Avi Drissman <avi@chromium.org> Commit-Queue: Dana Fried <dfried@chromium.org> Auto-Submit: Dana Fried <dfried@chromium.org> Cr-Commit-Position: refs/heads/main@{#992646}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.