Description[wasm] Override mechanism for wasm js APIs
V8 side mechanism for overriding the wasm js APIs.
We will use these to:
- implement the Chrome-side constraints on module size, and throw with more
actionable error messages, while preserving layering.
The old mechansms will be deleted once we update the Chrome side with
this new mechanism.
- implement Chrome-side .compile and .instantiate overrides accepting
Response objects.
We may want to evolve this mechanism into something more general, not
requiring V8 preparation, by replacing the v8-definition with embedder
provided definitions. We're currently exploring if we can expand
"Extras", for instance.
BUG=
Review-Url: https://codereview.chromium.org/2773063002
Cr-Commit-Position: refs/heads/master@{#44119}
Committed: https://chromium.googlesource.com/v8/v8/+/5fdb5a148e7759b89d09ca5eac5a24af63bdd125
Patch Set 1 #
Total comments: 4
Messages
Total messages: 14 (9 generated)
|