Title: [228350] trunk/Source/WebKit
- Revision
- 228350
- Author
- n_w...@apple.com
- Date
- 2018-02-09 17:46:04 -0800 (Fri, 09 Feb 2018)
Log Message
AX: Accessibility is not notified when a web process cancels the suspension
https://bugs.webkit.org/show_bug.cgi?id=182659
Reviewed by Ryosuke Niwa.
We were notifying Accessibility with the web process suspended information in actualPrepareToSuspend
and processDidResume. However, the suspension can be canceled during the prepare call. So that we
should also post a notification in cancelPrepareToSuspend.
* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::cancelPrepareToSuspend):
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (228349 => 228350)
--- trunk/Source/WebKit/ChangeLog 2018-02-10 01:24:49 UTC (rev 228349)
+++ trunk/Source/WebKit/ChangeLog 2018-02-10 01:46:04 UTC (rev 228350)
@@ -1,3 +1,17 @@
+2018-02-09 Nan Wang <n_w...@apple.com>
+
+ AX: Accessibility is not notified when a web process cancels the suspension
+ https://bugs.webkit.org/show_bug.cgi?id=182659
+
+ Reviewed by Ryosuke Niwa.
+
+ We were notifying Accessibility with the web process suspended information in actualPrepareToSuspend
+ and processDidResume. However, the suspension can be canceled during the prepare call. So that we
+ should also post a notification in cancelPrepareToSuspend.
+
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::cancelPrepareToSuspend):
+
2018-02-09 Brent Fulgham <bfulg...@apple.com>
Sandbox violating attempting to read log formatting preference file
Modified: trunk/Source/WebKit/WebProcess/WebProcess.cpp (228349 => 228350)
--- trunk/Source/WebKit/WebProcess/WebProcess.cpp 2018-02-10 01:24:49 UTC (rev 228349)
+++ trunk/Source/WebKit/WebProcess/WebProcess.cpp 2018-02-10 01:46:04 UTC (rev 228350)
@@ -1407,6 +1407,10 @@
return;
cancelMarkAllLayersVolatile();
+
+#if PLATFORM(IOS)
+ accessibilityProcessSuspendedNotification(false);
+#endif
RELEASE_LOG(ProcessSuspension, "%p - WebProcess::cancelPrepareToSuspend() Sending DidCancelProcessSuspension IPC message", this);
parentProcessConnection()->send(Messages::WebProcessProxy::DidCancelProcessSuspension(), 0);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes