mtrofin
f8fd6ec3dd
[wasm] JS-API: enable WebAssembly.instantiate tests; fix LinkError
...
We weren't throwing LinkError where appropriate
progress
BUG=v8:5835
Review-Url: https://codereview.chromium.org/2629523007
Cr-Commit-Position: refs/heads/master@{#42342}
2017-01-13 20:47:44 +00:00
mtrofin
7c7434085e
[wasm] JS-APIs: more WebAssembly.compile tests
...
enabled TODO-ed compile tests
BUG=v8:5833
Review-Url: https://codereview.chromium.org/2628053004
Cr-Commit-Position: refs/heads/master@{#42293}
2017-01-12 21:30:39 +00:00
rossberg
022635bf0d
Implement Instance instances correctly; fix a few error cases
...
R=titzer@chromium.org
BUG=
Review-Url: https://codereview.chromium.org/2620263003
Cr-Commit-Position: refs/heads/master@{#42288}
2017-01-12 20:32:27 +00:00
mtrofin
53137df89a
[wasm] JS APIs & memory
...
- updated WebAssembly.Instance ctor uses in our tests to match spec
- disallowing mem section *and* mem import, as per spec
BUG=v8:5824
Review-Url: https://codereview.chromium.org/2627763002
Cr-Commit-Position: refs/heads/master@{#42278}
2017-01-12 16:48:09 +00:00
titzer
bbf00d80aa
[wasm] Implement WebAssembly.Module.exports function.
...
R=rossberg@chromium.org
BUG=v8:5814,chromium:575167
Review-Url: https://codereview.chromium.org/2623183002
Cr-Commit-Position: refs/heads/master@{#42233}
2017-01-11 14:40:25 +00:00
titzer
d5a0860e87
[wasm] Implement the WebAssembly.Module.imports function.
...
R=rossberg@chromium.org
BUG=v8:5813,chromium:575167
Review-Url: https://codereview.chromium.org/2620203005
Cr-Commit-Position: refs/heads/master@{#42231}
2017-01-11 14:17:54 +00:00
mtrofin
040f7434cc
[wasm] JS API tests for WebAssembly.validate
...
Also ensuring it is validation error to specify more than
one memory import.
BUG=v8:5824
Review-Url: https://codereview.chromium.org/2624853002
Cr-Commit-Position: refs/heads/master@{#42205}
2017-01-11 00:25:09 +00:00
rossberg
8e9c90baa0
Make .prototype properties of Wasm constructors read-only
...
R=titzer@chromium.org
BUG=v8:5817
Review-Url: https://codereview.chromium.org/2620783005
Cr-Commit-Position: refs/heads/master@{#42184}
2017-01-10 15:40:57 +00:00
titzer
01c464a5af
[wasm] Set JS API names and function lengths appropriately.
...
R=clemensh@chromium.org
BUG=chromium:575167
Review-Url: https://codereview.chromium.org/2590243003
Cr-Commit-Position: refs/heads/master@{#41885}
2016-12-21 09:03:35 +00:00
titzer
6e8338865a
[wasm] Implement correct 2-level namespace for imports.
...
R=clemensh@chromium.org
CC=rossberg@chromium.org
BUG=chromium:575167
Review-Url: https://codereview.chromium.org/2591753002
Cr-Commit-Position: refs/heads/master@{#41866}
2016-12-20 15:32:56 +00:00
titzer
b6a57e6ff5
[wasm] Add js-api test and fix property details for some functions.
...
R=clemensh@chromium.org
BUG=
Review-Url: https://codereview.chromium.org/2585193004
Cr-Commit-Position: refs/heads/master@{#41817}
2016-12-19 17:19:56 +00:00