mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Bug 404077: Adjust annotations of expected assertions.
This commit is contained in:
parent
94bba45e4d
commit
6e252ebd21
@ -13,7 +13,9 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=413310
|
||||
<p id="display">
|
||||
<script class="testbody" type="text/javascript">
|
||||
|
||||
if (navigator.platform.startsWith("Win")) {
|
||||
if (navigator.platform.startsWith("Mac")) {
|
||||
SimpleTest.expectAssertions(0, 2);
|
||||
} else {
|
||||
SimpleTest.expectAssertions(0, 1);
|
||||
}
|
||||
|
||||
|
@ -27,9 +27,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=469774
|
||||
|
||||
<script class="testbody" type="application/javascript;version=1.7"><![CDATA[
|
||||
|
||||
if (navigator.platform.startsWith("Win")) {
|
||||
SimpleTest.expectAssertions(0, 3);
|
||||
}
|
||||
SimpleTest.expectAssertions(0, 3);
|
||||
|
||||
/** Test for Bug 469774 **/
|
||||
|
||||
|
@ -17,9 +17,8 @@
|
||||
<!-- test code goes here -->
|
||||
<script type="application/javascript">
|
||||
<![CDATA[
|
||||
if (!navigator.platform.startsWith("Linux")) {
|
||||
SimpleTest.expectAssertions(0, 7);
|
||||
}
|
||||
|
||||
SimpleTest.expectAssertions(0, 7);
|
||||
|
||||
var gNotificationBox;
|
||||
|
||||
|
@ -23,6 +23,8 @@
|
||||
SimpleTest.expectAssertions(0, 5);
|
||||
} else if (navigator.platform.startsWith("Linux")) {
|
||||
SimpleTest.expectAssertions(0, 3);
|
||||
} else if (navigator.platform.startsWith("Win")) {
|
||||
SimpleTest.expectAssertions(0, 1);
|
||||
}
|
||||
|
||||
var toolbar = $("tb1");
|
||||
|
@ -10,7 +10,7 @@
|
||||
src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
|
||||
|
||||
<script>
|
||||
if (navigator.platform.startsWith("Mac")) {
|
||||
if (!navigator.platform.startsWith("Linux")) {
|
||||
SimpleTest.expectAssertions(0, 2);
|
||||
}
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
|
Loading…
Reference in New Issue
Block a user