Title: [293159] releases/WebKitGTK/webkit-2.36/Source/WebKit
- Revision
- 293159
- Author
- [email protected]
- Date
- 2022-04-21 02:51:40 -0700 (Thu, 21 Apr 2022)
Log Message
Merge r292628 - [WPE][2.36] Build with a11y disabled fails
https://bugs.webkit.org/show_bug.cgi?id=239004
Patch by Philippe Normand <[email protected]> on 2022-04-08
Reviewed by Michael Catanzaro.
Add accessibility build guards.
* UIProcess/Launcher/glib/XDGDBusProxy.cpp:
(WebKit::XDGDBusProxy::XDGDBusProxy):
(WebKit::XDGDBusProxy::launch const):
Modified Paths
Diff
Modified: releases/WebKitGTK/webkit-2.36/Source/WebKit/ChangeLog (293158 => 293159)
--- releases/WebKitGTK/webkit-2.36/Source/WebKit/ChangeLog 2022-04-21 09:51:36 UTC (rev 293158)
+++ releases/WebKitGTK/webkit-2.36/Source/WebKit/ChangeLog 2022-04-21 09:51:40 UTC (rev 293159)
@@ -1,3 +1,16 @@
+2022-04-08 Philippe Normand <[email protected]>
+
+ [WPE][2.36] Build with a11y disabled fails
+ https://bugs.webkit.org/show_bug.cgi?id=239004
+
+ Reviewed by Michael Catanzaro.
+
+ Add accessibility build guards.
+
+ * UIProcess/Launcher/glib/XDGDBusProxy.cpp:
+ (WebKit::XDGDBusProxy::XDGDBusProxy):
+ (WebKit::XDGDBusProxy::launch const):
+
2022-04-01 Carlos Garcia Campos <[email protected]>
REGRESSION(r290360): [GLX] Crash on process exit
Modified: releases/WebKitGTK/webkit-2.36/Source/WebKit/UIProcess/Launcher/glib/XDGDBusProxy.cpp (293158 => 293159)
--- releases/WebKitGTK/webkit-2.36/Source/WebKit/UIProcess/Launcher/glib/XDGDBusProxy.cpp 2022-04-21 09:51:36 UTC (rev 293158)
+++ releases/WebKitGTK/webkit-2.36/Source/WebKit/UIProcess/Launcher/glib/XDGDBusProxy.cpp 2022-04-21 09:51:40 UTC (rev 293159)
@@ -49,7 +49,9 @@
m_dbusAddress = g_getenv("DBUS_SESSION_BUS_ADDRESS");
break;
case Type::AccessibilityBus:
+#if ENABLE(ACCESSIBILITY)
m_dbusAddress = WebCore::PlatformDisplay::sharedDisplay().accessibilityBusAddress().utf8();
+#endif
break;
}
@@ -156,6 +158,7 @@
break;
}
case Type::AccessibilityBus:
+#if ENABLE(ACCESSIBILITY)
proxyArgs.appendVector(Vector<CString> {
"--sloppy-names",
"--call=org.a11y.atspi.Registry=org.a11y.atspi.Socket.Embed@/org/a11y/atspi/accessible/root",
@@ -166,6 +169,7 @@
"--call=org.a11y.atspi.Registry=org.a11y.atspi.DeviceEventController.NotifyListenersSync@/org/a11y/atspi/registry/deviceeventcontroller",
"--call=org.a11y.atspi.Registry=org.a11y.atspi.DeviceEventController.NotifyListenersAsync@/org/a11y/atspi/registry/deviceeventcontroller",
});
+#endif
break;
}
@@ -197,8 +201,10 @@
ProcessLauncher::LaunchOptions launchOptions;
launchOptions.processType = ProcessLauncher::ProcessType::DBusProxy;
+#if ENABLE(ACCESSIBILITY)
if (m_type == Type::AccessibilityBus && !m_path.isNull())
launchOptions.extraSandboxPaths.add(m_path, SandboxPermission::ReadOnly);
+#endif
GUniqueOutPtr<GError> error;
GRefPtr<GSubprocess> process = bubblewrapSpawn(launcher.get(), launchOptions, argv, &error.outPtr());
if (!process)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes