Bug 827713 - Adjust expected assertion annotations to fix WinXP debug mochitest orange.
☠☠ backed out by a59ad3157c17 ☠ ☠
authorRyan VanderMeulen <ryanvm@gmail.com>
Mon, 29 Jul 2013 15:13:50 -0400
changeset 152712 014cc3de08fb8156f4f4391732284a2e09639eed
parent 152711 c45025e765862751c464e3a32b39be25fe0d2646
child 152713 a59ad3157c17f3df0a132979f428c65211e4ce23
push id2859
push userakeybl@mozilla.com
push dateMon, 16 Sep 2013 19:14:59 +0000
treeherdermozilla-beta@87d3c51cd2bf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs827713
milestone25.0a1
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
Bug 827713 - Adjust expected assertion annotations to fix WinXP debug mochitest orange.
layout/mathml/tests/test_bug827713-2.html
--- a/layout/mathml/tests/test_bug827713-2.html
+++ b/layout/mathml/tests/test_bug827713-2.html
@@ -4,17 +4,21 @@ https://bugzilla.mozilla.org/show_bug.cg
 -->
 <html>
   <head>
     <title>Test for error handling aspect of Bug 827713</title>
     <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
     <script type="application/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
     <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
     <script type="application/javascript">
-      SimpleTest.expectAssertions(22);
+      if (navigator.platform.indexOf("Win") == 0) {
+        SimpleTest.expectAssertions(20, 22);
+      } else {
+        SimpleTest.expectAssertions(22);
+      }
 
       var stringBundleService = 
         SpecialPowers.Cc["@mozilla.org/intl/stringbundle;1"]
                     .getService(SpecialPowers.Ci.nsIStringBundleService);
       var g_bundl =
         stringBundleService.createBundle("chrome://global/locale/mathml/mathml.properties");
       
       var g_errorInfo = {