Bug 1322606: Don't hide MediaError::message behind a pref. r=Ehsan

MozReview-Commit-ID: y2Wbf7amvQ

--HG--
extra : rebase_source : ba2283adc0cce64fc3facec43d1bd15a3ca2fd14
This commit is contained in:
Jean-Yves Avenard 2016-12-08 16:31:51 -10:00
parent 96cd40a062
commit 3a04c5d513
3 changed files with 0 additions and 9 deletions

View File

@ -55,7 +55,6 @@ SimpleTest.waitForExplicitFinish();
SpecialPowers.pushPrefEnv({
"set": [
["media.cache_size", 40000],
["dom.MediaError.message.enabled", true]
]
}, beginTest);
function beginTest() {

View File

@ -20,6 +20,5 @@ interface MediaError {
[Constant]
readonly attribute unsigned short code;
[Pref="dom.MediaError.message.enabled"]
readonly attribute DOMString message;
};

View File

@ -305,13 +305,6 @@ pref("mathml.disabled", false);
// Enable scale transform for stretchy MathML operators. See bug 414277.
pref("mathml.scale_stretchy_operators.enabled", true);
// Disable MediaError.message.
#ifdef RELEASE_OR_BETA
pref("dom.MediaError.message.enabled", false);
#else
pref("dom.MediaError.message.enabled", true);
#endif
// Enabled on nightly only until we fix mochitest failures.
#ifdef NIGHTLY_BUILD
pref("media.dormant-on-pause-timeout-ms", 5000);