Bug 966805 - Disable transitions in browser_styleeditor_sourcemap_watching.js. r=bgrins

This commit is contained in:
Heather Arthur 2014-07-25 14:12:00 +02:00
parent 04fd9fc328
commit e554e8662f

View File

@ -14,7 +14,8 @@ const TESTCASE_URI_SCSS = TEST_BASE + "sourcemap-sass/sourcemaps.scss";
const TESTCASE_URI_MAP = TEST_BASE + "sourcemap-css/sourcemaps.css.map";
const TESTCASE_SCSS_NAME = "sourcemaps.scss";
const PREF = "devtools.styleeditor.source-maps-enabled";
const SOURCE_MAP_PREF = "devtools.styleeditor.source-maps-enabled";
const TRANSITIONS_PREF = "devtools.styleeditor.transitions";
const CSS_TEXT = "* { color: blue }";
@ -31,7 +32,8 @@ function test()
{
waitForExplicitFinish();
Services.prefs.setBoolPref(PREF, true);
Services.prefs.setBoolPref(SOURCE_MAP_PREF, true);
Services.prefs.setBoolPref(TRANSITIONS_PREF, false);
Task.spawn(function() {
// copy all our files over so we don't screw them up for other tests
@ -126,7 +128,8 @@ function pauseForTimeChange() {
}
function finishUp() {
Services.prefs.clearUserPref(PREF);
Services.prefs.clearUserPref(SOURCE_MAP_PREF);
Services.prefs.clearUserPref(TRANSITIONS_PREF);
finish();
}