• rossberg's avatar
    Upgrade Wasm JS API, step 1 · 386c747b
    rossberg authored
    Implements:
    - WebAssembly object,
    - WebAssembly.Module constructor,
    - WebAssembly.Instance constructor,
    - WebAssembly.compile async method,
    - and Module and Instance instance objects.
    
    Also, changes ErrorThrower to support capturing errors in a promise reject.
    
    Since we cannot yet compile without fixing the Wasm memory, and cannot validate a module without compiling, the Module constructor and compile method don't do anything yet but checking that their argument is a suitable BufferSource. Instead of a compiled module, the hidden state of a Module object currently is just that buffer.
    
    BUG=
    
    Review-Url: https://codereview.chromium.org/2084573002
    Cr-Commit-Position: refs/heads/master@{#37143}
    386c747b
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
fuzzer Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
promises-aplus Loading commit data...
simdjs Loading commit data...
test262 Loading commit data...
unittests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
bot_default.gyp Loading commit data...
bot_default.isolate Loading commit data...
default.gyp Loading commit data...
default.isolate Loading commit data...
ignition.gyp Loading commit data...
ignition.isolate Loading commit data...
optimize_for_size.gyp Loading commit data...
optimize_for_size.isolate Loading commit data...
perf.gyp Loading commit data...
perf.isolate Loading commit data...