Skip to content

Commit

Permalink
Bug 1139723 - Turn on expensive style struct assertions for 1136010-1…
Browse files Browse the repository at this point in the history
….html, and fix pref name typo. r=dbaron
  • Loading branch information
heycam committed Mar 5, 2015
1 parent 5888c6d commit eff3f9d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion layout/style/crashtests/crashtests.list
Expand Up @@ -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
2 changes: 1 addition & 1 deletion layout/style/nsStyleContext.cpp
Expand Up @@ -1397,6 +1397,6 @@ nsStyleContext::Initialize()
{
Preferences::AddBoolVarCache(
&sExpensiveStyleStructAssertionsEnabled,
"layout.css.expensive-style-struct-assertions.enabed");
"layout.css.expensive-style-struct-assertions.enabled");
}
#endif
2 changes: 1 addition & 1 deletion modules/libpref/init/all.js
Expand Up @@ -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);
Expand Down

0 comments on commit eff3f9d

Please sign in to comment.