commit | b4cbb3dc56028a69f05f22bcc5fa3a3ba7b3a978 | [log] [tgz] |
---|---|---|
author | Dave Tapuska <dtapuska@chromium.org> | Thu Dec 20 17:21:17 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Dec 20 17:21:17 2018 |
tree | 7cc3395b157a786680efd568481fa815a2e1fc46 | |
parent | 4bb4fe62b9544da7e0ccb4c3ac469fc628277018 [diff] |
Make ScriptPromiseResolver a ContextLifecycleObserver Pausing and Resuming wasn't necessary for the ScriptPromiseResolver because it uses the microtask queue to schedule tasks for later. If a task is resolved during paused state it instead schedules a task for the micro task queue. BUG=907125 Change-Id: I6f292200bb7ec6045f2ead2292006d2a0beee723 Reviewed-on: https://chromium-review.googlesource.com/c/1370384 Reviewed-by: Kentaro Hara <haraken@chromium.org> Reviewed-by: Alexander Timin <altimin@chromium.org> Commit-Queue: Dave Tapuska <dtapuska@chromium.org> Cr-Commit-Position: refs/heads/master@{#618255}
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 .