⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 267351 in webkit


Ignore:
Timestamp:
Sep 21, 2020, 12:00:46 PM (6 years ago)
Author:
commit-queue@webkit.org
Message:

[GTK][WPE] WKTR has lost access to Pulseaudio
https://bugs.webkit.org/show_bug.cgi?id=216745

Patch by Philippe Normand <pnormand@igalia.com> on 2020-09-21
Reviewed by Carlos Garcia Campos.

Let Pulseaudio env vars pass through in the test environment, this is specially needed when
the test harness runs in the Flatpak sandbox.

  • Scripts/webkitpy/port/gtk.py:

(GtkPort.setup_environ_for_server):

  • Scripts/webkitpy/port/wpe.py:

(WPEPort.setup_environ_for_server):

Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r267350 r267351  
     12020-09-21  Philippe Normand  <pnormand@igalia.com>
     2
     3        [GTK][WPE] WKTR has lost access to Pulseaudio
     4        https://bugs.webkit.org/show_bug.cgi?id=216745
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        Let Pulseaudio env vars pass through in the test environment, this is specially needed when
     9        the test harness runs in the Flatpak sandbox.
     10
     11        * Scripts/webkitpy/port/gtk.py:
     12        (GtkPort.setup_environ_for_server):
     13        * Scripts/webkitpy/port/wpe.py:
     14        (WPEPort.setup_environ_for_server):
     15
    1162020-09-21  Philippe Normand  <pnormand@igalia.com>
    217
  • trunk/Tools/Scripts/webkitpy/port/gtk.py

    r267350 r267351  
    129129        self._copy_value_from_environ_if_set(environment, 'WEBKIT_DEBUG')
    130130        self._copy_value_from_environ_if_set(environment, 'WEBKIT_GST_USE_PLAYBIN3')
     131        self._copy_value_from_environ_if_set(environment, 'PULSE_SERVER')
     132        self._copy_value_from_environ_if_set(environment, 'PULSE_CLIENTCONFIG')
    131133        for gst_variable in ('DEBUG', 'DEBUG_DUMP_DOT_DIR', 'DEBUG_FILE', 'DEBUG_NO_COLOR',
    132134                             'PLUGIN_SCANNER', 'PLUGIN_PATH', 'PLUGIN_SYSTEM_PATH', 'REGISTRY',
  • trunk/Tools/Scripts/webkitpy/port/wpe.py

    r267350 r267351  
    8989        self._copy_value_from_environ_if_set(environment, 'WEBKIT_DEBUG')
    9090        self._copy_value_from_environ_if_set(environment, 'LIBGL_ALWAYS_SOFTWARE')
     91        self._copy_value_from_environ_if_set(environment, 'PULSE_SERVER')
     92        self._copy_value_from_environ_if_set(environment, 'PULSE_CLIENTCONFIG')
    9193        self._copy_value_from_environ_if_set(environment, 'XR_RUNTIME_JSON')
    9294        self._copy_value_from_environ_if_set(environment, 'WEBKIT_GST_USE_PLAYBIN3')
Note: See TracChangeset for help on using the changeset viewer.