v8/test
ahaas e3c7324a2e [wasm] Check data segments for zero-sized memory.
According to the spec data segments are allowed even if the memory size
is zero. However, if one of the data segments has a length greater than
0, then module instantiation should fail.

I also changed the exception type in LoadDataSegments to TypeError,
because that's the exception type for all exceptions which can happen
during instantiation.

R=titzer@chromium.org, rossberg@chromium.org
TEST=cctest/test-run-wasm-module/EmptyMemoryEmptyDataSegment, cctest/test-run-wasm-module/EmptyMemoryNonEmptyDataSegment

Review-Url: https://codereview.chromium.org/2483053005
Cr-Commit-Position: refs/heads/master@{#40922}
2016-11-11 13:03:50 +00:00
..
benchmarks
cctest [wasm] Check data segments for zero-sized memory. 2016-11-11 13:03:50 +00:00
common [wasm] Move all heap-allocated WASM structures into wasm-objects.h. 2016-11-11 11:13:17 +00:00
debugger [debug-wrapper] Conditional breaks, locals, evaluate, scopes 2016-11-11 12:08:34 +00:00
fuzzer [wasm] Fix -Wsign-compare warnings. 2016-11-10 12:51:05 +00:00
inspector Revert of Compiling an array literal should be context-independent. (patchset #5 id:80001 of https://codereview.chromium.org/2479123002/ ) 2016-11-10 17:48:54 +00:00
intl [wasm] asm.js: Add asm_wasm variant to test asm.js->wasm pipeline. 2016-09-19 23:57:13 +00:00
js-perf-test Add spread call micro-benchmarks. 2016-11-08 14:17:18 +00:00
memory
message [parsing] When failing due to variable redeclaration, point at the variable. 2016-10-27 11:03:47 +00:00
mjsunit [ic] Fix elements conversion in KeyedStoreGeneric 2016-11-11 13:02:10 +00:00
mozilla Skip some mozilla tests on turbofan_opt as they consistently timeout 2016-10-07 22:41:42 +00:00
preparser
promises-aplus
simdjs [test] Deprecate test data download for most test suites 2016-08-08 12:39:48 +00:00
test262 Remove the 'caller' property from the strict-mode arguments map 2016-11-04 14:30:29 +00:00
unittests [ignition] Fix more -Wsign-compare warnings. 2016-11-11 12:13:12 +00:00
webkit Remove always-true --harmony-restrictive-declarations flag 2016-11-04 18:50:41 +00:00
bot_default.gyp Add inspector tests to default tests to run locally. 2016-11-04 08:50:07 +00:00
bot_default.isolate [debugger] basic test infrastructure for new debugger test api. 2016-10-21 06:38:05 +00:00
BUILD.gn Add inspector tests to default tests to run locally. 2016-11-04 08:50:07 +00:00
default.gyp Add inspector tests to default tests to run locally. 2016-11-04 08:50:07 +00:00
default.isolate Add inspector tests to default tests to run locally. 2016-11-04 08:50:07 +00:00
optimize_for_size.gyp
optimize_for_size.isolate [debugger] basic test infrastructure for new debugger test api. 2016-10-21 06:38:05 +00:00
perf.gyp
perf.isolate [test] Isolate files the perf runner depends on 2016-11-08 10:25:13 +00:00