REGRESSION(r192834): [GTK] Test /webkit2/WebKitWebView/editor-state/typing-attributes...
authorcarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 1 Dec 2015 17:40:31 +0000 (17:40 +0000)
committercarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 1 Dec 2015 17:40:31 +0000 (17:40 +0000)
https://bugs.webkit.org/show_bug.cgi?id=151699

Reviewed by Tim Horton.

In r192834 the code to send EditorStateChanged message to the UI
process from WebPage::didChangeSelection was removed for non-mac
ports.

* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::didChangeSelection): Send EditorStateChanged
message to the UI process also for non-mac ports, as before r192834.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@192888 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/WebProcess/WebPage/WebPage.cpp

index 6418566..ed21cf0 100644 (file)
@@ -1,5 +1,20 @@
 2015-12-01  Carlos Garcia Campos  <cgarcia@igalia.com>
 
+        REGRESSION(r192834): [GTK] Test /webkit2/WebKitWebView/editor-state/typing-attributes times out after r192834
+        https://bugs.webkit.org/show_bug.cgi?id=151699
+
+        Reviewed by Tim Horton.
+
+        In r192834 the code to send EditorStateChanged message to the UI
+        process from WebPage::didChangeSelection was removed for non-mac
+        ports.
+
+        * WebProcess/WebPage/WebPage.cpp:
+        (WebKit::WebPage::didChangeSelection): Send EditorStateChanged
+        message to the UI process also for non-mac ports, as before r192834.
+
+2015-12-01  Carlos Garcia Campos  <cgarcia@igalia.com>
+
         Unreviewed. Fix timeouts in several HTTP layout tests in GTK+ after r192796.
 
         In r192796, the initialization of m_ignoreTLSErrors in
index 220c675..47375a5 100644 (file)
@@ -4480,6 +4480,8 @@ void WebPage::didChangeSelection()
         send(Messages::WebPageProxy::CompositionWasCanceled(editorState));
     } else
         send(Messages::WebPageProxy::EditorStateChanged(editorState));
+#else
+    send(Messages::WebPageProxy::EditorStateChanged(editorState), pageID(), IPC::DispatchMessageEvenWhenWaitingForSyncReply);
 #endif
 
 #if PLATFORM(IOS)