DescriptionIndexedDB: Ensure transactions created in microtasks are deactivated
The IDB spec defines that transactions are created 'active' and become
'inactive' when control returns to the event loop. The way this was
implemented, transactions created within microtasks (e.g. Promise
callbacks) were not deactivated.
Flip the order of microtasks and deactivation, and add tests.
BUG=380910
R=adamk@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175600
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175737
Patch Set 1 #
Total comments: 1
Patch Set 2 : Remove dead FIXME #Patch Set 3 : Ensure setTimeout callbacks are wrapped in t.step_func #Patch Set 4 : Remove racy assertion #
Messages
Total messages: 25 (0 generated)
|