Moving this from https://gitlab.gnome.org/GNOME/epiphany/-/issues/1852. Currently we have xdg-dbus-proxy create its client socket at the exact same location in the sandbox where the host session bus socket exists on the host system, so we don't have to mess with the DBUS_SESSION_BUS_ADDRESS environment variable. Problem is, if the host session bus address is an abstract socket, XDGDBusProxy::makePath simply fails. We will change dbus-daemon to not default to using abstract sockets anymore in https://gitlab.freedesktop.org/dbus/dbus/-/issues/416, but WebKit should support this anyway. Using an abstract socket for the host session bus creates a big sandbox escape if combined with host network access, but WebKit's web process usually does not have network access (unless using a non-local X server).
Pull request: https://github.com/WebKit/WebKit/pull/5011
Committed 255218@main (79f41316d99e): <https://commits.webkit.org/255218@main> Reviewed commits have been landed. Closing PR #5011 and removing active labels.