Bug 404077: Clean up erroneous expectAssertions calls from GC of objects created in test_bug291653.html.

This commit is contained in:
L. David Baron 2013-02-26 22:23:08 -08:00
parent 957eaeb361
commit 846f590b66
7 changed files with 1 additions and 25 deletions

View File

@ -18,7 +18,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=291653
<script type="application/javascript">
if (navigator.platform.indexOf("Win") != 0) {
SimpleTest.expectAssertions(0, 1);
SimpleTest.expectAssertions(1);
}
/** Test for Bug 291653 **/

View File

@ -17,10 +17,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=304459
<pre id="test">
<script type="application/javascript">
if (navigator.platform.indexOf("Linux") == 0) {
SimpleTest.expectAssertions(0, 1);
}
/** Test for Bug 304459 **/
function iframeLoaded()

View File

@ -17,10 +17,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=308856
<pre id="test">
<script class="testbody" type="text/javascript">
if (navigator.platform.indexOf("Win") != 0) {
SimpleTest.expectAssertions(0, 1);
}
/** Test for Bug 308856 **/
var monkey = 12;

View File

@ -17,10 +17,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=327891
<pre id="test">
<script class="testbody" type="text/javascript">
if (navigator.platform.indexOf("Mac") == 0) {
SimpleTest.expectAssertions(0, 1);
}
var pass = false;
try {

View File

@ -17,10 +17,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=333983
<pre id="test">
<script class="testbody" type="text/javascript">
if (navigator.platform.indexOf("Mac") == 0) {
SimpleTest.expectAssertions(0, 1);
}
/** Test for Bug 333983 **/
HTMLElement.prototype.foopy = function () { return "foopy"; }

View File

@ -19,10 +19,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=342448
<pre id="test">
<script class="testbody" type="text/javascript">
if (navigator.platform.indexOf("Mac") == 0) {
SimpleTest.expectAssertions(0, 1);
}
/** Test for Bug 342448 **/
SimpleTest.waitForExplicitFinish();
try {

View File

@ -17,10 +17,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=346659
<pre id="test">
<script type="application/javascript">
if (navigator.platform.indexOf("Win") != 0) {
SimpleTest.expectAssertions(0, 1);
}
/** Test for Bug 346659 **/
// do the tests in two batches, because otherwise the popup blocker kills off
// our test because it opens too many windows.