v8/test
Andreas Haas 5f105141d5 [wasm] During instantiation, pending_exceptions dominate new exceptions
For async instantiation of WebAssembly code we had the assumption that
a pending exceptions (an exception which comes from
execution JS code) and an ErrorThrower error cannot occur at the same
time. This assumption turned out to be wrong. With this CL we handle
this case by prefering pending_exceptions over ErrorThrower errors.

In addition I extended the tests for failing instantiation to also
exercise async instantiation, and I added a regression test.

R=clemensh@chromium.org

Bug: chromium:870646
Change-Id: I4cb54ff8642ad4ea193b20f79905c9f6508c2b2e
Reviewed-on: https://chromium-review.googlesource.com/1163511
Reviewed-by: Clemens Hammacher <clemensh@chromium.org>
Commit-Queue: Andreas Haas <ahaas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#54940}
2018-08-07 10:44:12 +00:00
..
benchmarks Reland "[build] Remove legacy isolate configurations" 2018-03-28 12:36:55 +00:00
cctest [test] Improve test coverage for Object::GetPropertyNames 2018-08-07 07:47:06 +00:00
common [arm][arm64] Fix TurboAssembler tests for hard aborts 2018-07-26 09:12:58 +00:00
debugger [tests] Mark debug/es6/debug-scope-default-param-with-eval as CRASH 2018-07-24 09:45:57 +00:00
fuzzer [wasm][fuzzer] Generate more and longer sequences 2018-08-06 14:58:05 +00:00
inspector [utils] Change ReadFile interface 2018-07-31 08:59:00 +00:00
intl Accept Etc/GMT* as a valid time zone id. 2018-08-02 23:23:56 +00:00
js-perf-test Add benchmarks for comparing spread literal with copying schemes for arrays 2018-08-06 13:32:57 +00:00
memory [builtins] Add embedded stats to --serialization-statistics 2018-07-05 12:33:26 +00:00
message [wasm] Make the output of --wasm-trace-memory more understandable 2018-07-19 09:49:36 +00:00
mjsunit [wasm] During instantiation, pending_exceptions dominate new exceptions 2018-08-07 10:44:12 +00:00
mkgrokdump [explicit isolates] Move remaining roots to ReadOnyRoots 2018-07-03 15:26:04 +00:00
mozilla Roll ICU to ICU 62.1 2018-07-11 10:24:26 +00:00
preparser Reland "[build] Remove legacy isolate configurations" 2018-03-28 12:36:55 +00:00
test262 Fix Array lastIndexOf to call [[HasProperty]] before [[Get]] 2018-08-03 08:45:55 +00:00
torque [torque] forbid brace-free if-else 2018-08-03 10:36:30 +00:00
unittests MIPS: Disable Word32SarWithWord32Shl on MIPSr1 2018-08-07 09:27:17 +00:00
wasm-spec-tests [wasm] Update spec tests 2018-07-26 09:54:02 +00:00
webkit [test] Skip slow tests 2018-05-23 14:14:34 +00:00
BUILD.gn Reland "Update GN configs for v8_perf target to allow running perf tests in swarming" 2018-07-17 08:40:17 +00:00