commit | e931516af4786536722aa351c56af8fedb00d01b | [log] [tgz] |
---|---|---|
author | Hajime Hoshi <[email protected]> | Fri Jan 25 16:19:04 2019 |
committer | Commit Bot <[email protected]> | Fri Jan 25 16:19:04 2019 |
tree | 8e7bf2427732e53b5f5b7de8076b7ef55fd4f809 | |
parent | dd481f562b7dd2b65b72a50d13f40f1704cbb767 [diff] |
Use per-frame task runner at WebSocketHandshakeThrottle and MimeSniffingLoader 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. bfcache is a new feature to freeze a tab for quick back-forwarding. When a tab goes frozen, we can stop per-frame task runners while we cannot per-thread task runners since per-thread task runners can be shared between multiple tags/pages. As a frozen tab must not execute any JavaScript, all JavaScript execution must be on per-frame task runners, which can be suspended. Bug: 913912 Change-Id: Ic0deb8d3cb421e2a25ee25a5dd81b3387b83e3bb Reviewed-on: https://chromium-review.googlesource.com/c/1405960 Reviewed-by: Kinuko Yasuda <[email protected]> Reviewed-by: Tao Bai <[email protected]> Reviewed-by: Alexander Timin <[email protected]> Reviewed-by: Jochen Eisinger <[email protected]> Reviewed-by: Kentaro Hara <[email protected]> Commit-Queue: Hajime Hoshi <[email protected]> Cr-Commit-Position: refs/heads/master@{#626091}
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 .