Bug 404077: Adjust annotations of expected assertions.

This commit is contained in:
L. David Baron 2013-02-27 16:26:50 -08:00
parent 47da81cd7a
commit 9bc6e8d039
3 changed files with 4 additions and 8 deletions

View File

@ -18,10 +18,8 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=665540
<pre id="test">
<script type="application/javascript">
if (navigator.platform.startsWith("Linux")) {
if (!navigator.platform.startsWith("Mac")) {
SimpleTest.expectAssertions(0, 3);
} else if (navigator.platform.startsWith("Win")) {
SimpleTest.expectAssertions(0, 1);
}
/** Test for Bug 665540 **/

View File

@ -39,6 +39,8 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=570192
SimpleTest.expectAssertions(0, 2);
} else if (navigator.platform.startsWith("Linux")) {
SimpleTest.expectAssertions(0, 5);
} else if (navigator.platform.startsWith("Win")) {
SimpleTest.expectAssertions(0, 1);
}
addLoadEvent(function() {

View File

@ -21,11 +21,7 @@
var gTestPhase = -1;
var gCp = null;
if (navigator.platform.startsWith("Mac")) {
SimpleTest.expectAssertions(0, 7);
} else if (navigator.platform.startsWith("Linux")) {
SimpleTest.expectAssertions(0, 5);
}
SimpleTest.expectAssertions(0, 7);
SimpleTest.waitForExplicitFinish();