Title: [284813] branches/safari-612-branch/Source/WebKit
Revision
284813
Author
[email protected]
Date
2021-10-25 12:10:17 -0700 (Mon, 25 Oct 2021)

Log Message

Cherry-pick r284712. rdar://problem/81586485

    AX: Inform AX when the injected bundle sends a synchronous message
    https://bugs.webkit.org/show_bug.cgi?id=232159

    Reviewed by Andres Gonzalez.

    When an injected bundle sends a synchronous message we need to inform accessibility clients, so they don't get
    stuck trying to message the WebContent process. This is already handled for synchronous messages
    generated from the WebPage.

    * WebProcess/InjectedBundle/InjectedBundle.cpp:
    (WebKit::InjectedBundle::postSynchronousMessage):

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

Modified Paths

Diff

Modified: branches/safari-612-branch/Source/WebKit/ChangeLog (284812 => 284813)


--- branches/safari-612-branch/Source/WebKit/ChangeLog	2021-10-25 19:10:14 UTC (rev 284812)
+++ branches/safari-612-branch/Source/WebKit/ChangeLog	2021-10-25 19:10:17 UTC (rev 284813)
@@ -1,5 +1,38 @@
 2021-10-25  Null  <[email protected]>
 
+        Cherry-pick r284712. rdar://problem/81586485
+
+    AX: Inform AX when the injected bundle sends a synchronous message
+    https://bugs.webkit.org/show_bug.cgi?id=232159
+    
+    Reviewed by Andres Gonzalez.
+    
+    When an injected bundle sends a synchronous message we need to inform accessibility clients, so they don't get
+    stuck trying to message the WebContent process. This is already handled for synchronous messages
+    generated from the WebPage.
+    
+    * WebProcess/InjectedBundle/InjectedBundle.cpp:
+    (WebKit::InjectedBundle::postSynchronousMessage):
+    
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@284712 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2021-10-22  Chris Fleizach  <[email protected]>
+
+            AX: Inform AX when the injected bundle sends a synchronous message
+            https://bugs.webkit.org/show_bug.cgi?id=232159
+
+            Reviewed by Andres Gonzalez.
+
+            When an injected bundle sends a synchronous message we need to inform accessibility clients, so they don't get
+            stuck trying to message the WebContent process. This is already handled for synchronous messages
+            generated from the WebPage.
+
+            * WebProcess/InjectedBundle/InjectedBundle.cpp:
+            (WebKit::InjectedBundle::postSynchronousMessage):
+
+2021-10-25  Null  <[email protected]>
+
         Cherry-pick r284644. rdar://problem/84153991
 
     Rare crash under DisplayLink::displayLinkCallback()

Modified: branches/safari-612-branch/Source/WebKit/WebProcess/InjectedBundle/InjectedBundle.cpp (284812 => 284813)


--- branches/safari-612-branch/Source/WebKit/WebProcess/InjectedBundle/InjectedBundle.cpp	2021-10-25 19:10:14 UTC (rev 284812)
+++ branches/safari-612-branch/Source/WebKit/WebProcess/InjectedBundle/InjectedBundle.cpp	2021-10-25 19:10:17 UTC (rev 284813)
@@ -142,7 +142,7 @@
 
     auto& webProcess = WebProcess::singleton();
     if (!webProcess.parentProcessConnection()->sendSync(Messages::WebProcessPool::HandleSynchronousMessage(messageName, UserData(webProcess.transformObjectsToHandles(messageBody))),
-        Messages::WebProcessPool::HandleSynchronousMessage::Reply(returnUserData), 0))
+        Messages::WebProcessPool::HandleSynchronousMessage::Reply(returnUserData), 0, IPC::Timeout::infinity(), IPC::SendSyncOption::InformPlatformProcessWillSuspend))
         returnData = nullptr;
     else
         returnData = webProcess.transformHandlesToObjects(returnUserData.object());
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to