[Webkit-unassigned] [Bug 57789] Move eventqueue from Document to ScriptExecutionContext so that it can be accessed from workers
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Apr 5 12:07:07 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=57789
--- Comment #17 from Dmitry Titov <dimich at chromium.org> 2011-04-05 12:07:07 PST ---
Looking at things like a tight 'dispatchEvent()' loop in EventQueue::pendingEventTimerFired(), I feel even more hesitation that this is the right move for Workers. For example, that loop will need to interact with a message loop of the Worker to figure out when to stop (perhaps looking at WorkerContext->isClosing())
We probably just need to post async events to the main Worker's MessageLoop as Tasks, rather then have a separate mechanism for queuing/dispatching storage events. We already dispatch XHR, File API, SQL DB, MessagePort and other events using this mechanism.
That would also help avoid refactoring scrolling and other Document-level implementation out of the EventQueue.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list