DescriptionAllow microtasks to throw exceptions and handle them gracefully
If the embedder calls V8::TerminateExecution while we're running microtasks, bail out
and clear any pending microtasks.
All other exceptions are simply swallowed. No current Blink or V8 microtasks throw, this
just ensures something sane happens if another embedder decides to pass a throwing
microtask (or if ours unexpectedly throw due to, e.g., stack exhaustion).
BUG=371566
LOG=Y
R=mstarzinger@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=21574
Patch Set 1 #
Total comments: 2
Patch Set 2 : Different approach, still need to write thread termination test #Patch Set 3 : Added termination test #Patch Set 4 : Use TryCall to swallow exceptions #
Total comments: 5
Patch Set 5 : Use existing Suppression scope #
Messages
Total messages: 17 (0 generated)
|