commit | 6eba64719f5e950ff9ef335e0392f2b6f7c45adc | [log] [tgz] |
---|---|---|
author | Hiroki Nakagawa <nhiroki@chromium.org> | Fri Dec 08 03:09:36 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Dec 08 03:09:36 2017 |
tree | c94552fa0780b66610e04df8e7b3e6dd092a74a9 | |
parent | 6c14186b52b9a606173a80c57b2272c02f5183ca [diff] |
Worker: Exclude source_code from GlobalScopeCreationParams for cleanup For cleanup, this CL excludes |source_code| and |cached_meta_data| from GlobalScopeCreationParams and passes them as separate arguments to functions. This is because these fields are not used for creating a global scope but for evaluating a worker script. Also, this change simplifies worklets implementation and helps to implement module worker because they don't need to pass |source_code| and |cached_meta_data| from the main thread. Bug: 680046, 710364 Change-Id: Icdf978ec136cb316c391a47e8306ba454e9b9876 Reviewed-on: https://chromium-review.googlesource.com/813454 Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Reviewed-by: Matt Falkenhagen <falken@chromium.org> Cr-Commit-Position: refs/heads/master@{#522692}
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 .