Branch: refs/heads/webkitglib/2.52
Home: https://github.com/WebKit/WebKit
Commit: b6d3fd2c636749531afa8ce8c6532d9ad9eef79d
https://github.com/WebKit/WebKit/commit/b6d3fd2c636749531afa8ce8c6532d9ad9eef79d
Author: Mike Gorse <[email protected]>
Date: 2026-01-25 (Sun, 25 Jan 2026)
Changed paths:
M Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp
M Source/WebKit/UIProcess/gtk/Display.cpp
M Source/WebKit/UIProcess/gtk/Display.h
M Source/WebKit/UIProcess/gtk/DisplayX11.cpp
Log Message:
-----------
Cherry-pick 306124@main (b89408b1091f).
https://bugs.webkit.org/show_bug.cgi?id=306148
AX: Remove accessibilityBusAddress from GTK display
https://bugs.webkit.org/show_bug.cgi?id=306148
Reviewed by Michael Catanzaro.
We have code to check AT_SPI_BUS_ADDRESS from the environment or query
at-spi-bus-launcher via DBus. This should suffice for finding the
accessibility bus. Historically, the address has also been stored as an
atom on the X display in order to allow applications running as the
super-user to be able to connect with accessibility clients running as a
normal user, but this is not common nowadays, and a WebKit application
running as root is going to crash anyhow when trying to execute bubblewrap.
We are sometimes obtaining an accessibility bus address that we don't have
permission to connect to, causing the process to abort later (see
https://gitlab.gnome.org/GNOME/at-spi2-core/core/-/issues/180), and this
change may help and should not do any harm.
* Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp:
(WebKit::WebProcessPool::accessibilityBusAddress const):
* Source/WebKit/UIProcess/gtk/Display.cpp:
(WebKit::Display::accessibilityBusAddress const): Deleted.
* Source/WebKit/UIProcess/gtk/Display.h:
* Source/WebKit/UIProcess/gtk/DisplayX11.cpp:
(WebKit::Display::accessibilityBusAddressX11 const): Deleted.
Canonical link: https://commits.webkit.org/306124@main
Canonical link: https://commits.webkit.org/305877.11@webkitglib/2.52
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications