Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d0c317ee7c58dddf5d45153ebd901ab96b20f2ae
      
https://github.com/WebKit/WebKit/commit/d0c317ee7c58dddf5d45153ebd901ab96b20f2ae
  Author: Carlos Alberto Lopez Perez <[email protected]>
  Date:   2026-05-20 (Wed, 20 May 2026)

  Changed paths:
    M Tools/Scripts/webkitpy/port/linux_container_sdk_utils.py
    M Tools/Scripts/webkitpy/port/linux_container_sdk_utils_unittest.py

  Log Message:
  -----------
  [GTK][WPE][Tools] Improve bind mount of AT-SPI socket for 
container-sdk-autoenter
https://bugs.webkit.org/show_bug.cgi?id=315187

Reviewed by Nikolas Zimmermann.

The current code on container-sdk-autoenter only checks the socket at env var
AT_SPI_BUS_ADDRESS (usually undefined) or at the usual place, but it could
also ask dbus for where this socket is.

* Tools/Scripts/webkitpy/port/linux_container_sdk_utils.py:
(_strip_unix_path_prefix):
(_get_at_spi_bus_socket_or_dir_and_var):
(_get_at_spi_bus_socket_or_dir_and_var._socket_or_none):
(_build_podman_run_args):
* Tools/Scripts/webkitpy/port/linux_container_sdk_utils_unittest.py:
(StripUnixPathPrefixTest):
(StripUnixPathPrefixTest.test_at_spi_bus_path):
(GetAtSpiBusDirTest):
(GetAtSpiBusDirTest.setUp):
(GetAtSpiBusDirTest._close_sockets):
(GetAtSpiBusDirTest._make_socket):
(GetAtSpiBusDirTest._mock_gdbus):
(GetAtSpiBusDirTest.test_env_var_points_to_socket):
(GetAtSpiBusDirTest.test_env_var_missing_socket_falls_through):
(GetAtSpiBusDirTest.test_env_var_regular_file_falls_through):
(GetAtSpiBusDirTest.test_gdbus_returns_socket):
(GetAtSpiBusDirTest.test_gdbus_missing_socket_falls_through):
(GetAtSpiBusDirTest.test_gdbus_not_installed_falls_through):
(GetAtSpiBusDirTest.test_gdbus_timeout_falls_through):
(GetAtSpiBusDirTest.test_gdbus_malformed_output_falls_through):
(GetAtSpiBusDirTest.test_falls_back_to_xdg_dir):
(GetAtSpiBusDirTest.test_returns_none_when_nothing_resolves):
(ContainerSDKHelpersTest): Deleted.
(ContainerSDKHelpersTest.test_dbus_standard_path): Deleted.
(ContainerSDKHelpersTest.test_dbus_autolaunch_path): Deleted.
(ContainerSDKHelpersTest.test_pulse_server_path): Deleted.
(ContainerSDKHelpersTest.test_at_spi_bus_path): Deleted.

Canonical link: https://commits.webkit.org/313570@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to