Bug 1139723 - Turn on expensive style struct assertions for 1136010-1.html, and fix pref name typo. r=dbaron

This commit is contained in:
Cameron McCormack 2015-03-05 14:46:18 +11:00
parent a3a496f1ee
commit 008bcbebc1
3 changed files with 3 additions and 3 deletions

View File

@ -111,6 +111,6 @@ load 1028514-1.html
load 1066089-1.html
load 1074651-1.html
pref(dom.webcomponents.enabled,true) load 1089463-1.html
load 1136010-1.html
pref(layout.css.expensive-style-struct-assertions.enabled,true) load 1136010-1.html
load large_border_image_width.html
load border-image-visited-link.html

View File

@ -1397,6 +1397,6 @@ nsStyleContext::Initialize()
{
Preferences::AddBoolVarCache(
&sExpensiveStyleStructAssertionsEnabled,
"layout.css.expensive-style-struct-assertions.enabed");
"layout.css.expensive-style-struct-assertions.enabled");
}
#endif

View File

@ -4155,7 +4155,7 @@ pref("layout.css.touch_action.enabled", false);
// Enables some assertions in nsStyleContext that are too expensive
// for general use, but might be useful to enable for specific tests.
// This only has an effect in DEBUG-builds.
pref("layout.css.expensive-style-struct-assertions.enabed", false);
pref("layout.css.expensive-style-struct-assertions.enabled", false);
// enable JS dump() function.
pref("browser.dom.window.dump.enabled", false);