-
mtrofin authored
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}
5fdb5a14