DescriptionOnly Microtask::performCheckpoint() if recursionLevel is 0
This maintains the invariant that microtask work (e.g. Mutation Observer callbacks) always occur on an empty page script stack.
Previously, it was possible for a microtask to fire before the outer script had exited on document.write('<script>') or showModalDialog, etc..
R=adamk@chromium.org, adamk
BUG=352181
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169770
Patch Set 1 #Patch Set 2 : dont performCheckpoint unless recursionLevel is 0 #Patch Set 3 : ws #
Total comments: 1
Patch Set 4 : sync #Patch Set 5 : add test #Patch Set 6 : return if recursionLevel > 0 #Patch Set 7 : cleanup #
Messages
Total messages: 33 (0 generated)
|