Title: [237300] trunk/Source/WebKit
Revision
237300
Author
[email protected]
Date
2018-10-19 14:12:24 -0700 (Fri, 19 Oct 2018)

Log Message

Mark LegacySync IPC messages
https://bugs.webkit.org/show_bug.cgi?id=190759

Reviewed by Tim Horton.

* NetworkProcess/NetworkConnectionToWebProcess.messages.in:
* NetworkProcess/NetworkProcess.messages.in:
* NetworkProcess/ServiceWorker/WebSWServerConnection.messages.in:
* Platform/IPC/HandleMessage.h:
(IPC::handleMessageLegacySync):
* PluginProcess/PluginControllerProxy.messages.in:
* Scripts/webkit/messages.py:
* Shared/Plugins/NPObjectMessageReceiver.messages.in:
* UIProcess/ApplePay/WebPaymentCoordinatorProxy.messages.in:
* UIProcess/Cocoa/UserMediaCaptureManagerProxy.messages.in:
* UIProcess/Plugins/PluginProcessProxy.messages.in:
* UIProcess/WebFullScreenManagerProxy.messages.in:
* UIProcess/WebPageProxy.messages.in:
* UIProcess/WebPasteboardProxy.messages.in:
* UIProcess/WebProcessPool.messages.in:
* UIProcess/WebProcessProxy.messages.in:
* UIProcess/WebStorage/StorageManager.messages.in:
* UIProcess/mac/SecItemShimProxy.messages.in:
* WebProcess/Plugins/PluginProcessConnection.messages.in:
* WebProcess/Plugins/PluginProxy.messages.in:
* WebProcess/WebPage/WebPage.messages.in:
* WebProcess/WebProcess.messages.in:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (237299 => 237300)


--- trunk/Source/WebKit/ChangeLog	2018-10-19 20:38:11 UTC (rev 237299)
+++ trunk/Source/WebKit/ChangeLog	2018-10-19 21:12:24 UTC (rev 237300)
@@ -1,5 +1,35 @@
 2018-10-19  Alex Christensen  <[email protected]>
 
+        Mark LegacySync IPC messages
+        https://bugs.webkit.org/show_bug.cgi?id=190759
+
+        Reviewed by Tim Horton.
+
+        * NetworkProcess/NetworkConnectionToWebProcess.messages.in:
+        * NetworkProcess/NetworkProcess.messages.in:
+        * NetworkProcess/ServiceWorker/WebSWServerConnection.messages.in:
+        * Platform/IPC/HandleMessage.h:
+        (IPC::handleMessageLegacySync):
+        * PluginProcess/PluginControllerProxy.messages.in:
+        * Scripts/webkit/messages.py:
+        * Shared/Plugins/NPObjectMessageReceiver.messages.in:
+        * UIProcess/ApplePay/WebPaymentCoordinatorProxy.messages.in:
+        * UIProcess/Cocoa/UserMediaCaptureManagerProxy.messages.in:
+        * UIProcess/Plugins/PluginProcessProxy.messages.in:
+        * UIProcess/WebFullScreenManagerProxy.messages.in:
+        * UIProcess/WebPageProxy.messages.in:
+        * UIProcess/WebPasteboardProxy.messages.in:
+        * UIProcess/WebProcessPool.messages.in:
+        * UIProcess/WebProcessProxy.messages.in:
+        * UIProcess/WebStorage/StorageManager.messages.in:
+        * UIProcess/mac/SecItemShimProxy.messages.in:
+        * WebProcess/Plugins/PluginProcessConnection.messages.in:
+        * WebProcess/Plugins/PluginProxy.messages.in:
+        * WebProcess/WebPage/WebPage.messages.in:
+        * WebProcess/WebProcess.messages.in:
+
+2018-10-19  Alex Christensen  <[email protected]>
+
         Update and add python tests after r237294
         https://bugs.webkit.org/show_bug.cgi?id=190746
 

Modified: trunk/Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.messages.in (237299 => 237300)


--- trunk/Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.messages.in	2018-10-19 20:38:11 UTC (rev 237299)
+++ trunk/Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.messages.in	2018-10-19 21:12:24 UTC (rev 237300)
@@ -34,11 +34,11 @@
     StartDownload(PAL::SessionID sessionID, WebKit::DownloadID downloadID, WebCore::ResourceRequest request, String suggestedName)
     ConvertMainResourceLoadToDownload(PAL::SessionID sessionID, uint64_t mainResourceLoadIdentifier, WebKit::DownloadID downloadID, WebCore::ResourceRequest request, WebCore::ResourceResponse response)
 
-    CookiesForDOM(PAL::SessionID sessionID, WebCore::URL firstParty, struct WebCore::SameSiteInfo sameSiteInfo, WebCore::URL url, std::optional<uint64_t> frameID, std::optional<uint64_t> pageID, enum:bool WebCore::IncludeSecureCookies includeSecureCookies) -> (String cookieString, bool didAccessSecureCookies)
+    CookiesForDOM(PAL::SessionID sessionID, WebCore::URL firstParty, struct WebCore::SameSiteInfo sameSiteInfo, WebCore::URL url, std::optional<uint64_t> frameID, std::optional<uint64_t> pageID, enum:bool WebCore::IncludeSecureCookies includeSecureCookies) -> (String cookieString, bool didAccessSecureCookies) LegacySync
     SetCookiesFromDOM(PAL::SessionID sessionID, WebCore::URL firstParty, struct WebCore::SameSiteInfo sameSiteInfo, WebCore::URL url, std::optional<uint64_t> frameID, std::optional<uint64_t> pageID, String cookieString)
-    CookiesEnabled(PAL::SessionID sessionID) -> (bool enabled)
-    CookieRequestHeaderFieldValue(PAL::SessionID sessionID, WebCore::URL firstParty, struct WebCore::SameSiteInfo sameSiteInfo, WebCore::URL url, std::optional<uint64_t> frameID, std::optional<uint64_t> pageID, enum:bool WebCore::IncludeSecureCookies includeSecureCookies) -> (String cookieString, bool didAccessSecureCookies)
-    GetRawCookies(PAL::SessionID sessionID, WebCore::URL firstParty, struct WebCore::SameSiteInfo sameSiteInfo, WebCore::URL url, std::optional<uint64_t> frameID, std::optional<uint64_t> pageID) -> (Vector<WebCore::Cookie> cookies)
+    CookiesEnabled(PAL::SessionID sessionID) -> (bool enabled) LegacySync
+    CookieRequestHeaderFieldValue(PAL::SessionID sessionID, WebCore::URL firstParty, struct WebCore::SameSiteInfo sameSiteInfo, WebCore::URL url, std::optional<uint64_t> frameID, std::optional<uint64_t> pageID, enum:bool WebCore::IncludeSecureCookies includeSecureCookies) -> (String cookieString, bool didAccessSecureCookies) LegacySync
+    GetRawCookies(PAL::SessionID sessionID, WebCore::URL firstParty, struct WebCore::SameSiteInfo sameSiteInfo, WebCore::URL url, std::optional<uint64_t> frameID, std::optional<uint64_t> pageID) -> (Vector<WebCore::Cookie> cookies) LegacySync
     DeleteCookie(PAL::SessionID sessionID, WebCore::URL url, String cookieName)
 
     RegisterFileBlobURL(WebCore::URL url, String path, WebKit::SandboxExtension::Handle extensionHandle, String contentType)
@@ -48,7 +48,7 @@
     RegisterBlobURLOptionallyFileBacked(WebCore::URL url, WebCore::URL srcURL, String fileBackedPath, String contentType)
     RegisterBlobURLForSlice(WebCore::URL url, WebCore::URL srcURL, int64_t start, int64_t end)
     UnregisterBlobURL(WebCore::URL url)
-    BlobSize(WebCore::URL url) -> (uint64_t resultSize)
+    BlobSize(WebCore::URL url) -> (uint64_t resultSize) LegacySync
     WriteBlobsToTemporaryFiles(Vector<String> blobURLs, uint64_t requestIdentifier)
 
     StoreDerivedDataToCache(WebKit::NetworkCache::DataKey key, IPC::SharedBufferDataReference data)
@@ -66,17 +66,17 @@
     RemoveOriginAccessWhitelistEntry(String sourceOrigin, String destinationProtocol, String destinationHost, bool allowDestinationSubdomains);
     ResetOriginAccessWhitelists();
 
-    GetNetworkLoadInformationRequest(uint64_t resourceLoadIdentifier) -> (WebCore::ResourceRequest request);
-    GetNetworkLoadInformationResponse(uint64_t resourceLoadIdentifier) -> (WebCore::ResourceResponse response);
-    GetNetworkLoadIntermediateInformation(uint64_t resourceLoadIdentifier) -> (Vector<WebCore::NetworkTransactionInformation> transactions);
-    TakeNetworkLoadInformationMetrics(uint64_t resourceLoadIdentifier) -> (WebCore::NetworkLoadMetrics networkMetrics);
+    GetNetworkLoadInformationRequest(uint64_t resourceLoadIdentifier) -> (WebCore::ResourceRequest request) LegacySync
+    GetNetworkLoadInformationResponse(uint64_t resourceLoadIdentifier) -> (WebCore::ResourceResponse response) LegacySync
+    GetNetworkLoadIntermediateInformation(uint64_t resourceLoadIdentifier) -> (Vector<WebCore::NetworkTransactionInformation> transactions) LegacySync
+    TakeNetworkLoadInformationMetrics(uint64_t resourceLoadIdentifier) -> (WebCore::NetworkLoadMetrics networkMetrics) LegacySync
 
 #if ENABLE(INDEXED_DATABASE)
-    EstablishIDBConnectionToServer(PAL::SessionID sessionID) -> (uint64_t serverConnectionIdentifier)
+    EstablishIDBConnectionToServer(PAL::SessionID sessionID) -> (uint64_t serverConnectionIdentifier) LegacySync
     RemoveIDBConnectionToServer(uint64_t serverConnectionIdentifier)
 #endif
 
 #if ENABLE(SERVICE_WORKER)
-    EstablishSWServerConnection(PAL::SessionID sessionID) -> (WebCore::SWServerConnectionIdentifier serverConnectionIdentifier)
+    EstablishSWServerConnection(PAL::SessionID sessionID) -> (WebCore::SWServerConnectionIdentifier serverConnectionIdentifier) LegacySync
 #endif
 }

Modified: trunk/Source/WebKit/NetworkProcess/NetworkProcess.messages.in (237299 => 237300)


--- trunk/Source/WebKit/NetworkProcess/NetworkProcess.messages.in	2018-10-19 20:38:11 UTC (rev 237299)
+++ trunk/Source/WebKit/NetworkProcess/NetworkProcess.messages.in	2018-10-19 21:12:24 UTC (rev 237300)
@@ -53,7 +53,7 @@
     SetQOS(int latencyQOS, int throughputQOS)
     SetStorageAccessAPIEnabled(bool enabled)
 #endif
-    SetAllowsAnySSLCertificateForWebSocket(bool enabled) -> ()
+    SetAllowsAnySSLCertificateForWebSocket(bool enabled) -> () LegacySync
 
     SyncAllCookies()
 
@@ -68,7 +68,7 @@
     ProcessDidTransitionToBackground()
     ProcessDidTransitionToForeground()
 
-    ProcessWillSuspendImminently() -> (bool handled)
+    ProcessWillSuspendImminently() -> (bool handled) LegacySync
     PrepareToSuspend()
     CancelPrepareToSuspend()
     ProcessDidResume()
@@ -101,16 +101,16 @@
     SetCacheStorageParameters(PAL::SessionID sessionID, uint64_t quota, String cacheStorageDirectory, WebKit::SandboxExtension::Handle handle);
 
 #if ENABLE(SERVICE_WORKER)
-DidNotHandleFetch(WebCore::SWServerConnectionIdentifier serverConnectionIdentifier, WebCore::FetchIdentifier fetchIdentifier)
-DidFailFetch(WebCore::SWServerConnectionIdentifier serverConnectionIdentifier, WebCore::FetchIdentifier fetchIdentifier, WebCore::ResourceError error)
-DidReceiveFetchResponse(WebCore::SWServerConnectionIdentifier serverConnectionIdentifier, WebCore::FetchIdentifier fetchIdentifier, WebCore::ResourceResponse response)
-DidReceiveFetchData(WebCore::SWServerConnectionIdentifier serverConnectionIdentifier, WebCore::FetchIdentifier fetchIdentifier, IPC::SharedBufferDataReference data, int64_t encodedDataLength)
-DidReceiveFetchFormData(WebCore::SWServerConnectionIdentifier serverConnectionIdentifier, WebCore::FetchIdentifier fetchIdentifier, IPC::FormDataReference data)
-DidFinishFetch(WebCore::SWServerConnectionIdentifier serverConnectionIdentifier, WebCore::FetchIdentifier fetchIdentifier)
-PostMessageToServiceWorkerClient(struct WebCore::ServiceWorkerClientIdentifier destinationIdentifier, struct WebCore::MessageWithMessagePorts message, WebCore::ServiceWorkerIdentifier sourceIdentifier, String sourceOrigin)
+    DidNotHandleFetch(WebCore::SWServerConnectionIdentifier serverConnectionIdentifier, WebCore::FetchIdentifier fetchIdentifier)
+    DidFailFetch(WebCore::SWServerConnectionIdentifier serverConnectionIdentifier, WebCore::FetchIdentifier fetchIdentifier, WebCore::ResourceError error)
+    DidReceiveFetchResponse(WebCore::SWServerConnectionIdentifier serverConnectionIdentifier, WebCore::FetchIdentifier fetchIdentifier, WebCore::ResourceResponse response)
+    DidReceiveFetchData(WebCore::SWServerConnectionIdentifier serverConnectionIdentifier, WebCore::FetchIdentifier fetchIdentifier, IPC::SharedBufferDataReference data, int64_t encodedDataLength)
+    DidReceiveFetchFormData(WebCore::SWServerConnectionIdentifier serverConnectionIdentifier, WebCore::FetchIdentifier fetchIdentifier, IPC::FormDataReference data)
+    DidFinishFetch(WebCore::SWServerConnectionIdentifier serverConnectionIdentifier, WebCore::FetchIdentifier fetchIdentifier)
+    PostMessageToServiceWorkerClient(struct WebCore::ServiceWorkerClientIdentifier destinationIdentifier, struct WebCore::MessageWithMessagePorts message, WebCore::ServiceWorkerIdentifier sourceIdentifier, String sourceOrigin)
 
-PostMessageToServiceWorker(WebCore::ServiceWorkerIdentifier destination, struct WebCore::MessageWithMessagePorts message, WebCore::ServiceWorkerOrClientIdentifier source, WebCore::SWServerConnectionIdentifier connectionIdentifier)
+    PostMessageToServiceWorker(WebCore::ServiceWorkerIdentifier destination, struct WebCore::MessageWithMessagePorts message, WebCore::ServiceWorkerOrClientIdentifier source, WebCore::SWServerConnectionIdentifier connectionIdentifier)
 
-DisableServiceWorkerProcessTerminationDelay()
+    DisableServiceWorkerProcessTerminationDelay()
 #endif
 }

Modified: trunk/Source/WebKit/NetworkProcess/ServiceWorker/WebSWServerConnection.messages.in (237299 => 237300)


--- trunk/Source/WebKit/NetworkProcess/ServiceWorker/WebSWServerConnection.messages.in	2018-10-19 20:38:11 UTC (rev 237299)
+++ trunk/Source/WebKit/NetworkProcess/ServiceWorker/WebSWServerConnection.messages.in	2018-10-19 21:12:24 UTC (rev 237300)
@@ -42,7 +42,7 @@
     RegisterServiceWorkerClient(struct WebCore::SecurityOriginData topOrigin, struct WebCore::ServiceWorkerClientData data, std::optional<WebCore::ServiceWorkerRegistrationIdentifier> controllingServiceWorkerRegistrationIdentifier)
     UnregisterServiceWorkerClient(struct WebCore::ServiceWorkerClientIdentifier identifier)
 
-    SyncTerminateWorker(WebCore::ServiceWorkerIdentifier workerIdentifier) -> ()
+    SyncTerminateWorker(WebCore::ServiceWorkerIdentifier workerIdentifier) -> () LegacySync
 }
 
 #endif // ENABLE(SERVICE_WORKER)

Modified: trunk/Source/WebKit/Platform/IPC/HandleMessage.h (237299 => 237300)


--- trunk/Source/WebKit/Platform/IPC/HandleMessage.h	2018-10-19 20:38:11 UTC (rev 237299)
+++ trunk/Source/WebKit/Platform/IPC/HandleMessage.h	2018-10-19 21:12:24 UTC (rev 237300)
@@ -134,7 +134,7 @@
 }
 
 template<typename T, typename C, typename MF>
-void handleMessage(Decoder& decoder, Encoder& replyEncoder, C* object, MF function)
+void handleMessageLegacySync(Decoder& decoder, Encoder& replyEncoder, C* object, MF function)
 {
     typename CodingType<typename T::Arguments>::Type arguments;
     if (!decoder.decode(arguments)) {
@@ -148,7 +148,7 @@
 }
 
 template<typename T, typename C, typename MF>
-void handleMessage(Connection& connection, Decoder& decoder, Encoder& replyEncoder, C* object, MF function)
+void handleMessageLegacySync(Connection& connection, Decoder& decoder, Encoder& replyEncoder, C* object, MF function)
 {
     typename CodingType<typename T::Arguments>::Type arguments;
     if (!decoder.decode(arguments)) {

Modified: trunk/Source/WebKit/PluginProcess/PluginControllerProxy.messages.in (237299 => 237300)


--- trunk/Source/WebKit/PluginProcess/PluginControllerProxy.messages.in	2018-10-19 20:38:11 UTC (rev 237299)
+++ trunk/Source/WebKit/PluginProcess/PluginControllerProxy.messages.in	2018-10-19 21:12:24 UTC (rev 237300)
@@ -69,28 +69,28 @@
     HandleMouseEvent(WebKit::WebMouseEvent mouseEvent)
     
     # Sent when a mouse wheel event should be processed.
-    HandleWheelEvent(WebKit::WebWheelEvent wheelEvent) -> (bool handled)
+    HandleWheelEvent(WebKit::WebWheelEvent wheelEvent) -> (bool handled) LegacySync
 
     # Sent when a mouse enter event should be processed.
-    HandleMouseEnterEvent(WebKit::WebMouseEvent mouseEvent) -> (bool handled)
+    HandleMouseEnterEvent(WebKit::WebMouseEvent mouseEvent) -> (bool handled) LegacySync
     
     # Sent when a mouse leave event should be processed.
-    HandleMouseLeaveEvent(WebKit::WebMouseEvent mouseEvent) -> (bool handled)
+    HandleMouseLeaveEvent(WebKit::WebMouseEvent mouseEvent) -> (bool handled) LegacySync
 
     # Sent when a keyboard should be processed.
-    HandleKeyboardEvent(WebKit::WebKeyboardEvent keyboardEvent) -> (bool handled)
+    HandleKeyboardEvent(WebKit::WebKeyboardEvent keyboardEvent) -> (bool handled) LegacySync
     
     # Sent when an editing command should be processed.
-    HandleEditingCommand(String commandName, String argument) -> (bool handled);
+    HandleEditingCommand(String commandName, String argument) -> (bool handled) LegacySync
     
     # Return whether or not a plugin wants to enable the given editing command.
-    IsEditingCommandEnabled(String commandName) -> (bool enabled);
+    IsEditingCommandEnabled(String commandName) -> (bool enabled) LegacySync
     
     # Return whether or not a plugin wants to handle page scale factor itself.
-    HandlesPageScaleFactor() -> (bool enabled);
+    HandlesPageScaleFactor() -> (bool enabled) LegacySync
 
     # Return whether or not a plugin wants page scale, page zoom, and text zoom all to affect page scale.
-    RequiresUnifiedScaleFactor() -> (bool required);
+    RequiresUnifiedScaleFactor() -> (bool required) LegacySync
 
     # Sent when the plug-in focus changes.
     SetFocus(bool isFocused)
@@ -99,10 +99,10 @@
     DidUpdate()
 
     # Paint the entire plug-in.
-    PaintEntirePlugin() -> ()
+    PaintEntirePlugin() -> () LegacySync
 
     # Get a reference to the plug-in's scriptable NPObject.
-    GetPluginScriptableNPObject() -> (uint64_t pluginScriptableNPObjectID)
+    GetPluginScriptableNPObject() -> (uint64_t pluginScriptableNPObjectID) LegacySync
 
     # Sent when the containing NSWindow's focus changes
     WindowFocusChanged(bool hasFocus)
@@ -122,10 +122,10 @@
 #endif
 
     # Does the plugin support snapshotting?
-    SupportsSnapshotting() -> (bool isSupported)
+    SupportsSnapshotting() -> (bool isSupported) LegacySync
 
     # Return a snapshot of the plugin.
-    Snapshot() -> (WebKit::ShareableBitmap::Handle backingStoreHandle)
+    Snapshot() -> (WebKit::ShareableBitmap::Handle backingStoreHandle) LegacySync
 
     # Sent when storage blocking policy changes
     StorageBlockingStateChanged(bool storageBlockingEnabled)
@@ -134,7 +134,7 @@
     PrivateBrowsingStateChanged(bool isPrivateBrowsingEnabled)
 
     # Gets the string representating the form value of the plug-in
-    GetFormValue() -> (bool returnValue, String formValue)
+    GetFormValue() -> (bool returnValue, String formValue) LegacySync
 
     # Sent when the browser wants to mute or unmute the plugin.
     MutedStateChanged(bool muted)

Modified: trunk/Source/WebKit/Scripts/webkit/LegacyMessages-expected.h (237299 => 237300)


--- trunk/Source/WebKit/Scripts/webkit/LegacyMessages-expected.h	2018-10-19 20:38:11 UTC (rev 237299)
+++ trunk/Source/WebKit/Scripts/webkit/LegacyMessages-expected.h	2018-10-19 21:12:24 UTC (rev 237300)
@@ -40,14 +40,14 @@
 #include <wtf/text/WTFString.h>
 
 namespace IPC {
-    class MachPort;
-    class Connection;
-    class DummyType;
+class MachPort;
+class Connection;
+class DummyType;
 }
 
 namespace WebKit {
-    class WebTouchEvent;
-    class WebPreferencesStore;
+class WebTouchEvent;
+class WebPreferencesStore;
 }
 
 namespace Messages {

Modified: trunk/Source/WebKit/Scripts/webkit/MessageReceiverSuperclass-expected.cpp (237299 => 237300)


--- trunk/Source/WebKit/Scripts/webkit/MessageReceiverSuperclass-expected.cpp	2018-10-19 20:38:11 UTC (rev 237299)
+++ trunk/Source/WebKit/Scripts/webkit/MessageReceiverSuperclass-expected.cpp	2018-10-19 21:12:24 UTC (rev 237300)
@@ -29,10 +29,12 @@
 #include "ArgumentCoders.h"
 #include "Decoder.h"
 #include "HandleMessage.h"
+#include "TestClassName.h"
 #if ENABLE(TEST_FEATURE)
 #include "TestTwoStateEnum.h"
 #endif
 #include "WebPageMessages.h"
+#include <wtf/Optional.h>
 #include <wtf/text/WTFString.h>
 
 namespace Messages {
@@ -65,6 +67,12 @@
 
 #endif
 
+void TestDelayedMessage::send(std::unique_ptr<IPC::Encoder>&& encoder, IPC::Connection& connection, const std::optional<WebKit::TestClassName>& optionalReply)
+{
+    *encoder << optionalReply;
+    connection.sendSyncReply(WTFMove(encoder));
+}
+
 } // namespace WebPage
 
 } // namespace Messages
@@ -86,5 +94,21 @@
     WebPageBase::didReceiveMessage(connection, decoder);
 }
 
+void WebPage::didReceiveSyncMessage(IPC::Connection& connection, IPC::Decoder& decoder, std::unique_ptr<IPC::Encoder>& replyEncoder)
+{
+    if (decoder.messageName() == Messages::WebPage::TestSyncMessage::name()) {
+        IPC::handleMessage<Messages::WebPage::TestSyncMessage>(decoder, *replyEncoder, this, &WebPage::testSyncMessage);
+        return;
+    }
+    if (decoder.messageName() == Messages::WebPage::TestDelayedMessage::name()) {
+        IPC::handleMessageDelayed<Messages::WebPage::TestDelayedMessage>(connection, decoder, replyEncoder, this, &WebPage::testDelayedMessage);
+        return;
+    }
+    UNUSED_PARAM(connection);
+    UNUSED_PARAM(decoder);
+    UNUSED_PARAM(replyEncoder);
+    ASSERT_NOT_REACHED();
+}
+
 } // namespace WebKit
 

Modified: trunk/Source/WebKit/Scripts/webkit/MessagesSuperclass-expected.h (237299 => 237300)


--- trunk/Source/WebKit/Scripts/webkit/MessagesSuperclass-expected.h	2018-10-19 20:38:11 UTC (rev 237299)
+++ trunk/Source/WebKit/Scripts/webkit/MessagesSuperclass-expected.h	2018-10-19 21:12:24 UTC (rev 237300)
@@ -25,11 +25,18 @@
 #pragma once
 
 #include "ArgumentCoders.h"
+#include "TestClassName.h"
 #include <wtf/Forward.h>
+#include <wtf/Optional.h>
+#include <wtf/ThreadSafeRefCounted.h>
 #include <wtf/text/WTFString.h>
 
+namespace IPC {
+class Connection;
+}
+
 namespace WebKit {
-    enum class TestTwoStateEnum : bool;
+enum class TestTwoStateEnum : bool;
 }
 
 namespace Messages {
@@ -92,5 +99,53 @@
 };
 #endif
 
+class TestSyncMessage {
+public:
+    typedef std::tuple<uint32_t> Arguments;
+
+    static IPC::StringReference receiverName() { return messageReceiverName(); }
+    static IPC::StringReference name() { return IPC::StringReference("TestSyncMessage"); }
+    static const bool isSync = true;
+
+    typedef std::tuple<uint8_t&> Reply;
+    explicit TestSyncMessage(uint32_t param)
+        : m_arguments(param)
+    {
+    }
+
+    const Arguments& arguments() const
+    {
+        return m_arguments;
+    }
+
+private:
+    Arguments m_arguments;
+};
+
+class TestDelayedMessage {
+public:
+    typedef std::tuple<bool> Arguments;
+
+    static IPC::StringReference receiverName() { return messageReceiverName(); }
+    static IPC::StringReference name() { return IPC::StringReference("TestDelayedMessage"); }
+    static const bool isSync = true;
+
+    using DelayedReply = CompletionHandler<void(const std::optional<WebKit::TestClassName>& optionalReply)>;
+    static void send(std::unique_ptr<IPC::Encoder>&&, IPC::Connection&, const std::optional<WebKit::TestClassName>& optionalReply);
+    typedef std::tuple<std::optional<WebKit::TestClassName>&> Reply;
+    explicit TestDelayedMessage(bool value)
+        : m_arguments(value)
+    {
+    }
+
+    const Arguments& arguments() const
+    {
+        return m_arguments;
+    }
+
+private:
+    Arguments m_arguments;
+};
+
 } // namespace WebPage
 } // namespace Messages

Modified: trunk/Source/WebKit/Scripts/webkit/messages.py (237299 => 237300)


--- trunk/Source/WebKit/Scripts/webkit/messages.py	2018-10-19 20:38:11 UTC (rev 237299)
+++ trunk/Source/WebKit/Scripts/webkit/messages.py	2018-10-19 21:12:24 UTC (rev 237300)
@@ -30,6 +30,7 @@
 LEGACY_RECEIVER_ATTRIBUTE = 'LegacyReceiver'
 DELAYED_ATTRIBUTE = 'Delayed'
 ASYNC_ATTRIBUTE = 'Async'
+LEGACY_SYNC_ATTRIBUTE = 'LegacySync'
 
 _license_header = """/*
  * Copyright (C) 2010-2018 Apple Inc. All rights reserved.
@@ -122,16 +123,16 @@
     result.append('\n')
     if message.reply_parameters != None:
         send_parameters = [(function_parameter_type(x.type, x.kind), x.name) for x in message.reply_parameters]
+        completion_handler_parameters = '%s' % ', '.join([' '.join(x) for x in send_parameters])
+        if message.has_attribute(ASYNC_ATTRIBUTE):
+            move_parameters = ', '.join([move_type(x.type) for x in message.reply_parameters])
+            result.append('    static void callReply(IPC::Decoder&, CompletionHandler<void(%s)>&&);\n' % move_parameters)
+            result.append('    static void cancelReply(CompletionHandler<void(%s)>&&);\n' % move_parameters)
+            result.append('    static IPC::StringReference asyncMessageReplyName() { return { "%sReply" }; }\n' % message.name)
+            result.append('    using AsyncReply')
+        elif message.has_attribute(DELAYED_ATTRIBUTE):
+            result.append('    using DelayedReply')
         if message.has_attribute(DELAYED_ATTRIBUTE) or message.has_attribute(ASYNC_ATTRIBUTE):
-            completion_handler_parameters = '%s' % ', '.join([' '.join(x) for x in send_parameters])
-            if message.has_attribute(ASYNC_ATTRIBUTE):
-                move_parameters = ', '.join([move_type(x.type) for x in message.reply_parameters])
-                result.append('    static void callReply(IPC::Decoder&, CompletionHandler<void(%s)>&&);\n' % move_parameters)
-                result.append('    static void cancelReply(CompletionHandler<void(%s)>&&);\n' % move_parameters)
-                result.append('    static IPC::StringReference asyncMessageReplyName() { return { "%sReply" }; }\n' % message.name)
-                result.append('    using AsyncReply')
-            else:
-                result.append('    using DelayedReply')
             result.append(' = CompletionHandler<void(%s)>;\n' % completion_handler_parameters)
             result.append('    static void send(std::unique_ptr<IPC::Encoder>&&, IPC::Connection&')
             if len(send_parameters):
@@ -170,7 +171,7 @@
 def forward_declarations_for_namespace(namespace, kind_and_types):
     result = []
     result.append('namespace %s {\n' % namespace)
-    result += ['    %s;\n' % forward_declaration(namespace, x) for x in kind_and_types]
+    result += ['%s;\n' % forward_declaration(namespace, x) for x in kind_and_types]
     result.append('}\n')
     return ''.join(result)
 
@@ -307,6 +308,8 @@
         dispatch_function += 'Delayed'
     if message.has_attribute(ASYNC_ATTRIBUTE):
         dispatch_function += 'Async'
+    if message.has_attribute(LEGACY_SYNC_ATTRIBUTE):
+        dispatch_function += 'LegacySync'
 
     wants_connection = message.has_attribute(DELAYED_ATTRIBUTE) or message.has_attribute(WANTS_CONNECTION_ATTRIBUTE)
 

Modified: trunk/Source/WebKit/Scripts/webkit/test-superclass-messages.in (237299 => 237300)


--- trunk/Source/WebKit/Scripts/webkit/test-superclass-messages.in	2018-10-19 20:38:11 UTC (rev 237299)
+++ trunk/Source/WebKit/Scripts/webkit/test-superclass-messages.in	2018-10-19 21:12:24 UTC (rev 237300)
@@ -25,4 +25,6 @@
 #if ENABLE(TEST_FEATURE)
     TestAsyncMessage(enum:bool WebKit::TestTwoStateEnum twoStateEnum) -> (uint64_t result) Async
 #endif
+    TestSyncMessage(uint32_t param) -> (uint8_t reply) Sync
+    TestDelayedMessage(bool value) -> (std::optional<WebKit::TestClassName> optionalReply) Delayed
 }

Modified: trunk/Source/WebKit/Shared/Plugins/NPObjectMessageReceiver.messages.in (237299 => 237300)


--- trunk/Source/WebKit/Shared/Plugins/NPObjectMessageReceiver.messages.in	2018-10-19 20:38:11 UTC (rev 237299)
+++ trunk/Source/WebKit/Shared/Plugins/NPObjectMessageReceiver.messages.in	2018-10-19 21:12:24 UTC (rev 237300)
@@ -23,16 +23,16 @@
 #if ENABLE(NETSCAPE_PLUGIN_API)
 
 messages -> NPObjectMessageReceiver LegacyReceiver {
-    Deallocate() -> ()
-    HasMethod(WebKit::NPIdentifierData methodName) -> (bool returnValue)
-    Invoke(WebKit::NPIdentifierData methodName, Vector<WebKit::NPVariantData> argumentsData) -> (bool returnValue, WebKit::NPVariantData resultData)
-    InvokeDefault(Vector<WebKit::NPVariantData> argumentsData) -> (bool returnValue, WebKit::NPVariantData resultData)
-    HasProperty(WebKit::NPIdentifierData propertyName) -> (bool returnValue)
-    GetProperty(WebKit::NPIdentifierData propertyName) -> (bool returnValue, WebKit::NPVariantData resultData)
-    SetProperty(WebKit::NPIdentifierData propertyName, WebKit::NPVariantData propertyValueData) -> (bool returnValue)
-    RemoveProperty(WebKit::NPIdentifierData propertyName) -> (bool returnValue)
-    Enumerate() -> (bool returnValue, Vector<WebKit::NPIdentifierData> identifiersData)
-    Construct(Vector<WebKit::NPVariantData> argumentsData) -> (bool returnValue, WebKit::NPVariantData resultData)
+    Deallocate() -> () LegacySync
+    HasMethod(WebKit::NPIdentifierData methodName) -> (bool returnValue) LegacySync
+    Invoke(WebKit::NPIdentifierData methodName, Vector<WebKit::NPVariantData> argumentsData) -> (bool returnValue, WebKit::NPVariantData resultData) LegacySync
+    InvokeDefault(Vector<WebKit::NPVariantData> argumentsData) -> (bool returnValue, WebKit::NPVariantData resultData) LegacySync
+    HasProperty(WebKit::NPIdentifierData propertyName) -> (bool returnValue) LegacySync
+    GetProperty(WebKit::NPIdentifierData propertyName) -> (bool returnValue, WebKit::NPVariantData resultData) LegacySync
+    SetProperty(WebKit::NPIdentifierData propertyName, WebKit::NPVariantData propertyValueData) -> (bool returnValue) LegacySync
+    RemoveProperty(WebKit::NPIdentifierData propertyName) -> (bool returnValue) LegacySync
+    Enumerate() -> (bool returnValue, Vector<WebKit::NPIdentifierData> identifiersData) LegacySync
+    Construct(Vector<WebKit::NPVariantData> argumentsData) -> (bool returnValue, WebKit::NPVariantData resultData) LegacySync
 }
 
 #endif

Modified: trunk/Source/WebKit/UIProcess/API/wpe/CompositingManagerProxy.messages.in (237299 => 237300)


--- trunk/Source/WebKit/UIProcess/API/wpe/CompositingManagerProxy.messages.in	2018-10-19 20:38:11 UTC (rev 237299)
+++ trunk/Source/WebKit/UIProcess/API/wpe/CompositingManagerProxy.messages.in	2018-10-19 21:12:24 UTC (rev 237300)
@@ -21,5 +21,5 @@
 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 messages -> CompositingManagerProxy {
-    EstablishConnection() -> (IPC::Attachment connectionHandle)
+    EstablishConnection() -> (IPC::Attachment connectionHandle) LegacySync
 }

Modified: trunk/Source/WebKit/UIProcess/ApplePay/WebPaymentCoordinatorProxy.messages.in (237299 => 237300)


--- trunk/Source/WebKit/UIProcess/ApplePay/WebPaymentCoordinatorProxy.messages.in	2018-10-19 20:38:11 UTC (rev 237299)
+++ trunk/Source/WebKit/UIProcess/ApplePay/WebPaymentCoordinatorProxy.messages.in	2018-10-19 21:12:24 UTC (rev 237300)
@@ -26,12 +26,12 @@
 
 messages -> WebPaymentCoordinatorProxy {
 
-    AvailablePaymentNetworks() -> (Vector<String> availablePaymentNetworks)
-    CanMakePayments() -> (bool result)
+    AvailablePaymentNetworks() -> (Vector<String> availablePaymentNetworks) LegacySync
+    CanMakePayments() -> (bool result) LegacySync
     CanMakePaymentsWithActiveCard(String merchantIdentifier, String domainName, uint64_t requestID)
     OpenPaymentSetup(String merchantIdentifier, String domainName, uint64_t requestID)
 
-    ShowPaymentUI(String originatingURLString, Vector<String> linkIconURLStrings, WebCore::ApplePaySessionPaymentRequest paymentRequest) -> (bool result)
+    ShowPaymentUI(String originatingURLString, Vector<String> linkIconURLStrings, WebCore::ApplePaySessionPaymentRequest paymentRequest) -> (bool result) LegacySync
     CompleteMerchantValidation(WebCore::PaymentMerchantSession paymentMerchantSession)
     CompleteShippingMethodSelection(std::optional<WebCore::ShippingMethodUpdate> update)
     CompleteShippingContactSelection(std::optional<WebCore::ShippingContactUpdate> update)

Modified: trunk/Source/WebKit/UIProcess/Cocoa/UserMediaCaptureManagerProxy.messages.in (237299 => 237300)


--- trunk/Source/WebKit/UIProcess/Cocoa/UserMediaCaptureManagerProxy.messages.in	2018-10-19 20:38:11 UTC (rev 237299)
+++ trunk/Source/WebKit/UIProcess/Cocoa/UserMediaCaptureManagerProxy.messages.in	2018-10-19 21:12:24 UTC (rev 237300)
@@ -24,10 +24,10 @@
 #if ENABLE(MEDIA_STREAM)
 
 messages -> UserMediaCaptureManagerProxy {
-CreateMediaSourceForCaptureDeviceWithConstraints(uint64_t id, WebCore::CaptureDevice device, String hashSalt, struct WebCore::MediaConstraints constraints) -> (bool success, String invalidConstraints, WebCore::RealtimeMediaSourceSettings settings)
+CreateMediaSourceForCaptureDeviceWithConstraints(uint64_t id, WebCore::CaptureDevice device, String hashSalt, struct WebCore::MediaConstraints constraints) -> (bool success, String invalidConstraints, WebCore::RealtimeMediaSourceSettings settings) LegacySync
     StartProducingData(uint64_t id)
     StopProducingData(uint64_t id)
-    Capabilities(uint64_t id) -> (WebCore::RealtimeMediaSourceCapabilities capabilities)
+    Capabilities(uint64_t id) -> (WebCore::RealtimeMediaSourceCapabilities capabilities) LegacySync
     SetMuted(uint64_t id, bool muted)
     ApplyConstraints(uint64_t id, struct WebCore::MediaConstraints constraints)
 }

Modified: trunk/Source/WebKit/UIProcess/Plugins/PluginProcessProxy.messages.in (237299 => 237300)


--- trunk/Source/WebKit/UIProcess/Plugins/PluginProcessProxy.messages.in	2018-10-19 20:38:11 UTC (rev 237299)
+++ trunk/Source/WebKit/UIProcess/Plugins/PluginProcessProxy.messages.in	2018-10-19 21:12:24 UTC (rev 237300)
@@ -34,16 +34,16 @@
     SetFullscreenWindowIsShowing(bool fullscreenWindowIsShowing)
     
     # Returns true if the UI process launched the process.
-    LaunchProcess(String launchPath, Vector<String> arguments) -> (bool result)
+    LaunchProcess(String launchPath, Vector<String> arguments) -> (bool result) LegacySync
 
     # Returns true if the UI process launched the application.
-    LaunchApplicationAtURL(String url, Vector<String> arguments) -> (bool result)
+    LaunchApplicationAtURL(String url, Vector<String> arguments) -> (bool result) LegacySync
 
     # Returns true if the UI process did open the URL.
-    OpenURL(String urlString) -> (bool result, int32_t status, String launchedURLString)
+    OpenURL(String urlString) -> (bool result, int32_t status, String launchedURLString) LegacySync
     
     # Returns true if the UI process did open the file.
-    OpenFile(String fullPath) -> (bool result)
+    OpenFile(String fullPath) -> (bool result) LegacySync
 #endif
 }
 

Modified: trunk/Source/WebKit/UIProcess/WebFullScreenManagerProxy.messages.in (237299 => 237300)


--- trunk/Source/WebKit/UIProcess/WebFullScreenManagerProxy.messages.in	2018-10-19 20:38:11 UTC (rev 237299)
+++ trunk/Source/WebKit/UIProcess/WebFullScreenManagerProxy.messages.in	2018-10-19 21:12:24 UTC (rev 237300)
@@ -22,7 +22,7 @@
 
 #if ENABLE(FULLSCREEN_API)
 messages -> WebFullScreenManagerProxy {
-    SupportsFullScreen(bool withKeyboard) -> (bool supportsFullScreen)
+    SupportsFullScreen(bool withKeyboard) -> (bool supportsFullScreen) LegacySync
     EnterFullScreen()
     ExitFullScreen()
     BeganEnterFullScreen(WebCore::IntRect initialRect, WebCore::IntRect finalRect)

Modified: trunk/Source/WebKit/UIProcess/WebPageProxy.messages.in (237299 => 237300)


--- trunk/Source/WebKit/UIProcess/WebPageProxy.messages.in	2018-10-19 20:38:11 UTC (rev 237299)
+++ trunk/Source/WebKit/UIProcess/WebPageProxy.messages.in	2018-10-19 21:12:24 UTC (rev 237300)
@@ -61,7 +61,7 @@
     GetWindowFrame() -> (WebCore::FloatRect windowFrame) Delayed
     ScreenToRootView(WebCore::IntPoint screenPoint) -> (WebCore::IntPoint windowPoint) Delayed
     RootViewToScreen(WebCore::IntRect rect) -> (WebCore::IntRect screenFrame) Delayed
-    GetIsViewVisible() -> (bool result)
+    GetIsViewVisible() -> (bool result) LegacySync
 
 #if PLATFORM(COCOA)
     ShowValidationMessage(WebCore::IntRect anchorRect, String message)
@@ -69,8 +69,8 @@
 #endif
 
 #if PLATFORM(IOS_FAMILY)
-    AccessibilityScreenToRootView(WebCore::IntPoint screenPoint) -> (WebCore::IntPoint windowPoint)
-    RootViewToAccessibilityScreen(WebCore::IntRect rect) -> (WebCore::IntRect screenFrame)
+    AccessibilityScreenToRootView(WebCore::IntPoint screenPoint) -> (WebCore::IntPoint windowPoint) LegacySync
+    RootViewToAccessibilityScreen(WebCore::IntRect rect) -> (WebCore::IntRect screenFrame) LegacySync
 #endif
 
     RunBeforeUnloadConfirmPanel(uint64_t frameID, struct WebCore::SecurityOriginData frameSecurityOrigin, String message) -> (bool shouldClose) Delayed
@@ -77,7 +77,7 @@
     PageDidScroll()
     RunOpenPanel(uint64_t frameID, struct WebCore::SecurityOriginData frameSecurityOrigin, struct WebCore::FileChooserSettings parameters)
     ShowShareSheet(struct WebCore::ShareDataWithParsedURL shareData, uint64_t callbackID)
-    PrintFrame(uint64_t frameID) -> ()
+    PrintFrame(uint64_t frameID) -> () LegacySync
     RunModal()
     NotifyScrollerThumbIsVisibleInRect(WebCore::IntRect scrollerThumb)
     RecommendedScrollbarStyleDidChange(int32_t newStyle)
@@ -149,7 +149,7 @@
     DidChangeMainDocument(uint64_t frameID);
     DidDestroyNavigation(uint64_t navigationID)
 
-    HasInsecureContent() -> (enum:bool WebCore::HasInsecureContent hasInsecureContent)
+    HasInsecureContent() -> (enum:bool WebCore::HasInsecureContent hasInsecureContent) LegacySync
 
     MainFramePluginHandlesPageScaleGestureDidChange(bool mainFramePluginHandlesPageScaleGesture)
 
@@ -193,7 +193,7 @@
     AutocorrectionDataCallback(Vector<WebCore::FloatRect> textRects, String fontName, double fontSize, uint64_t traits, WebKit::CallbackID callbackID)
     AutocorrectionContextCallback(String beforeText, String markedText, String selectedText, String afterText, uint64_t location, uint64_t length, WebKit::CallbackID callbackID)
     SelectionContextCallback(String selectedText, String beforeText, String afterText, WebKit::CallbackID callbackID)
-    InterpretKeyEvent(struct WebKit::EditorState state, bool isCharEvent) -> (bool handled)
+    InterpretKeyEvent(struct WebKit::EditorState state, bool isCharEvent) -> (bool handled) LegacySync
     DidReceivePositionInformation(struct WebKit::InteractionInformationAtPosition information)
     SaveImageToLibrary(WebKit::SharedMemory::Handle handle, uint64_t size)
     ShowPlaybackTargetPicker(bool hasVideo, WebCore::IntRect elementRect, enum:uint8_t WebCore::RouteSharingPolicy policy, String routingContextUID)
@@ -228,10 +228,10 @@
 
     # BackForward messages
     BackForwardAddItem(struct WebKit::BackForwardListItemState itemState)
-    BackForwardGoToItem(struct WebCore::BackForwardItemIdentifier itemID) -> (WebKit::SandboxExtension::Handle sandboxExtensionHandle)
-    BackForwardItemAtIndex(int32_t itemIndex) -> (std::optional<WebCore::BackForwardItemIdentifier> itemID)
-    BackForwardBackListCount() -> (uint32_t count)
-    BackForwardForwardListCount() -> (uint32_t count)
+    BackForwardGoToItem(struct WebCore::BackForwardItemIdentifier itemID) -> (WebKit::SandboxExtension::Handle sandboxExtensionHandle) LegacySync
+    BackForwardItemAtIndex(int32_t itemIndex) -> (std::optional<WebCore::BackForwardItemIdentifier> itemID) LegacySync
+    BackForwardBackListCount() -> (uint32_t count) LegacySync
+    BackForwardForwardListCount() -> (uint32_t count) LegacySync
     BackForwardClear()
     WillGoToBackForwardListItem(struct WebCore::BackForwardItemIdentifier itemID, bool inPageCache)
 
@@ -239,8 +239,8 @@
     RegisterEditCommandForUndo(uint64_t commandID, uint32_t editAction)
     ClearAllEditCommands()
     RegisterInsertionUndoGrouping()
-    CanUndoRedo(enum:bool WebKit::UndoOrRedo undoOrRedo) -> (bool result)
-    ExecuteUndoRedo(enum:bool WebKit::UndoOrRedo undoOrRedo) -> ()
+    CanUndoRedo(enum:bool WebKit::UndoOrRedo undoOrRedo) -> (bool result) LegacySync
+    ExecuteUndoRedo(enum:bool WebKit::UndoOrRedo undoOrRedo) -> () LegacySync
 
     # Diagnostic messages logging
     LogDiagnosticMessage(String message, String description, enum:bool WebCore::ShouldSample shouldSample)
@@ -300,16 +300,16 @@
 
     # Spelling and grammar messages
 #if USE(UNIFIED_TEXT_CHECKING)  
-    CheckTextOfParagraph(String text, OptionSet<WebCore::TextCheckingType> checkingTypes, int32_t insertionPoint) -> (Vector<WebCore::TextCheckingResult> results)
+    CheckTextOfParagraph(String text, OptionSet<WebCore::TextCheckingType> checkingTypes, int32_t insertionPoint) -> (Vector<WebCore::TextCheckingResult> results) LegacySync
 #endif
-    CheckSpellingOfString(String text) -> (int32_t misspellingLocation, int32_t misspellingLength)
-    CheckGrammarOfString(String text) -> (Vector<WebCore::GrammarDetail> results, int32_t badGrammarLocation, int32_t badGrammarLength)
-    SpellingUIIsShowing() -> (bool isShowing)
+    CheckSpellingOfString(String text) -> (int32_t misspellingLocation, int32_t misspellingLength) LegacySync
+    CheckGrammarOfString(String text) -> (Vector<WebCore::GrammarDetail> results, int32_t badGrammarLocation, int32_t badGrammarLength) LegacySync
+    SpellingUIIsShowing() -> (bool isShowing) LegacySync
     UpdateSpellingUIWithMisspelledWord(String misspelledWord)
     UpdateSpellingUIWithGrammarString(String badGrammarPhrase, struct WebCore::GrammarDetail grammarDetail)
-    GetGuessesForWord(String word, String context, int32_t insertionPoint) -> (Vector<String> guesses)
-    LearnWord(String word);
-    IgnoreWord(String word);
+    GetGuessesForWord(String word, String context, int32_t insertionPoint) -> (Vector<String> guesses) LegacySync
+    LearnWord(String word)
+    IgnoreWord(String word)
     RequestCheckingOfString(uint64_t requestID, WebCore::TextCheckingRequestData request, int32_t insertionPoint)
 
     # Drag and drop messages
@@ -340,7 +340,7 @@
     DidPerformDictionaryLookup(struct WebCore::DictionaryPopupInfo dictionaryPopupInfo)
 
     # Keyboard input support messages
-    ExecuteSavedCommandBySelector(String selector) -> (bool handled)
+    ExecuteSavedCommandBySelector(String selector) -> (bool handled) LegacySync
 
     # Remote accessibility messages
     RegisterWebProcessAccessibilityToken(IPC::DataReference data)
@@ -350,7 +350,7 @@
     SetPluginComplexTextInputState(uint64_t pluginComplexTextInputIdentifier, uint64_t complexTextInputState)
 
     # Speech messages
-    GetIsSpeaking() -> (bool isSpeaking)
+    GetIsSpeaking() -> (bool isSpeaking) LegacySync
     Speak(String string)
     StopSpeaking()
 
@@ -368,7 +368,7 @@
 #endif
 
 #if USE(APPKIT)
-    SubstitutionsPanelIsShowing() -> (bool isShowing)
+    SubstitutionsPanelIsShowing() -> (bool isShowing) LegacySync
 #endif
 #if USE(AUTOMATIC_TEXT_REPLACEMENT)
     toggleSmartInsertDelete()
@@ -381,7 +381,7 @@
     # Autocorrection messages
     ShowCorrectionPanel(int32_t panelType, WebCore::FloatRect boundingBoxOfReplacedString, String replacedString, String replacementString, Vector<String> alternativeReplacementStrings)
     DismissCorrectionPanel(int32_t reason)
-    DismissCorrectionPanelSoon(int32_t reason) -> (String result)
+    DismissCorrectionPanelSoon(int32_t reason) -> (String result) LegacySync
     RecordAutocorrectionResponse(int32_t response, String replacedString, String replacementString);
 
     SetEditableElementIsFocused(bool editableElementIsFocused)
@@ -390,12 +390,12 @@
 #if USE(DICTATION_ALTERNATIVES)
     ShowDictationAlternativeUI(WebCore::FloatRect boundingBoxOfDictatedText, uint64_t dictationContext)
     RemoveDictationAlternatives(uint64_t dictationContext)
-    DictationAlternatives(uint64_t dictationContext) -> (Vector<String> alternatives)
+    DictationAlternatives(uint64_t dictationContext) -> (Vector<String> alternatives) LegacySync
 #endif
 
 #if PLATFORM(X11)
     # X11 windowed plugin messages
-    CreatePluginContainer() -> (uint64_t windowID)
+    CreatePluginContainer() -> (uint64_t windowID) LegacySync
     WindowedPluginGeometryDidChange(WebCore::IntRect frameRect, WebCore::IntRect clipRect, uint64_t windowID)
     WindowedPluginVisibilityDidChange(bool isVisible, uint64_t windowID)
 #endif
@@ -425,7 +425,7 @@
 
     # Search popup menus
     SaveRecentSearches(String name, Vector<WebCore::RecentSearch> searchItems)
-    LoadRecentSearches(String name) -> (Vector<WebCore::RecentSearch> result)
+    LoadRecentSearches(String name) -> (Vector<WebCore::RecentSearch> result) LegacySync
 
     SavePDFToFileInDownloadsFolder(String suggestedFilename, WebCore::URL originatingURL, IPC::DataReference data)
 
@@ -435,7 +435,7 @@
 #endif
 
 #if ENABLE(PDFKIT_PLUGIN)
-    ShowPDFContextMenu(struct WebKit::PDFContextMenu contextMenu) -> (std::optional<int32_t> selectedItem)
+    ShowPDFContextMenu(struct WebKit::PDFContextMenu contextMenu) -> (std::optional<int32_t> selectedItem) LegacySync
 #endif
 
 #if ENABLE(NETSCAPE_PLUGIN_API)
@@ -447,8 +447,8 @@
     DidSaveToPageCache()
 
 #if ENABLE(SUBTLE_CRYPTO)
-    WrapCryptoKey(Vector<uint8_t> key) -> (bool succeeded, Vector<uint8_t> wrappedKey)
-    UnwrapCryptoKey(Vector<uint8_t> wrappedKey) -> (bool succeeded, Vector<uint8_t> key)
+    WrapCryptoKey(Vector<uint8_t> key) -> (bool succeeded, Vector<uint8_t> wrappedKey) LegacySync
+    UnwrapCryptoKey(Vector<uint8_t> wrappedKey) -> (bool succeeded, Vector<uint8_t> key) LegacySync
 #endif
 
 
@@ -481,7 +481,7 @@
     DidPerformImmediateActionHitTest(struct WebKit::WebHitTestResultData result, bool contentPreventsDefault, WebKit::UserData userData)
 #endif
     HandleMessage(String messageName, WebKit::UserData messageBody) WantsConnection
-    HandleSynchronousMessage(String messageName, WebKit::UserData messageBody) -> (WebKit::UserData returnData) WantsConnection
+    HandleSynchronousMessage(String messageName, WebKit::UserData messageBody) -> (WebKit::UserData returnData) LegacySync WantsConnection
 
     HandleAutoFillButtonClick(WebKit::UserData userData)
 
@@ -546,6 +546,6 @@
     StopDisplayLink(unsigned observerID)
 #endif
 
-    SignedPublicKeyAndChallengeString(unsigned keySizeIndex, String challengeString, WebCore::URL url) -> (String result)
+    SignedPublicKeyAndChallengeString(unsigned keySizeIndex, String challengeString, WebCore::URL url) -> (String result) LegacySync
 
 }

Modified: trunk/Source/WebKit/UIProcess/WebPasteboardProxy.messages.in (237299 => 237300)


--- trunk/Source/WebKit/UIProcess/WebPasteboardProxy.messages.in	2018-10-19 20:38:11 UTC (rev 237299)
+++ trunk/Source/WebKit/UIProcess/WebPasteboardProxy.messages.in	2018-10-19 21:12:24 UTC (rev 237300)
@@ -26,49 +26,49 @@
     WriteWebContentToPasteboard(struct WebCore::PasteboardWebContent content, String pasteboardName)
     WriteImageToPasteboard(struct WebCore::PasteboardImage pasteboardImage, String pasteboardName)
     WriteStringToPasteboard(String pasteboardType, String text, String pasteboardName)
-    ReadStringFromPasteboard(uint64_t index, String pasteboardType, String pasteboardName) -> (String string)
-    ReadURLFromPasteboard(uint64_t index, String pasteboardName) -> (String url, String title)
-    ReadBufferFromPasteboard(uint64_t index, String pasteboardType, String pasteboardName) -> (WebKit::SharedMemory::Handle handle, uint64_t size)
-    GetPasteboardItemsCount(String pasteboardName) -> (uint64_t itemsCount)
-    AllPasteboardItemInfo(String pasteboardName) -> (Vector<WebCore::PasteboardItemInfo> allInfo)
-    InformationForItemAtIndex(uint64_t index, String pasteboardName) -> (struct WebCore::PasteboardItemInfo info)
+    ReadStringFromPasteboard(uint64_t index, String pasteboardType, String pasteboardName) -> (String string) LegacySync
+    ReadURLFromPasteboard(uint64_t index, String pasteboardName) -> (String url, String title) LegacySync
+    ReadBufferFromPasteboard(uint64_t index, String pasteboardType, String pasteboardName) -> (WebKit::SharedMemory::Handle handle, uint64_t size) LegacySync
+    GetPasteboardItemsCount(String pasteboardName) -> (uint64_t itemsCount) LegacySync
+    AllPasteboardItemInfo(String pasteboardName) -> (Vector<WebCore::PasteboardItemInfo> allInfo) LegacySync
+    InformationForItemAtIndex(uint64_t index, String pasteboardName) -> (struct WebCore::PasteboardItemInfo info) LegacySync
     UpdateSupportedTypeIdentifiers(Vector<String> identifiers, String pasteboardName)
-    GetPasteboardTypesByFidelityForItemAtIndex(uint64_t index, String pasteboardName) -> (Vector<String> types)
+    GetPasteboardTypesByFidelityForItemAtIndex(uint64_t index, String pasteboardName) -> (Vector<String> types) LegacySync
 #endif
 
-    WriteCustomData(struct WebCore::PasteboardCustomData data, String pasteboardName) -> (uint64_t changeCount)
-    TypesSafeForDOMToReadAndWrite(String pasteboardName, String origin) -> (Vector<String> types)
+    WriteCustomData(struct WebCore::PasteboardCustomData data, String pasteboardName) -> (uint64_t changeCount) LegacySync
+    TypesSafeForDOMToReadAndWrite(String pasteboardName, String origin) -> (Vector<String> types) LegacySync
 
 #if PLATFORM(COCOA)
     # Pasteboard messages.
-    GetNumberOfFiles(String pasteboardName) -> (uint64_t numberOfFiles)
-    GetPasteboardTypes(String pasteboardName) -> (Vector<String> types)
-    GetPasteboardPathnamesForType(String pasteboardName, String pasteboardType) -> (Vector<String> pathnames, WebKit::SandboxExtension::HandleArray sandboxExtensions) WantsConnection
-    GetPasteboardStringForType(String pasteboardName, String pasteboardType) -> (String string)
-    GetPasteboardStringsForType(String pasteboardName, String pasteboardType) -> (Vector<String> strings)
-    GetPasteboardBufferForType(String pasteboardName, String pasteboardType) -> (WebKit::SharedMemory::Handle handle, uint64_t size)
-    PasteboardCopy(String fromPasteboard, String toPasteboard) -> (uint64_t changeCount)
-    GetPasteboardChangeCount(String pasteboardName) -> (uint64_t changeCount)
-    GetPasteboardUniqueName() -> (String pasteboardName)
-    GetPasteboardColor(String pasteboardName) -> (WebCore::Color color)
-    GetPasteboardURL(String pasteboardName) -> (String urlString)
-    AddPasteboardTypes(String pasteboardName, Vector<String> pasteboardTypes) -> (uint64_t changeCount)
-    SetPasteboardTypes(String pasteboardName, Vector<String> pasteboardTypes) -> (uint64_t changeCount)
-    SetPasteboardURL(struct WebCore::PasteboardURL pasteboardURL, String pasteboardName) -> (uint64_t changeCount) WantsConnection
-    SetPasteboardColor(String pasteboardName, WebCore::Color color) -> (uint64_t changeCount)
-    SetPasteboardStringForType(String pasteboardName, String pasteboardType, String string) -> (uint64_t changeCount)
-    SetPasteboardBufferForType(String pasteboardName, String pasteboardType, WebKit::SharedMemory::Handle handle, uint64_t size) -> (uint64_t changeCount)
+    GetNumberOfFiles(String pasteboardName) -> (uint64_t numberOfFiles) LegacySync
+    GetPasteboardTypes(String pasteboardName) -> (Vector<String> types) LegacySync
+    GetPasteboardPathnamesForType(String pasteboardName, String pasteboardType) -> (Vector<String> pathnames, WebKit::SandboxExtension::HandleArray sandboxExtensions) LegacySync WantsConnection
+    GetPasteboardStringForType(String pasteboardName, String pasteboardType) -> (String string) LegacySync
+    GetPasteboardStringsForType(String pasteboardName, String pasteboardType) -> (Vector<String> strings) LegacySync
+    GetPasteboardBufferForType(String pasteboardName, String pasteboardType) -> (WebKit::SharedMemory::Handle handle, uint64_t size) LegacySync
+    PasteboardCopy(String fromPasteboard, String toPasteboard) -> (uint64_t changeCount) LegacySync
+    GetPasteboardChangeCount(String pasteboardName) -> (uint64_t changeCount) LegacySync
+    GetPasteboardUniqueName() -> (String pasteboardName) LegacySync
+    GetPasteboardColor(String pasteboardName) -> (WebCore::Color color) LegacySync
+    GetPasteboardURL(String pasteboardName) -> (String urlString) LegacySync
+    AddPasteboardTypes(String pasteboardName, Vector<String> pasteboardTypes) -> (uint64_t changeCount) LegacySync
+    SetPasteboardTypes(String pasteboardName, Vector<String> pasteboardTypes) -> (uint64_t changeCount) LegacySync
+    SetPasteboardURL(struct WebCore::PasteboardURL pasteboardURL, String pasteboardName) -> (uint64_t changeCount) LegacySync WantsConnection
+    SetPasteboardColor(String pasteboardName, WebCore::Color color) -> (uint64_t changeCount) LegacySync
+    SetPasteboardStringForType(String pasteboardName, String pasteboardType, String string) -> (uint64_t changeCount) LegacySync
+    SetPasteboardBufferForType(String pasteboardName, String pasteboardType, WebKit::SharedMemory::Handle handle, uint64_t size) -> (uint64_t changeCount) LegacySync
 #endif
 
 #if PLATFORM(GTK)
-    WriteToClipboard(String pasteboardName, struct WebKit::WebSelectionData pasteboardContent)
-    ReadFromClipboard(String pasteboardName) -> (struct WebKit::WebSelectionData pasteboardContent)
+    WriteToClipboard(String pasteboardName, struct WebKit::WebSelectionData pasteboardContent) LegacySync
+    ReadFromClipboard(String pasteboardName) -> (struct WebKit::WebSelectionData pasteboardContent) LegacySync
 #endif
 
 #if PLATFORM(WPE)
-    GetPasteboardTypes() -> (Vector<String> types)
-    ReadStringFromPasteboard(uint64_t index, String pasteboardType) -> (String string)
-    WriteWebContentToPasteboard(struct WebCore::PasteboardWebContent content)
-    WriteStringToPasteboard(String pasteboardType, String text)
+    GetPasteboardTypes() -> (Vector<String> types) LegacySync
+    ReadStringFromPasteboard(uint64_t index, String pasteboardType) -> (String string) LegacySync
+    WriteWebContentToPasteboard(struct WebCore::PasteboardWebContent content) LegacySync
+    WriteStringToPasteboard(String pasteboardType, String text) LegacySync
 #endif
 }

Modified: trunk/Source/WebKit/UIProcess/WebProcessPool.messages.in (237299 => 237300)


--- trunk/Source/WebKit/UIProcess/WebProcessPool.messages.in	2018-10-19 20:38:11 UTC (rev 237299)
+++ trunk/Source/WebKit/UIProcess/WebProcessPool.messages.in	2018-10-19 21:12:24 UTC (rev 237300)
@@ -22,7 +22,7 @@
 
 messages -> WebProcessPool {
     HandleMessage(String messageName, WebKit::UserData messageBody) WantsConnection
-    HandleSynchronousMessage(String messageName, WebKit::UserData messageBody) -> (WebKit::UserData returnData) WantsConnection
+    HandleSynchronousMessage(String messageName, WebKit::UserData messageBody) -> (WebKit::UserData returnData) LegacySync WantsConnection
 
     DidGetStatistics(struct WebKit::StatisticsData statisticsData, uint64_t callbackID)
 

Modified: trunk/Source/WebKit/UIProcess/WebProcessProxy.messages.in (237299 => 237300)


--- trunk/Source/WebKit/UIProcess/WebProcessProxy.messages.in	2018-10-19 20:38:11 UTC (rev 237299)
+++ trunk/Source/WebKit/UIProcess/WebProcessProxy.messages.in	2018-10-19 21:12:24 UTC (rev 237300)
@@ -26,7 +26,7 @@
 
     DidDestroyUserGestureToken(uint64_t userGestureTokenID) 
 
-    ShouldTerminate() -> (bool shouldTerminate)
+    ShouldTerminate() -> (bool shouldTerminate) LegacySync
 
     EnableSuddenTermination()
     DisableSuddenTermination()
@@ -33,7 +33,7 @@
 
     # Plugin messages.
 #if ENABLE(NETSCAPE_PLUGIN_API)
-    GetPlugins(bool refresh) -> (Vector<WebCore::PluginInfo> plugins, Vector<WebCore::PluginInfo> applicationPlugins, struct std::optional<Vector<WebCore::SupportedPluginIdentifier>> supportedPluginIdentifiers)
+    GetPlugins(bool refresh) -> (Vector<WebCore::PluginInfo> plugins, Vector<WebCore::PluginInfo> applicationPlugins, struct std::optional<Vector<WebCore::SupportedPluginIdentifier>> supportedPluginIdentifiers) LegacySync
     GetPluginProcessConnection(uint64_t pluginProcessToken) -> (IPC::Attachment connectionHandle, bool supportsAsynchronousInitialization) Delayed
 #endif
     GetNetworkProcessConnection() -> (IPC::Attachment connectionHandle) Delayed

Modified: trunk/Source/WebKit/UIProcess/WebStorage/StorageManager.messages.in (237299 => 237300)


--- trunk/Source/WebKit/UIProcess/WebStorage/StorageManager.messages.in	2018-10-19 20:38:11 UTC (rev 237299)
+++ trunk/Source/WebKit/UIProcess/WebStorage/StorageManager.messages.in	2018-10-19 21:12:24 UTC (rev 237300)
@@ -26,7 +26,7 @@
     CreateSessionStorageMap(uint64_t storageMapID, uint64_t storageNamespaceID, struct WebCore::SecurityOriginData securityOriginData) WantsConnection
     DestroyStorageMap(uint64_t storageMapID) WantsConnection
 
-    GetValues(uint64_t storageMapID, uint64_t storageMapSeed) -> (HashMap<String, String> values) WantsConnection
+    GetValues(uint64_t storageMapID, uint64_t storageMapSeed) -> (HashMap<String, String> values) LegacySync WantsConnection
 
     SetItem(uint64_t storageMapID, uint64_t sourceStorageAreaID, uint64_t storageMapSeed, String key, String value, String urlString) WantsConnection
     RemoveItem(uint64_t storageMapID, uint64_t sourceStorageAreaID, uint64_t storageMapSeed, String key, String urlString) WantsConnection

Modified: trunk/Source/WebKit/UIProcess/mac/SecItemShimProxy.messages.in (237299 => 237300)


--- trunk/Source/WebKit/UIProcess/mac/SecItemShimProxy.messages.in	2018-10-19 20:38:11 UTC (rev 237299)
+++ trunk/Source/WebKit/UIProcess/mac/SecItemShimProxy.messages.in	2018-10-19 21:12:24 UTC (rev 237300)
@@ -23,7 +23,7 @@
 messages -> SecItemShimProxy {
 
 #if ENABLE(SEC_ITEM_SHIM)
-    SecItemRequest(WebKit::SecItemRequestData request) -> (WebKit::SecItemResponseData response)
+    SecItemRequest(WebKit::SecItemRequestData request) -> (WebKit::SecItemResponseData response) LegacySync
 #endif
 
 }

Modified: trunk/Source/WebKit/WebProcess/Plugins/PluginProcessConnection.messages.in (237299 => 237300)


--- trunk/Source/WebKit/WebProcess/Plugins/PluginProcessConnection.messages.in	2018-10-19 20:38:11 UTC (rev 237299)
+++ trunk/Source/WebKit/WebProcess/Plugins/PluginProcessConnection.messages.in	2018-10-19 21:12:24 UTC (rev 237300)
@@ -24,7 +24,7 @@
 
 messages -> PluginProcessConnection LegacyReceiver {
     # Set a global _javascript_ exception.
-    SetException(String exceptionString) -> ()
+    SetException(String exceptionString) -> () LegacySync
 }
 
 #endif

Modified: trunk/Source/WebKit/WebProcess/Plugins/PluginProxy.messages.in (237299 => 237300)


--- trunk/Source/WebKit/WebProcess/Plugins/PluginProxy.messages.in	2018-10-19 20:38:11 UTC (rev 237299)
+++ trunk/Source/WebKit/WebProcess/Plugins/PluginProxy.messages.in	2018-10-19 21:12:24 UTC (rev 237300)
@@ -30,22 +30,22 @@
     Update(WebCore::IntRect paintedRect)
 
     # Returns a PAC style string with proxies for the given URL.
-    ProxiesForURL(String urlString) -> (String proxiesString)
+    ProxiesForURL(String urlString) -> (String proxiesString) LegacySync
 
     # Returns the cookies for the given URL.
-    CookiesForURL(String urlString) -> (String cookieString)
+    CookiesForURL(String urlString) -> (String cookieString) LegacySync
 
     # Sets the cookies for the given URL.
     SetCookiesForURL(String urlString, String cookieString)
 
     # Gets the authentication info for the given protection space.
-    GetAuthenticationInfo(WebCore::ProtectionSpace protectionSpace) -> (bool returnValue, String username, String password)
+    GetAuthenticationInfo(WebCore::ProtectionSpace protectionSpace) -> (bool returnValue, String username, String password) LegacySync
 
     # Gets a reference to the plug-in element NPObject.
-    GetPluginElementNPObject() -> (uint64_t pluginElementNPObjectID)
+    GetPluginElementNPObject() -> (uint64_t pluginElementNPObjectID) LegacySync
 
     # Evaluates the given _javascript_ string.
-    Evaluate(WebKit::NPVariantData npObjectAsVariantData, String scriptString, bool allowPopups) -> (bool returnValue, WebKit::NPVariantData resultData)
+    Evaluate(WebKit::NPVariantData npObjectAsVariantData, String scriptString, bool allowPopups) -> (bool returnValue, WebKit::NPVariantData resultData) LegacySync
 
     # Cancels the given stream load.
     CancelStreamLoad(uint64_t streamID)
@@ -72,7 +72,7 @@
 
 #if PLATFORM(X11)
     # Create the plugin container for windowed plugins
-    CreatePluginContainer() -> (uint64_t windowID)
+    CreatePluginContainer() -> (uint64_t windowID) LegacySync
 
     # Update geometry of windowed plugin widget
     WindowedPluginGeometryDidChange(WebCore::IntRect frameRect, WebCore::IntRect clipRect, uint64_t windowID)
@@ -82,10 +82,10 @@
 #endif
 
     # Tells the WebProcess that the plug-in was successfully initialized asynchronously
-    DidCreatePlugin(bool wantsWheelEvents, uint32_t remoteLayerClientID) -> ()
+    DidCreatePlugin(bool wantsWheelEvents, uint32_t remoteLayerClientID) -> () LegacySync
     
     # Tells the WebProcess that the plug-in failed to initialize.
-    DidFailToCreatePlugin() -> ()
+    DidFailToCreatePlugin() -> () LegacySync
 
     # Tells the WebProcess that the plug-in has started or stopped playing audio.
     SetPluginIsPlayingAudio(bool pluginIsPlayingAudio)

Modified: trunk/Source/WebKit/WebProcess/WebPage/WebPage.messages.in (237299 => 237300)


--- trunk/Source/WebKit/WebProcess/WebPage/WebPage.messages.in	2018-10-19 20:38:11 UTC (rev 237299)
+++ trunk/Source/WebKit/WebProcess/WebPage/WebPage.messages.in	2018-10-19 21:12:24 UTC (rev 237300)
@@ -77,10 +77,10 @@
     ReplaceSelectedText(String oldText, String newText)
     RequestAutocorrectionData(String textForAutocorrection, WebKit::CallbackID callbackID)
     ApplyAutocorrection(String correction, String originalText, WebKit::CallbackID callbackID)
-    SyncApplyAutocorrection(String correction, String originalText) -> (bool autocorrectionApplied)
+    SyncApplyAutocorrection(String correction, String originalText) -> (bool autocorrectionApplied) LegacySync
     RequestAutocorrectionContext(WebKit::CallbackID callbackID)
-    GetAutocorrectionContext() -> (String beforeContext, String markedText, String selectedText, String afterContext, uint64_t location, uint64_t length) 
-    GetPositionInformation(struct WebKit::InteractionInformationRequest request) -> (struct WebKit::InteractionInformationAtPosition information)
+    GetAutocorrectionContext() -> (String beforeContext, String markedText, String selectedText, String afterContext, uint64_t location, uint64_t length) LegacySync
+    GetPositionInformation(struct WebKit::InteractionInformationRequest request) -> (struct WebKit::InteractionInformationAtPosition information) LegacySync
     RequestPositionInformation(struct WebKit::InteractionInformationRequest request)
     StartInteractionWithElementAtPosition(WebCore::IntPoint point)
     StopInteraction()
@@ -116,7 +116,7 @@
 #endif
 
 #if ENABLE(IOS_TOUCH_EVENTS)
-    TouchEventSync(WebKit::WebTouchEvent event) -> (bool handled)
+    TouchEventSync(WebKit::WebTouchEvent event) -> (bool handled) LegacySync
 #endif
 #if !ENABLE(IOS_TOUCH_EVENTS) && ENABLE(TOUCH_EVENTS)
     TouchEvent(WebKit::WebTouchEvent event)
@@ -382,7 +382,7 @@
 #endif
 
 #if PLATFORM (GTK) && HAVE(GTK_GESTURES)
-    GetCenterForZoomGesture(WebCore::IntPoint centerInViewCoordinates) -> (WebCore::IntPoint center)
+    GetCenterForZoomGesture(WebCore::IntPoint centerInViewCoordinates) -> (WebCore::IntPoint center) LegacySync
 #endif
 
 #if PLATFORM(COCOA)
@@ -392,16 +392,16 @@
     WindowAndViewFramesChanged(WebCore::FloatRect windowFrameInScreenCoordinates, WebCore::FloatRect windowFrameInUnflippedScreenCoordinates, WebCore::FloatRect viewFrameInWindowCoordinates, WebCore::FloatPoint accessibilityViewCoordinates)
     SetMainFrameIsScrollable(bool isScrollable)
     RegisterUIProcessAccessibilityTokens(IPC::DataReference elemenToken, IPC::DataReference windowToken)
-    GetStringSelectionForPasteboard() -> (String stringValue)
-    GetDataSelectionForPasteboard(String pasteboardType) -> (WebKit::SharedMemory::Handle handle, uint64_t size)
-    ReadSelectionFromPasteboard(String pasteboardName) -> (bool result)
+    GetStringSelectionForPasteboard() -> (String stringValue) LegacySync
+    GetDataSelectionForPasteboard(String pasteboardType) -> (WebKit::SharedMemory::Handle handle, uint64_t size) LegacySync
+    ReadSelectionFromPasteboard(String pasteboardName) -> (bool result) LegacySync
 
 #if ENABLE(SERVICE_CONTROLS)
     ReplaceSelectionWithPasteboardData(Vector<String> types, IPC::DataReference data)
 #endif
 
-    ShouldDelayWindowOrderingEvent(WebKit::WebMouseEvent event) -> (bool result)
-    AcceptsFirstMouse(int eventNumber, WebKit::WebMouseEvent event) -> (bool result)
+    ShouldDelayWindowOrderingEvent(WebKit::WebMouseEvent event) -> (bool result) LegacySync
+    AcceptsFirstMouse(int eventNumber, WebKit::WebMouseEvent event) -> (bool result) LegacySync
 
     SetTextAsync(String text)
     InsertTextAsync(String text, struct WebKit::EditingRange replacementRange, bool registerUndoGroup, uint32_t editingRangeIsRelativeTo, bool suppressSelectionUpdate)

Modified: trunk/Source/WebKit/WebProcess/WebProcess.messages.in (237299 => 237300)


--- trunk/Source/WebKit/WebProcess/WebProcess.messages.in	2018-10-19 20:38:11 UTC (rev 237299)
+++ trunk/Source/WebKit/WebProcess/WebProcess.messages.in	2018-10-19 21:12:24 UTC (rev 237300)
@@ -82,9 +82,9 @@
 
     ReleasePageCache()
 
-    FetchWebsiteData(PAL::SessionID sessionID, OptionSet<WebKit::WebsiteDataType> websiteDataTypes) -> (struct WebKit::WebsiteData websiteData)
-    DeleteWebsiteData(PAL::SessionID sessionID, OptionSet<WebKit::WebsiteDataType> websiteDataTypes, WallTime modifiedSince) -> ()
-    DeleteWebsiteDataForOrigins(PAL::SessionID sessionID, OptionSet<WebKit::WebsiteDataType> websiteDataTypes, Vector<WebCore::SecurityOriginData> origins) -> ()
+    FetchWebsiteData(PAL::SessionID sessionID, OptionSet<WebKit::WebsiteDataType> websiteDataTypes) -> (struct WebKit::WebsiteData websiteData) LegacySync
+    DeleteWebsiteData(PAL::SessionID sessionID, OptionSet<WebKit::WebsiteDataType> websiteDataTypes, WallTime modifiedSince) -> () LegacySync
+    DeleteWebsiteDataForOrigins(PAL::SessionID sessionID, OptionSet<WebKit::WebsiteDataType> websiteDataTypes, Vector<WebCore::SecurityOriginData> origins) -> () LegacySync
 
     SetHiddenPageDOMTimerThrottlingIncreaseLimit(int milliseconds)
 #if PLATFORM(COCOA)
@@ -100,7 +100,7 @@
     EnsureAutomationSessionProxy(String sessionIdentifier)
     DestroyAutomationSessionProxy()
 
-    ProcessWillSuspendImminently() -> (bool handled)
+    ProcessWillSuspendImminently() -> (bool handled) LegacySync
     PrepareToSuspend()
     CancelPrepareToSuspend()
     ProcessDidResume()
@@ -129,7 +129,7 @@
     MessagesAvailableForPort(struct WebCore::MessagePortIdentifier port)
 
     UpdateActivePages()
-    GetActivePagesOriginsForTesting() -> (Vector<String> activeOrigins)
+    GetActivePagesOriginsForTesting() -> (Vector<String> activeOrigins) LegacySync
 
 #if PLATFORM(MAC)
     SetScreenProperties(struct WebCore::ScreenProperties screenProperties)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to