[Webkit-unassigned] [Bug 222746] IDBTransaction is closed prematurely if a microtask is awaited after opening the transaction under some circumstances
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Mar 8 10:09:11 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=222746
Chris Dumez <cdumez at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ggaren at apple.com,
| |keith_miller at apple.com,
| |ysuzuki at apple.com
--- Comment #1 from Chris Dumez <cdumez at apple.com> ---
The IDBTransaction constructor uses this:
vm.whenIdle([protectedThis = makeRef(*this)]() {
protectedThis->deactivate();
});
It seems our lambda is getting called prematurely here because the JS is using await on a setTimeout.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210308/65d79790/attachment.htm>
More information about the webkit-unassigned
mailing list