Backout 3b91d62ca343 and 662d0cd47316 for test failures
authorMark Finkle <mfinkle@mozilla.com>
Thu, 17 Jan 2013 20:44:46 -0500
changeset 119222 074f935b494a81e1aba3bcdb6fae3490aee35455
parent 119221 0c5b6c433508cb8ce80685fb336be2b9021e76e4
child 119223 4f0b7a4daacf6405c06030b303e25e1d4ed82c7e
push id24195
push userMs2ger@gmail.com
push dateSat, 19 Jan 2013 16:10:11 +0000
treeherdermozilla-central@02e12a80aef9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone21.0a1
backs out3b91d62ca343b21117de3e5da587faed97a3ca21
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backout 3b91d62ca343 and 662d0cd47316 for test failures
content/base/test/test_bug513194.html
layout/style/test/test_bug413958.html
layout/style/test/test_parser_diagnostics_unprintables.html
mobile/android/app/mobile.js
--- a/content/base/test/test_bug513194.html
+++ b/content/base/test/test_bug513194.html
@@ -12,21 +12,17 @@ https://bugzilla.mozilla.org/show_bug.cg
 <body>
 <a target="_blank"
    href="https://bugzilla.mozilla.org/show_bug.cgi?id=631615"
    >Mozilla Bug 513194</a>
 <script>
 // The use of document.write is deliberate.  We are testing for the
 // HTML parser to call the CSS parser once and only once when it
 // encounters a new <style> element.
-function doTest() {
-  SimpleTest.runTestExpectingConsoleMessages(
-    function () { document.write("<style>qux { foo : bar; }<\/style>") },
-    [{ errorMessage: /Unknown property/ }]
-  );
-}
 
-SpecialPowers.pushPrefEnv({'set':[["layout.css.report_errors", true]]},
-                          function() { doTest(); });
+SimpleTest.runTestExpectingConsoleMessages(
+  function () { document.write("<style>qux { foo : bar; }<\/style>") },
+  [{ errorMessage: /Unknown property/ }]
+);
 </script>
 </body>
 </html>
 
--- a/layout/style/test/test_bug413958.html
+++ b/layout/style/test/test_bug413958.html
@@ -67,13 +67,12 @@ function doTest() {
     }
     SimpleTest.finish();
   } else {
     SimpleTest.expectConsoleMessages(tests[curTest], results[curTest], doTest);
   }
 }
 
 SimpleTest.waitForExplicitFinish();
-SpecialPowers.pushPrefEnv({'set':[["layout.css.report_errors", true]]},
-                          function() { doTest(); });
+doTest();
 </script>
 </body>
 </html>
--- a/layout/style/test/test_parser_diagnostics_unprintables.html
+++ b/layout/style/test/test_parser_diagnostics_unprintables.html
@@ -208,13 +208,12 @@ function nextTest() {
   let msg = quotemeta(subst(patterns[curpat].o, substitutions[cursubst]));
 
   SimpleTest.expectConsoleMessages(function () { testbench.innerHTML = css },
                                    [{ errorMessage: new RegExp(msg) }],
                                    nextTest);
 }
 
 SimpleTest.waitForExplicitFinish();
-SpecialPowers.pushPrefEnv({'set':[["layout.css.report_errors", true]]},
-                          function() { nextTest(); });
+nextTest();
 </script>
 </body>
 </html>
--- a/mobile/android/app/mobile.js
+++ b/mobile/android/app/mobile.js
@@ -117,17 +117,16 @@ pref("browser.sessionstore.max_tabs_undo
 pref("browser.sessionstore.max_resumed_crashes", 1);
 pref("browser.sessionstore.recent_crashes", 0);
 
 /* these should help performance */
 pref("mozilla.widget.force-24bpp", true);
 pref("mozilla.widget.use-buffer-pixmap", true);
 pref("mozilla.widget.disable-native-theme", true);
 pref("layout.reflow.synthMouseMove", false);
-pref("layout.css.report_errors", false);
 
 /* download manager (don't show the window or alert) */
 pref("browser.download.useDownloadDir", true);
 pref("browser.download.folderList", 1); // Default to ~/Downloads
 pref("browser.download.manager.showAlertOnComplete", false);
 pref("browser.download.manager.showAlertInterval", 2000);
 pref("browser.download.manager.retention", 2);
 pref("browser.download.manager.showWhenStarting", false);