• ahaas's avatar
    [wasm] Do a proper HasProperty() check in the memory and table setup. · 7bffaaac
    ahaas authored
    The WebAssembly spec requires a HasProperty() check for the maximum
    property of the descriptor object which is used to set up a
    WebAssembly.Memory object or a WebAssembly.Table object.
    
    The original implementation only approximated the HasProperty() check.
    It used Get() to get the value of the maximum property of the descriptor
    object and compared the resulting value to {undefined}. However, this
    approximation is incorrect if the property exists but its value is
    {undefined}.
    
    R=titzer@chromium.org, franzih@chromium.org
    BUG=chromium:649461
    TEST=mjsunit/wasm/memory
    
    Review-Url: https://codereview.chromium.org/2367673003
    Cr-Commit-Position: refs/heads/master@{#39722}
    7bffaaac
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
fuzzer Loading commit data...
inspector_protocol_parser_test 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...
optimize_for_size.gyp Loading commit data...
optimize_for_size.isolate Loading commit data...
perf.gyp Loading commit data...
perf.isolate Loading commit data...