forked from mirrors/gecko-dev
Bug 1750998 - Enable loading site-specific wrapper scripts on debug builds. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D136739
This commit is contained in:
parent
aa17a27a98
commit
f982fe8d5b
2 changed files with 3 additions and 4 deletions
|
|
@ -14,5 +14,4 @@ prefs =
|
||||||
media.videocontrols.picture-in-picture.video-toggle.position="right"
|
media.videocontrols.picture-in-picture.video-toggle.position="right"
|
||||||
|
|
||||||
[browser_mock_wrapper.js]
|
[browser_mock_wrapper.js]
|
||||||
skip-if =
|
skip-if = !nightly_build # Bug 1751793
|
||||||
debug || !nightly_build # Bug 1749819
|
|
||||||
|
|
|
||||||
|
|
@ -1404,9 +1404,9 @@ class PictureInPictureChild extends JSWindowActorChild {
|
||||||
|
|
||||||
// gSiteOverrides is a list of tuples where the first element is the MatchPattern
|
// gSiteOverrides is a list of tuples where the first element is the MatchPattern
|
||||||
// for a supported site and the second is the actual overrides object for it.
|
// for a supported site and the second is the actual overrides object for it.
|
||||||
// TODO: Remove DEBUG and NIGHTLY_BUILD checks (see Bug 1750998).
|
// TODO: Remove NIGHTLY_BUILD check (see Bug 1751793).
|
||||||
let wrapperPath =
|
let wrapperPath =
|
||||||
AppConstants.NIGHTLY_BUILD && !AppConstants.DEBUG && overrides
|
AppConstants.NIGHTLY_BUILD && overrides
|
||||||
? overrides[1].videoWrapperScriptPath
|
? overrides[1].videoWrapperScriptPath
|
||||||
: null;
|
: null;
|
||||||
this.videoWrapper = new PictureInPictureChildVideoWrapper(
|
this.videoWrapper = new PictureInPictureChildVideoWrapper(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue