Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(465)

Issue 2773063002: [wasm] Override mechanism for wasm js APIs (Closed)

Created:
3 years, 9 months ago by Mircea Trofin
Modified:
3 years, 9 months ago
Reviewers:
bradnelson
CC:
v8-reviews_googlegroups.com, wasm-v8_google.com
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

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
Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -3 lines) Patch
M include/v8.h View 2 chunks +7 lines, -0 lines 2 comments Download
M src/api.cc View 1 chunk +12 lines, -0 lines 0 comments Download
M src/isolate.h View 1 chunk +4 lines, -0 lines 0 comments Download
M src/isolate.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/runtime/runtime-test.cc View 3 chunks +60 lines, -3 lines 2 comments Download
M src/wasm/wasm-js.cc View 4 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (9 generated)
Mircea Trofin
3 years, 9 months ago (2017-03-24 07:04:22 UTC) #7
bradnelson
lgtm w/ naming questions https://codereview.chromium.org/2773063002/diff/1/include/v8.h File include/v8.h (right): https://codereview.chromium.org/2773063002/diff/1/include/v8.h#newcode6011 include/v8.h:6011: typedef bool (*ExtensionCallback)(const FunctionCallbackInfo<Value>&); This ...
3 years, 9 months ago (2017-03-24 17:45:24 UTC) #8
Mircea Trofin
https://codereview.chromium.org/2773063002/diff/1/include/v8.h File include/v8.h (right): https://codereview.chromium.org/2773063002/diff/1/include/v8.h#newcode6011 include/v8.h:6011: typedef bool (*ExtensionCallback)(const FunctionCallbackInfo<Value>&); On 2017/03/24 17:45:24, bradnelson wrote: ...
3 years, 9 months ago (2017-03-24 17:57:56 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2773063002/1
3 years, 9 months ago (2017-03-24 17:58:07 UTC) #11
commit-bot: I haz the power
3 years, 9 months ago (2017-03-24 18:26:14 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/v8/v8/+/5fdb5a148e7759b89d09ca5eac5a24af63b...

Powered by Google App Engine
This is Rietveld 408576698