v8/test
tzik a487167ca1 Cancel EnqueueMicrotask on detached contexts
Context::microtask_context can be null after v8::Context::DetachGlobal
is called, and that should cancel microtasks that are associated to
the detached context.
However, there are several callers left without the null check to the
microtask queue, and that causes crashes.

This CL adds the null check and cancellation as the crash fix.

Bug: chromium:937784
Change-Id: Ie8d107f28f200cee6e75798e3f72c5ed7a2a461c
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1545139
Commit-Queue: Taiju Tsuiki <tzik@chromium.org>
Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#60623}
2019-04-04 07:10:11 +00:00
..
benchmarks Reland "Preparing v8 to use with python3 /test" 2019-03-20 09:56:06 +00:00
cctest [Intl] Cutting 43K by removing Unibrow when ICU available 2019-04-03 17:58:51 +00:00
common [wasm] Use engine's allocator consistently 2019-04-03 14:33:30 +00:00
debugger Reland "[debug] Mark toLocaleString and TA#join builtins as side-effect free." 2019-04-02 18:47:12 +00:00
fuzzer [wasm] Use engine's allocator consistently 2019-04-03 14:33:30 +00:00
inspector [cleanup] Replace underscore by minus in d8 flags 2019-04-03 12:32:08 +00:00
intl [Intl] Cutting 43K by removing Unibrow when ICU available 2019-04-03 17:58:51 +00:00
js-perf-test [js-perf-test] Add more WeakMap perf tests 2019-03-25 10:47:29 +00:00
memory [snapshot] Remove the builtins snapshot 2018-10-31 10:18:28 +00:00
message [parser] Improve parse error message for missing name in FunctionDeclaration 2019-03-20 16:46:29 +00:00
mjsunit [await] Add async iterator tests for await optimization 2019-04-03 17:42:51 +00:00
mkgrokdump Make mkgrokdump depend on the page size 2019-03-18 17:49:48 +00:00
mozilla [torque]: Allow const-qualified struct and class fields 2019-04-03 10:55:33 +00:00
preparser [test] Don't test jitless without embedded-builtins 2019-02-26 14:33:01 +00:00
test262 Update test262. 2019-04-03 17:37:41 +00:00
torque [torque] named arguments for constructors 2019-04-04 06:26:51 +00:00
unittests Cancel EnqueueMicrotask on detached contexts 2019-04-04 07:10:11 +00:00
wasm-js [testrunner] handle timeout param in file 2019-02-27 17:49:17 +00:00
wasm-spec-tests [wasm] Update core spec tests 2019-03-28 15:25:12 +00:00
webkit [parser] Improve parse error message for missing name in FunctionDeclaration 2019-03-20 16:46:29 +00:00
BUILD.gn Add target for common test headers 2019-02-12 09:30:01 +00:00
OWNERS Make tmrts an infra OWNER 2019-02-15 09:02:24 +00:00