Bug 1561298 - Allow User-initiated Picture-in-Picture to ride out to early beta / dev edition. r=Gijs

This also moves the enabling of the feature out from all.js into firefox.js, where it should
probably have been all along.

Differential Revision: https://phabricator.services.mozilla.com/D35809

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Mike Conley 2019-06-27 17:26:03 +00:00
Родитель cebb0662f3
Коммит 0642f949c2
2 изменённых файлов: 7 добавлений и 5 удалений

Просмотреть файл

@ -1496,6 +1496,13 @@ pref("media.autoplay.block-webaudio", true);
pref("media.autoplay.block-webaudio", false);
#endif
#if defined(XP_WIN)
#if defined(EARLY_BETA_OR_EARLIER) || defined(MOZ_DEV_EDITION)
pref("media.videocontrols.picture-in-picture.enabled", true);
pref("media.videocontrols.picture-in-picture.video-toggle.enabled", true);
#endif
#endif
// Play with different values of the decay time and get telemetry,
// 0 means to randomize (and persist) the experiment value in users' profiles,
// -1 means no experiment is run and we use the preferred value for frecency (6h)

Просмотреть файл

@ -342,13 +342,8 @@ 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);
pref("media.videocontrols.picture-in-picture.video-toggle.always-show", false);