Changeset 160866 in webkit
- Timestamp:
- Dec 19, 2013, 3:32:50 PM (11 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r160862 r160866 1 2013-12-19 Alexey Proskuryakov <ap@apple.com> 2 3 REGRESSION (r160515): Frequent assertion failures on printing/print-close-crash.html 4 https://bugs.webkit.org/show_bug.cgi?id=126014 5 6 Rolled out r160515 while Chris is investigating. Added FIXME comments in other 7 places where we use this pattern. 8 9 * WebProcess/WebCoreSupport/WebChromeClient.cpp: 10 (WebKit::WebChromeClient::runJavaScriptAlert): 11 (WebKit::WebChromeClient::runJavaScriptConfirm): 12 (WebKit::WebChromeClient::runJavaScriptPrompt): 13 (WebKit::WebChromeClient::print): 14 * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: 15 (WebKit::WebFrameLoaderClient::dispatchDecidePolicyForResponse): 16 1 17 2013-12-19 Ricky Mondello <rmondello@apple.com> 2 18 -
trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.cpp
r160515 r160866 349 349 m_page->injectedBundleUIClient().willRunJavaScriptAlert(m_page, alertText, webFrame); 350 350 351 // FIXME (126021): It is not good to change IPC behavior conditionally, and SpinRunLoopWhileWaitingForReply was known to cause trouble in other similar cases. 351 352 unsigned syncSendFlags = (WebCore::AXObjectCache::accessibilityEnabled()) ? CoreIPC::SpinRunLoopWhileWaitingForReply : 0; 352 353 WebProcess::shared().parentProcessConnection()->sendSync(Messages::WebPageProxy::RunJavaScriptAlert(webFrame->frameID(), alertText), Messages::WebPageProxy::RunJavaScriptAlert::Reply(), m_page->pageID(), CoreIPC::Connection::NoTimeout, syncSendFlags); … … 362 363 m_page->injectedBundleUIClient().willRunJavaScriptConfirm(m_page, message, webFrame); 363 364 365 // FIXME (126021): It is not good to change IPC behavior conditionally, and SpinRunLoopWhileWaitingForReply was known to cause trouble in other similar cases. 364 366 unsigned syncSendFlags = (WebCore::AXObjectCache::accessibilityEnabled()) ? CoreIPC::SpinRunLoopWhileWaitingForReply : 0; 365 367 bool result = false; … … 379 381 m_page->injectedBundleUIClient().willRunJavaScriptPrompt(m_page, message, defaultValue, webFrame); 380 382 383 // FIXME (126021): It is not good to change IPC behavior conditionally, and SpinRunLoopWhileWaitingForReply was known to cause trouble in other similar cases. 381 384 unsigned syncSendFlags = (WebCore::AXObjectCache::accessibilityEnabled()) ? CoreIPC::SpinRunLoopWhileWaitingForReply : 0; 382 385 if (!WebProcess::shared().parentProcessConnection()->sendSync(Messages::WebPageProxy::RunJavaScriptPrompt(webFrame->frameID(), message, defaultValue), Messages::WebPageProxy::RunJavaScriptPrompt::Reply(result), m_page->pageID(), CoreIPC::Connection::NoTimeout, syncSendFlags)) … … 590 593 ASSERT(webFrame); 591 594 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); 595 m_page->sendSync(Messages::WebPageProxy::PrintFrame(webFrame->frameID()), Messages::WebPageProxy::PrintFrame::Reply()); 594 596 } 595 597 -
trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp
r160495 r160866 648 648 649 649 // Notify the UIProcess. 650 // FIXME (126021): It is not good to change IPC behavior conditionally, and SpinRunLoopWhileWaitingForReply was known to cause trouble in other similar cases. 650 651 unsigned syncSendFlags = (WebCore::AXObjectCache::accessibilityEnabled()) ? CoreIPC::SpinRunLoopWhileWaitingForReply : 0; 651 652 if (!webPage->sendSync(Messages::WebPageProxy::DecidePolicyForResponseSync(m_frame->frameID(), response, request, canShowMIMEType, listenerID, InjectedBundleUserMessageEncoder(userData.get())), Messages::WebPageProxy::DecidePolicyForResponseSync::Reply(receivedPolicyAction, policyAction, downloadID), CoreIPC::Connection::NoTimeout, syncSendFlags))
Note:
See TracChangeset
for help on using the changeset viewer.