commit | 1c3948d821344ed5e34f8714d84af13c4ae2afa8 | [log] [tgz] |
---|---|---|
author | Richard Knoll <knollr@chromium.org> | Mon Mar 04 15:01:03 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Mar 04 15:01:03 2019 |
tree | 5a40048a48ef033fdb047f88355d55d11a738fda | |
parent | 31ad82ae99ed2a328d95fa6f73360a7c13561436 [diff] |
Run pending tasks in ~TestBrowserThreadBundle. This makes sure we run all remaining tasks in tests. This should be the case even for ExecutionMode::QUEUED as documented here: https://cs.chromium.org/chromium/src/base/test/scoped_task_environment.h?l=42 Also lift the restriction to only flush tasks in !MOCK_TIME && !QUEUED modes which is unnecessary now that TestBrowserThreadBundle is-a ScopedTaskEnvironment (http://crrev.com/616622). Bug: 708584 Change-Id: I52773e27d3875bd246bb1cd7eea92c9e11fc70bf Reviewed-on: https://chromium-review.googlesource.com/c/1480460 Commit-Queue: Gabriel Charette <gab@chromium.org> Reviewed-by: Gabriel Charette <gab@chromium.org> Cr-Commit-Position: refs/heads/master@{#637288}
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 .