• tzik's avatar
    Reland "Do not enqueue or run a microtask on detached contexts" · a32e37ed
    tzik authored
    This is a reland of 734a6575
    
    Original change's description:
    > 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}
    
    Tbr: adamk@chromium.org, yangguo@chromium.org, verwaest@chromium.org
    Bug: v8:8124
    Change-Id: I959a18ae214f1385d5f453b3ed94772e60f71e0f
    Reviewed-on: https://chromium-review.googlesource.com/c/1469544
    Commit-Queue: Taiju Tsuiki <tzik@chromium.org>
    Reviewed-by: 's avatarBenedikt Meurer <bmeurer@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#59884}
    a32e37ed
Name
Last commit
Last update
..
api Loading commit data...
asmjs Loading commit data...
assembler Loading commit data...
base Loading commit data...
compiler Loading commit data...
compiler-dispatcher Loading commit data...
heap Loading commit data...
interpreter Loading commit data...
libplatform Loading commit data...
parser Loading commit data...
torque Loading commit data...
wasm Loading commit data...
zone Loading commit data...
BUILD.gn Loading commit data...
DEPS Loading commit data...
allocation-unittest.cc Loading commit data...
background-compile-task-unittest.cc Loading commit data...
bigint-unittest.cc Loading commit data...
cancelable-tasks-unittest.cc Loading commit data...
char-predicates-unittest.cc Loading commit data...
code-stub-assembler-unittest.cc Loading commit data...
code-stub-assembler-unittest.h Loading commit data...
conversions-unittest.cc Loading commit data...
counters-unittest.cc Loading commit data...
detachable-vector-unittest.cc Loading commit data...
eh-frame-iterator-unittest.cc Loading commit data...
eh-frame-writer-unittest.cc Loading commit data...
locked-queue-unittest.cc Loading commit data...
microtask-queue-unittest.cc Loading commit data...
object-unittest.cc Loading commit data...
register-configuration-unittest.cc Loading commit data...
run-all-unittests.cc Loading commit data...
source-position-table-unittest.cc Loading commit data...
strings-storage-unittest.cc Loading commit data...
test-helpers.cc Loading commit data...
test-helpers.h Loading commit data...
test-utils.cc Loading commit data...
test-utils.h Loading commit data...
testcfg.py Loading commit data...
unicode-unittest.cc Loading commit data...
unittests.status Loading commit data...
utils-unittest.cc Loading commit data...
value-serializer-unittest.cc Loading commit data...