commit | 7566f0f5a88820cc89bd1c7e911a13575b99810b | [log] [tgz] |
---|---|---|
author | Andreas Haas <ahaas@chromium.org> | Fri Feb 09 14:42:53 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Feb 09 14:42:53 2018 |
tree | 7583ab83e001ec7fc6afbfd239067df6428be47d | |
parent | eba872843b76b3db423a3e987b93ee2c1fa97ccb [diff] |
[v8] Allow WebAssembly.compileStreaming on workers WebAssembly.compileStreaming should work both on the main thread as well as on workers. However, we did not register the callback which is required for WebAssembly.compileStreaming on the isolate of workers. With this CL we move the registration of the callback to the V8Initializer, where I think it belongs, and then register it both for the isolate of the main thread as well as for the isolate of the workers. To make this possible I moved the WasmResponseExtensions implementation from bindings/modules/... to bindings/core/... Please let me know if there is a better way to do it, I'm not too much familiar with the abstractions on the chrome side. R=haraken@chromium.org Bug: chromium:808707 Change-Id: I35fa55a8c83feebbc93f66fe85fc0580cb343068 Reviewed-on: https://chromium-review.googlesource.com/908848 Reviewed-by: Kentaro Hara <haraken@chromium.org> Reviewed-by: Ross McIlroy <rmcilroy@chromium.org> Commit-Queue: Andreas Haas <ahaas@chromium.org> Cr-Commit-Position: refs/heads/master@{#535707}
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 .