mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 21:35:39 +00:00
Bug 966805 - Disable transitions in browser_styleeditor_sourcemap_watching.js. r=bgrins
This commit is contained in:
parent
04fd9fc328
commit
e554e8662f
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user