commit | a852678d14edee58ec1f83c56196547a4a5cc09b | [log] [tgz] |
---|---|---|
author | Benoît Lizé <lizeb@chromium.org> | Tue Nov 13 08:07:02 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Nov 13 08:07:02 2018 |
tree | cf7bd8674886172294a0900a4ee4e60cffe301f8 | |
parent | f780e9be389aa05e6188f2cb99d12026d47ffd48 [diff] |
blink/bindings: Improve ParkableStringManager testing. |ParkableStringManager::SetRendererBackgrounded()| schedules delayed tasks, but tests were not waiting for the tasks to run, instead directly calling the delayed functions. This adds a test checking for proper task sequencing, and changes other tests to properly wait for tasks. As a consequence, the ParkableStringManager tests no longer need to be friend with ParkableStringManager, provided that |Size()| becomes public. Also fixes a couple "git cl lint" warnings. Bug: 877044 Change-Id: I15ea4285596dc744969e0bce63c5687e6fed023c Reviewed-on: https://chromium-review.googlesource.com/c/1331476 Reviewed-by: Kentaro Hara <haraken@chromium.org> Commit-Queue: Benoit L <lizeb@chromium.org> Cr-Commit-Position: refs/heads/master@{#607518}
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 .