From 2dca11ad67ad30c93a1e17ae83dd13c4d2f1234b Mon Sep 17 00:00:00 2001 From: Hunter Jones Date: Thu, 21 Jan 2021 01:21:44 +0000 Subject: [PATCH] Bug 1687477: Enable multiple Picture-in-Picture support by default r=mconley Differential Revision: https://phabricator.services.mozilla.com/D102310 --- modules/libpref/init/all.js | 2 +- toolkit/components/pictureinpicture/tests/browser_multiPip.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index 6f6501b5d197..8aad7cb028c9 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -400,7 +400,7 @@ pref("media.decoder-doctor.verbose", false); pref("media.decoder-doctor.new-issue-endpoint", "https://webcompat.com/issues/new"); pref("media.videocontrols.picture-in-picture.enabled", false); -pref("media.videocontrols.picture-in-picture.allow-multiple", false); +pref("media.videocontrols.picture-in-picture.allow-multiple", true); pref("media.videocontrols.picture-in-picture.video-toggle.enabled", false); pref("media.videocontrols.picture-in-picture.video-toggle.always-show", false); pref("media.videocontrols.picture-in-picture.video-toggle.min-video-secs", 45); diff --git a/toolkit/components/pictureinpicture/tests/browser_multiPip.js b/toolkit/components/pictureinpicture/tests/browser_multiPip.js index b19d48097bb4..f4f48fc7a642 100644 --- a/toolkit/components/pictureinpicture/tests/browser_multiPip.js +++ b/toolkit/components/pictureinpicture/tests/browser_multiPip.js @@ -22,7 +22,7 @@ function getTelemetryMaxPipCount(resetMax = false) { */ add_task(async () => { return SpecialPowers.pushPrefEnv({ - set: [["media.videocontrols.picture-in-picture.allow-multiple", "true"]], + set: [["media.videocontrols.picture-in-picture.allow-multiple", true]], }); });