mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 404077: Adjust annotations of expected assertions.
This commit is contained in:
parent
47da81cd7a
commit
9bc6e8d039
@ -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 **/
|
||||
|
@ -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() {
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user