[webkit-changes] [WebKit/WebKit] c31963: [GLIB] Fix MPRIS in flatpak sandbox

Patrick noreply at github.com
Mon Nov 14 08:27:06 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c319637f7e9ced0eda7771939677a6752bb69d93
      https://github.com/WebKit/WebKit/commit/c319637f7e9ced0eda7771939677a6752bb69d93
  Author: Patrick Griffis <pgriffis at igalia.com>
  Date:   2022-11-14 (Mon, 14 Nov 2022)

  Changed paths:
    M Source/WebCore/platform/audio/glib/MediaSessionGLib.cpp
    M Source/WebKit/UIProcess/Launcher/glib/XDGDBusProxy.cpp

  Log Message:
  -----------
  [GLIB] Fix MPRIS in flatpak sandbox
https://bugs.webkit.org/show_bug.cgi?id=245221

Reviewed by Michael Catanzaro.

Currently MPRIS works in our bubblewrap sandbox but not in flatpak.

As of https://github.com/flatpak/flatpak/commit/6540f85511739028c0f8eb496ae64dcc73d40a28
it can function inside of flatpak but needs to be named `org.mpris.MediaPlayer2.%s.Sandboxed.*`.

* Source/WebCore/platform/audio/glib/MediaSessionGLib.cpp:
(WebCore::MediaSessionGLib::ensureMprisSessionRegistered):
* Source/WebKit/UIProcess/Launcher/glib/XDGDBusProxy.cpp:
(WebKit::XDGDBusProxy::dbusSessionProxy):

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




More information about the webkit-changes mailing list