Title: [284712] trunk/Source/WebKit
- Revision
- 284712
- Author
- [email protected]
- Date
- 2021-10-22 13:45:28 -0700 (Fri, 22 Oct 2021)
Log Message
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):
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (284711 => 284712)
--- trunk/Source/WebKit/ChangeLog 2021-10-22 20:22:52 UTC (rev 284711)
+++ trunk/Source/WebKit/ChangeLog 2021-10-22 20:45:28 UTC (rev 284712)
@@ -1,3 +1,17 @@
+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-22 Alex Christensen <[email protected]>
Use C++17 nested namespace syntax for WebKit::PCM
Modified: trunk/Source/WebKit/WebProcess/InjectedBundle/InjectedBundle.cpp (284711 => 284712)
--- trunk/Source/WebKit/WebProcess/InjectedBundle/InjectedBundle.cpp 2021-10-22 20:22:52 UTC (rev 284711)
+++ trunk/Source/WebKit/WebProcess/InjectedBundle/InjectedBundle.cpp 2021-10-22 20:45:28 UTC (rev 284712)
@@ -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