Changeset 236492 in webkit
- Timestamp:
- Sep 25, 2018, 6:27:54 PM (8 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 4 edited
-
ChangeLog (modified) (1 diff)
-
UIProcess/WebPageProxy.cpp (modified) (1 diff)
-
WebProcess/WebPage/WebFrame.cpp (modified) (2 diffs)
-
WebProcess/WebProcess.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r236491 r236492 1 2018-09-25 Chris Dumez <cdumez@apple.com> 2 3 Unreviewed, rolling out r236471 and r236480. 4 5 Seems to be causing some flaky crashes 6 7 Reverted changesets: 8 9 "UIProcess should process incoming sync IPC from WebProcess 10 when waiting for a sync IPC reply from it" 11 https://bugs.webkit.org/show_bug.cgi?id=189927 12 https://trac.webkit.org/changeset/236471 13 14 "Revert some of the changes in r236471" 15 https://bugs.webkit.org/show_bug.cgi?id=189973 16 https://trac.webkit.org/changeset/236480 17 1 18 2018-09-25 Conrad Shultz <conrad_shultz@apple.com> 2 19 -
trunk/Source/WebKit/UIProcess/WebPageProxy.cpp
r236485 r236492 4014 4014 m_pageLoadState.clearPendingAPIRequestURL(transaction); 4015 4015 4016 auto* frame = m_process->webFrame(frameID);4016 WebFrameProxy* frame = m_process->webFrame(frameID); 4017 4017 MESSAGE_CHECK(frame); 4018 4018 MESSAGE_CHECK_URL(request.url()); -
trunk/Source/WebKit/WebProcess/WebPage/WebFrame.cpp
r236480 r236492 112 112 { 113 113 auto frame = create(std::unique_ptr<WebFrameLoaderClient>(static_cast<WebFrameLoaderClient*>(&coreFrame->loader().client()))); 114 // DispatchMessageEvenWhenWaitingForSyncReply SendOption is needed to ensure that this IPC always gets received before the DecidePolicyForNavigationSync synchronous115 // IPC for this frame.116 114 page->send(Messages::WebPageProxy::DidCreateMainFrame(frame->frameID()), page->pageID(), IPC::SendOption::DispatchMessageEvenWhenWaitingForSyncReply); 117 115 … … 125 123 { 126 124 auto frame = create(std::make_unique<WebFrameLoaderClient>()); 127 // DispatchMessageEvenWhenWaitingForSyncReply SendOption is needed to ensure that this IPC always gets received before the DecidePolicyForNavigationSync synchronous128 // IPC for this frame.129 125 page->send(Messages::WebPageProxy::DidCreateSubframe(frame->frameID()), page->pageID(), IPC::SendOption::DispatchMessageEvenWhenWaitingForSyncReply); 130 126 -
trunk/Source/WebKit/WebProcess/WebProcess.cpp
r236485 r236492 252 252 253 253 m_webConnection = WebConnectionToUIProcess::create(this); 254 255 // In order to ensure that the asynchronous messages that are used for notifying the UI process 256 // about when WebFrame objects come and go are always delivered before the synchronous policy messages, 257 // use this flag to force synchronous messages to be treated as asynchronous messages in the UI process 258 // unless when doing so would lead to a deadlock. 259 connection->setOnlySendMessagesAsDispatchWhenWaitingForSyncReplyWhenProcessingSuchAMessage(true); 254 260 } 255 261
Note:
See TracChangeset
for help on using the changeset viewer.