DescriptionMake dispatchIfAlive ensure the life of its queue.
This is a speculative attempt to fix Issue 456636.
CustomElementSyncMicrotaskRunQueue::dispatchIfAlive checks that the
object is alive when it starts running callbacks, but doesn't ensure
the object lives for the duration of the callbacks. Since the
callbacks can run author JavaScript, the assumption that whatever kept
the object alive will continue to do so might be too optimistic.
Additionally, strengthen the assertion that queue processing is
non-reentrant.
BUG=456636
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=190720
Patch Set 1 #
Messages
Total messages: 6 (2 generated)
|