[Webkit-unassigned] [Bug 89590] New: showModalDialog is flaky in WebKit2
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jun 20 11:45:47 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=89590
Summary: showModalDialog is flaky in WebKit2
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit2
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: beidson at apple.com
showModalDialog is flaky in WebKit2
The problem is that CoreIPC messages are randomly not handled while the modal dialog is displaying. Those messages are in the RunLoop's function queue to be handled, but they are blocked on WebPageProxy::runModal() returning.
To fix this, we have to make two changes:
1 - Change RunLoop::performWork to not copy its queue to a temporary queue but rather to pull each function off the queue one at a time.
2 - Have WebPageProxy::runModal() wake up the runloop right before calling out to the UIClient so one the nested modal runloop has been entered there's a guarantee it will wake up to handle the remaining messages.
In radar as <rdar://problem/11653784>
--
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