Changeset 236529 in webkit
- Timestamp:
- Sep 26, 2018, 3:18:25 PM (8 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
WebProcess/WebPage/WebPage.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r236523 r236529 1 2018-09-26 Chris Dumez <cdumez@apple.com> 2 3 Regression(r236512): WKWebViewCandidateTests.SoftSpaceReplacementAfterCandidateInsertionWithoutReplacement API test is failing 4 https://bugs.webkit.org/show_bug.cgi?id=190007 5 6 Reviewed by Alex Christensen. 7 8 Drop DispatchMessageEvenWhenWaitingForSyncReply SendOption from EditorStateChanged IPC calls to restore 9 pre-r236512 behavior. Before r236512, this option had no effect on IPC from the WebContent to the UIProcess 10 because the m_onlySendMessagesAsDispatchWhenWaitingForSyncReplyWhenProcessingSuchAMessage flag was set 11 on that IPC::Connection. However, after r236512, m_onlySendMessagesAsDispatchWhenWaitingForSyncReplyWhenProcessingSuchAMessage 12 is no longer set on the connection, and the DispatchMessageEvenWhenWaitingForSyncReply SendOption was 13 causing this message to get processed out of order with regards to other async IPC, thus causing the 14 API test failure. 15 16 * WebProcess/WebPage/WebPage.cpp: 17 (WebKit::WebPage::sendEditorStateUpdate): 18 (WebKit::WebPage::sendPartialEditorStateAndSchedulePostLayoutUpdate): 19 1 20 2018-09-26 Alex Christensen <achristensen@webkit.org> 2 21 -
trunk/Source/WebKit/WebProcess/WebPage/WebPage.cpp
r236497 r236529 5609 5609 // next layer tree commit to compute and send the complete EditorState over. 5610 5610 auto state = editorState(); 5611 send(Messages::WebPageProxy::EditorStateChanged(state), pageID() , IPC::SendOption::DispatchMessageEvenWhenWaitingForSyncReply);5611 send(Messages::WebPageProxy::EditorStateChanged(state), pageID()); 5612 5612 5613 5613 if (state.isMissingPostLayoutData) { … … 5645 5645 return; 5646 5646 5647 send(Messages::WebPageProxy::EditorStateChanged(editorState(IncludePostLayoutDataHint::No)), pageID() , IPC::SendOption::DispatchMessageEvenWhenWaitingForSyncReply);5647 send(Messages::WebPageProxy::EditorStateChanged(editorState(IncludePostLayoutDataHint::No)), pageID()); 5648 5648 5649 5649 if (m_hasPendingEditorStateUpdate)
Note:
See TracChangeset
for help on using the changeset viewer.