Changeset 160515 in webkit


Ignore:
Timestamp:
Dec 12, 2013 4:18:47 PM (10 years ago)
Author:
Chris Fleizach
Message:

AX: HANG: virginamerica.com: Pressing the print button on the boarding pass page locks up VoiceOver and Safari.
https://bugs.webkit.org/show_bug.cgi?id=125603

Reviewed by Anders Carlsson.

Allow the print dialog to spin its run loop while accessibility is enabled so that VoiceOver does not hang on the WebProcess.

  • WebProcess/WebCoreSupport/WebChromeClient.cpp:

(WebKit::WebChromeClient::print):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r160513 r160515  
     12013-12-12  Chris Fleizach  <cfleizach@apple.com>
     2
     3        AX: HANG: virginamerica.com: Pressing the print button on the boarding pass page locks up VoiceOver and Safari.
     4        https://bugs.webkit.org/show_bug.cgi?id=125603
     5
     6        Reviewed by Anders Carlsson.
     7
     8        Allow the print dialog to spin its run loop while accessibility is enabled so that VoiceOver does not hang on the WebProcess.
     9
     10        * WebProcess/WebCoreSupport/WebChromeClient.cpp:
     11        (WebKit::WebChromeClient::print):
     12
    1132013-12-12  Jaehun Lim  <ljaehun.lim@samsung.com>
    214
  • trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.cpp

    r159882 r160515  
    590590    ASSERT(webFrame);
    591591
    592     m_page->sendSync(Messages::WebPageProxy::PrintFrame(webFrame->frameID()), Messages::WebPageProxy::PrintFrame::Reply());
     592    unsigned syncSendFlags = (WebCore::AXObjectCache::accessibilityEnabled()) ? CoreIPC::SpinRunLoopWhileWaitingForReply : 0;
     593    m_page->sendSync(Messages::WebPageProxy::PrintFrame(webFrame->frameID()), Messages::WebPageProxy::PrintFrame::Reply(), CoreIPC::Connection::NoTimeout, syncSendFlags);
    593594}
    594595
Note: See TracChangeset for help on using the changeset viewer.