[Webkit-unassigned] [Bug 158004] Modern IDB: TransactionOperations from a worker thread might be destroyed on main thread

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 23 17:45:20 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=158004

--- Comment #2 from Brady Eidson <beidson at apple.com> ---
One idea for part of this:

All of the IDB ActiveDOMObjects guard their own "postTask" which has a guard lock around the scriptExecutionContext(). They also use that lock inside their "contextDestroyed()" observer.

That will definitely solve the first big problem - the race with the scriptExecutionContext itself existing and being active.

Then we just need to solve "the thread runloop itself may no longer be active enough to use."

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160524/36b5507b/attachment.html>


More information about the webkit-unassigned mailing list