Bug 1493549 - Enable media.navigator.streams.fake in WPT r=jgraham
☠☠ backed out by fe7d39a0800c ☠ ☠
authorRobert Ma <bob1211@gmail.com>
Mon, 24 Sep 2018 09:08:45 +0000
changeset 437859 6f81edbb4e875c36873586cea21f5b3d5a1497f8
parent 437858 cf4cc2623a5b273ae0672ee83f83a72042652b77
child 437860 c808e4d6fb53d795b1e2712a126565f3698976c9
push id69808
push userjames@hoppipolla.co.uk
push dateMon, 24 Sep 2018 09:09:31 +0000
treeherderautoland@6f81edbb4e87 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjgraham
bugs1493549
milestone64.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1493549 - Enable media.navigator.streams.fake in WPT r=jgraham Differential Revision: https://phabricator.services.mozilla.com/D6579
testing/profiles/web-platform/user.js
--- a/testing/profiles/web-platform/user.js
+++ b/testing/profiles/web-platform/user.js
@@ -5,16 +5,18 @@ user_pref("browser.sessionstore.resume_f
 // Only install add-ons from the profile and the application scope
 // Also ensure that those are not getting disabled.
 // see: https://developer.mozilla.org/en/Installing_extensions
 user_pref("extensions.autoDisableScopes", 10);
 // Don't open a dialog to show available add-on updates
 user_pref("extensions.update.notifyUser", false);
 // Enable test mode to run multiple tests in parallel
 user_pref("focusmanager.testmode", true);
+// Enable fake media streams for getUserMedia
+user_pref("media.navigator.streams.fake", true);
 // Enable pre-fetching of resources
 user_pref("network.preload", true);
 // Enable direct connection
 user_pref("network.proxy.type", 0);
 // Web-platform-tests load a lot of URLs very quickly. This puts avoidable and
 // unnecessary I/O pressure on the Places DB (measured to be in the
 // gigabytes).
 user_pref("places.history.enabled", false);