Changeset 87170 in webkit


Ignore:
Timestamp:
May 24, 2011 10:53:49 AM (13 years ago)
Author:
weinig@apple.com
Message:

2011-05-24 Sam Weinig <sam@webkit.org>

Reviewed by John Sullivan.

WebKit tells client that the page has become unresponsive while the beforeUnloadConfirm dialog is up
https://bugs.webkit.org/show_bug.cgi?id=61372

  • UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::runBeforeUnloadConfirmPanel): Stop the unresponsiveness timer like we do for other client functions that spin a runloop.
Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r87160 r87170  
     12011-05-24  Sam Weinig  <sam@webkit.org>
     2
     3        Reviewed by John Sullivan.
     4
     5        WebKit tells client that the page has become unresponsive while the beforeUnloadConfirm dialog is up
     6        https://bugs.webkit.org/show_bug.cgi?id=61372
     7
     8        * UIProcess/WebPageProxy.cpp:
     9        (WebKit::WebPageProxy::runBeforeUnloadConfirmPanel):
     10        Stop the unresponsiveness timer like we do for other client functions that spin a
     11        runloop.
     12
    1132011-05-24  Andreas Kling  <kling@webkit.org>
    214
  • trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp

    r87093 r87170  
    20582058    MESSAGE_CHECK(frame);
    20592059
     2060    // Since runBeforeUnloadConfirmPanel() can spin a nested run loop we need to turn off the responsiveness timer.
     2061    process()->responsivenessTimer()->stop();
     2062
    20602063    shouldClose = m_uiClient.runBeforeUnloadConfirmPanel(this, message, frame);
    20612064}
Note: See TracChangeset for help on using the changeset viewer.