v8/test/mjsunit/regress/wasm
Andreas Haas 1016e6257d [d8] Run the message loop in the same RealmScope as the script
In d8 a script is executed in a RealmScope. However, all micro task
which are created by the script are not executed within the RealmScope
at the moment. With this CL I move the execution of the micro task into
the RealmScope.

I thought about creating a new RealmScope for the micro tasks, but
(1) It did not fix the crashing repro;
(2) It seems wrong that the micro tasks are executed in a different
    realm than the script;

Therefore I just moved the execution of the micro tasks into the
RealmScope of the script.

Thereby I moved the execution tasks also into the Context::Scope of the
script. The problem is that the Context::Scope surrounds the RealmScope,
and when I to open the RealmScope before the Context::Scope, not even
the execution of the script works anymore.

R=yangguo@chromium.org

Bug: chromium:797846
Change-Id: If152af282beec8f0b0564dcc9682fee8588e142c
Reviewed-on: https://chromium-review.googlesource.com/856497
Reviewed-by: Yang Guo <yangguo@chromium.org>
Commit-Queue: Andreas Haas <ahaas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#50442}
2018-01-09 13:51:41 +00:00
..
loop-stack-check.js
regress-5531.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-5800.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-5860.js
regress-5884.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-6054.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-6164.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-6931.js [wasm] add a test for accidental sign extension 2017-10-19 04:09:21 +00:00
regress-7033.js [Liftoff] Fix binop code generation bug 2017-11-06 11:45:44 +00:00
regress-7035.js [Liftoff] Fix register reuse in merge init 2017-11-06 17:35:07 +00:00
regress-7049.js [wasm] Mark C_WASM_ENTRY as no tagged_params 2017-11-08 12:55:17 +00:00
regress-02256.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-02256b.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-02862.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-643595.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-644682.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-647649.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-648079.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-651961.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-654377.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-663994.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-666741.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-667745.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-670683.js Revert "[test] Refactor assertPromiseResult" 2017-10-25 14:42:25 +00:00
regress-674447.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-680938.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-684858.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-688876.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-689450.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-694433.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-698587.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-699485.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-702460.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-702839.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-703568.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-708714.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-709684.js Revert "[test] Refactor assertPromiseResult" 2017-10-25 14:42:25 +00:00
regress-710844.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-711203.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-712569.js
regress-715216a.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-715216b.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-717056.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-717194.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-719175.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-722445.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-724846.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-724851.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-724972.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-727219.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-727222.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-727560.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-729991.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-731351.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-734108.js Revert "[test] Refactor assertPromiseResult" 2017-10-25 14:42:25 +00:00
regress-734246.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-734345.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-736584.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-737069.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-739768.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-752423.js
regress-753496.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-757217.js Revert "[test] Refactor assertPromiseResult" 2017-10-25 14:42:25 +00:00
regress-763439.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-763697.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-766003.js [wasm] Add regression tests for some recently fixed WasmInterpreter issues. 2017-10-17 12:04:40 +00:00
regress-769846.js [test] Shorten regression-*.js filenames to regress-*.js 2017-10-17 11:13:26 +00:00
regress-771243.js [wasm] Add regression tests for some recently fixed WasmInterpreter issues. 2017-10-17 12:04:40 +00:00
regress-772332.js [wasm] Add regression tests for some recently fixed WasmInterpreter issues. 2017-10-17 12:04:40 +00:00
regress-775366.js g# Enter a description of the change. 2017-10-20 14:00:34 +00:00
regress-775710.js [asm.js] Limit number of local variables 2017-10-25 12:45:36 +00:00
regress-776677.js [wasm] Fix Memory.grow when shared with asm.js modules 2017-10-23 15:49:03 +00:00
regress-778917.js [wasm] Improve stack check in the interpreter 2017-11-02 10:10:27 +00:00
regress-782280.js Reland "[Liftoff] Implement parallel register moves" 2017-11-10 12:18:08 +00:00
regress-784050.js [Liftoff] Don't force unrelated stack slots into registers 2017-11-16 17:34:17 +00:00
regress-789952.js Reland "[wasm] Gracefully handle malformed custom sections in WebAssembly.Module.customSections()." 2017-12-01 14:39:57 +00:00
regress-791810.js [Liftoff] Fix cache state initialization 2017-12-07 10:51:46 +00:00
regress-793551.js [Liftoff] Fix redundant register moves 2017-12-11 13:47:02 +00:00
regress-797846.js [d8] Run the message loop in the same RealmScope as the script 2018-01-09 13:51:41 +00:00