v8/test
tzik 734a657522 Do not enqueue or run a microtask on detached contexts
This CL disables EnqueueMicrotask and RunMicrotasks on detached
contexts. That is, if an embedder call DetachGlobal() on a v8::Context,
EnqueueMicrotask on that context will not take effect, and all Microtask
that is enqueued before DetachGlobal will be cancelled.

On Blink, this implies that a frame will no longer run a microtask after
it's navigated away. OTOH, detached frames in Blink are not affected.

Bug: v8:8124
Change-Id: I5b00ceef5ea2afb87cf067a65eb95c29bf91176d
Reviewed-on: https://chromium-review.googlesource.com/c/1416071
Reviewed-by: Toon Verwaest <verwaest@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
Reviewed-by: Adam Klein <adamk@chromium.org>
Commit-Queue: Taiju Tsuiki <tzik@chromium.org>
Cr-Commit-Position: refs/heads/master@{#59445}
2019-02-08 05:59:16 +00:00
..
benchmarks Reland "Reland "[test] refactor testsuite configuration"" 2019-02-06 09:02:09 +00:00
cctest [cleanup] Move Code class out of objects.cc 2019-02-07 12:37:06 +00:00
common [wasm][anyref] Implement decoding of table.get and table.set 2019-02-07 14:45:38 +00:00
debugger Reland "Reland "[test] refactor testsuite configuration"" 2019-02-06 09:02:09 +00:00
fuzzer Reland "Reland "[test] refactor testsuite configuration"" 2019-02-06 09:02:09 +00:00
inspector Reland "Reland "[test] refactor testsuite configuration"" 2019-02-06 09:02:09 +00:00
intl Reland "Reland "[test] refactor testsuite configuration"" 2019-02-06 09:02:09 +00:00
js-perf-test [Intl] Add perf test for Intl constructors 2019-02-07 01:08:12 +00:00
memory [snapshot] Remove the builtins snapshot 2018-10-31 10:18:28 +00:00
message Reland "Reland "[test] refactor testsuite configuration"" 2019-02-06 09:02:09 +00:00
mjsunit [wasm] Check that sync and async errors match 2019-02-07 16:41:47 +00:00
mkgrokdump Reland "Reland "[test] refactor testsuite configuration"" 2019-02-06 09:02:09 +00:00
mozilla Reland "Reland "[test] refactor testsuite configuration"" 2019-02-06 09:02:09 +00:00
preparser Reland "Reland "[test] refactor testsuite configuration"" 2019-02-06 09:02:09 +00:00
test262 Reland "Reland "[test] refactor testsuite configuration"" 2019-02-06 09:02:09 +00:00
torque [torque] avoid dangerous == overloads with WordEqual 2019-02-07 11:18:30 +00:00
unittests Do not enqueue or run a microtask on detached contexts 2019-02-08 05:59:16 +00:00
wasm-js Reland "Reland "[test] refactor testsuite configuration"" 2019-02-06 09:02:09 +00:00
wasm-spec-tests Reland "Reland "[test] refactor testsuite configuration"" 2019-02-06 09:02:09 +00:00
webkit Reland "Reland "[test] refactor testsuite configuration"" 2019-02-06 09:02:09 +00:00
BUILD.gn Reland "[wasm] Add a new wasm-js testsuite to run js-api tests" 2018-10-18 20:18:55 +00:00