[Webkit-unassigned] [Bug 40036] New: Make WebChromeClient::closeWindowSoon work for all RunLoop modes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 1 18:19:26 PDT 2010


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

           Summary: Make WebChromeClient::closeWindowSoon work for all
                    RunLoop modes
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: prasadt at chromium.org
                CC: dimich at chromium.org, levin at chromium.org


performSelector:withObject:afterDelay method is being used to post the _closeWindow message to the queue.  Those message will only get dispatched if the RunLoop is in NSDefaultRunLoopMode.  Since RunLoop is in NSModalPanelRunLoopMode mode when a modal window is being displayed, you can't close the window.  Replaced the call with the inModes version to allow the close window message to be dispatched in all RunLoop modes.

-- 
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