Bug 1527925 - Enable User-Initiated Picture-in-Picture on Windows, Nightly-only. r=jaws
authorMike Conley <mconley@mozilla.com>
Thu, 18 Apr 2019 03:24:41 +0000
changeset 470085 7cad4b1dec5a2e01ed292916c3f1041ff5f56a68
parent 470084 cf401bd4f303802872b60df37725618039d0a169
child 470086 63ad38adf1424b50ee6047a900497c200aa4807e
push id35888
push useraiakab@mozilla.com
push dateFri, 19 Apr 2019 09:47:45 +0000
treeherdermozilla-central@0160424142d1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws
bugs1527925
milestone68.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 1527925 - Enable User-Initiated Picture-in-Picture on Windows, Nightly-only. r=jaws Depends on D27806 Differential Revision: https://phabricator.services.mozilla.com/D27807
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -421,18 +421,23 @@ pref("media.decoder-doctor.notifications
 #endif
 pref("media.decoder-doctor.decode-errors-allowed", "");
 pref("media.decoder-doctor.decode-warnings-allowed", "");
 // Whether we report partial failures.
 pref("media.decoder-doctor.verbose", false);
 // URL to report decode issues
 pref("media.decoder-doctor.new-issue-endpoint", "https://webcompat.com/issues/new");
 
+#if defined(NIGHTLY_BUILD) && defined(XP_WIN)
+pref("media.videocontrols.picture-in-picture.enabled", true);
+pref("media.videocontrols.picture-in-picture.video-toggle.enabled", true);
+#else
 pref("media.videocontrols.picture-in-picture.enabled", false);
 pref("media.videocontrols.picture-in-picture.video-toggle.enabled", false);
+#endif
 pref("media.videocontrols.picture-in-picture.video-toggle.flyout-enabled", false);
 pref("media.videocontrols.picture-in-picture.video-toggle.flyout-wait-ms", 5000);
 
 #ifdef MOZ_WEBRTC
 pref("media.navigator.enabled", true);
 pref("media.navigator.video.enabled", true);
 pref("media.navigator.video.default_fps",30);
 pref("media.navigator.video.use_remb", true);