Bug 1127288 - fix test failure caused by conditional DRM content hiding, rs=bustage on a CLOSED TREE

--HG--
extra : amend_source : c3eb8a7d6738516845d1c0d9db933fb243f43f57
This commit is contained in:
Gijs Kruitbosch 2015-02-05 13:39:06 +00:00
parent ea5e7de4d5
commit 4462183c09

View File

@ -27,6 +27,7 @@ function checkElements(expectedPane) {
}
function runTest(win) {
Services.prefs.setBoolPref("browser.eme.ui.enabled", true);
is(gBrowser.currentURI.spec, "about:preferences", "about:preferences loaded");
let tab = win.document;
@ -44,5 +45,6 @@ function runTest(win) {
gBrowser.removeCurrentTab();
win.close();
Services.prefs.clearUserPref("browser.eme.ui.enabled");
finish();
}