mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-13 11:38:16 +00:00
Bug 404077: Clean up erroneous expectAssertions calls from GC of objects created in test_bug291653.html.
This commit is contained in:
parent
e51adfba1a
commit
d6fee2f3ee
@ -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 **/
|
||||
|
@ -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()
|
||||
|
@ -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;
|
||||
|
@ -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 {
|
||||
|
@ -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"; }
|
||||
|
||||
|
@ -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 {
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user