Bug 671976 - Allow for up to two occurrences of this assertion on Windows.
authorMs2ger <ms2ger@gmail.com>
Sat, 02 Mar 2013 10:14:44 +0100
changeset 123552 38d783eae64ee8ba08ddb27df2c6716b25c085ca
parent 123551 0546579b0c06ed6277258c18943dcc6ae6295c0f
child 123553 2bff7f5e13a4bdadcb0c218f5ebc5889d83411de
push id23911
push userMs2ger@gmail.com
push dateSat, 02 Mar 2013 09:16:20 +0000
treeherdermozilla-inbound@2bff7f5e13a4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs671976
milestone22.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 671976 - Allow for up to two occurrences of this assertion on Windows.
layout/base/tests/chrome/test_printpreview_bug482976.xul
--- a/layout/base/tests/chrome/test_printpreview_bug482976.xul
+++ b/layout/base/tests/chrome/test_printpreview_bug482976.xul
@@ -14,18 +14,17 @@ https://bugzilla.mozilla.org/show_bug.cg
    target="_blank">Mozilla Bug 482976</a>
 </body>
   <!-- test code goes here -->
 <script type="application/javascript">
 <![CDATA[
 if (navigator.platform.startsWith("Linux")) {
   SimpleTest.expectAssertions(1); // bug 671976
 } else if (navigator.platform.startsWith("Win")) {
-  // reliable 1 on Win7, but not on XP
-  SimpleTest.expectAssertions(0, 1); // bug 671976
+  SimpleTest.expectAssertions(0, 2); // bug 671976
 }
 
 SimpleTest.waitForExplicitFinish();
 function parentFinish() {
   // This is called while the helper window is still open.  Call
   // doGC after it closes.
   setTimeout(doGC, 0);
 }