commit | 0c93feb56968c141e396788bccd44d14865710c9 | [log] [tgz] |
---|---|---|
author | Hajime Hoshi <hajimehoshi@chromium.org> | Mon Mar 11 05:34:30 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Mar 11 05:34:30 2019 |
tree | 0eeee896d72eb2733d10ef4792f5c2a177f3ba14 | |
parent | 5f92173c0e23f68a2819740704d461fb864e1e2f [diff] |
Use per-frame task runner at script injection of extensions This CL switches task runners at several places from per-thread to per-frame. The purpose of this change is to make it possible to freeze tasks for bfcache. ScriptInjectionManager tries to execute JavaScript, and this is done in the default task runner in the current code. This CL replaces this with a per-frame task runner. Some tests hit this: e.g. extensions_browsertests --gtest_filter=WebViewAPITest.TestResizeWebviewResizesContent Bug: 870606 Change-Id: I8c5168d116a04824a8ca6d03e6f4b54cb3fc4c6f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1511098 Reviewed-by: Alexander Timin <altimin@chromium.org> Reviewed-by: Ken Rockot <rockot@google.com> Commit-Queue: Hajime Hoshi <hajimehoshi@chromium.org> Cr-Commit-Position: refs/heads/master@{#639394}
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 .