зеркало из https://github.com/mozilla/gecko-dev.git
Bug 683159: Remove SimpleTest.expectAssertions() calls no longer needed due to SpecialPowers.gc() added in changeset 67060725ec8d.
This commit is contained in:
Родитель
68f9fb3d83
Коммит
90cdff94bb
|
@ -30,11 +30,6 @@
|
|||
|
||||
<!-- test code goes here -->
|
||||
<script type="application/javascript"><![CDATA[
|
||||
|
||||
if (navigator.platform.startsWith("Mac")) {
|
||||
SimpleTest.expectAssertions(0, 5);
|
||||
}
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
|
||||
function doTest() {
|
||||
|
|
|
@ -17,9 +17,6 @@
|
|||
<!-- test code goes here -->
|
||||
<script type="application/javascript">
|
||||
<![CDATA[
|
||||
|
||||
SimpleTest.expectAssertions(0, 7);
|
||||
|
||||
var gNotificationBox;
|
||||
|
||||
// Tests that a notification that is added in an hidden box didn't throw the animation
|
||||
|
|
|
@ -19,14 +19,6 @@
|
|||
|
||||
<!-- test code goes here -->
|
||||
<script type="text/javascript"><![CDATA[
|
||||
if (navigator.platform.startsWith("Mac")) {
|
||||
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");
|
||||
|
||||
ok(toolbar, "got the toolbar, triggering the xbl constructor");
|
||||
|
|
|
@ -22,10 +22,6 @@
|
|||
<script type="application/javascript">
|
||||
<![CDATA[
|
||||
|
||||
if (!navigator.platform.startsWith("Linux")) {
|
||||
SimpleTest.expectAssertions(0, 5);
|
||||
}
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
|
||||
SimpleTest.waitForFocus(test);
|
||||
|
|
|
@ -26,12 +26,6 @@
|
|||
<script type="application/javascript">
|
||||
<![CDATA[
|
||||
|
||||
if (navigator.platform.startsWith("Win")) {
|
||||
SimpleTest.expectAssertions(0, 1);
|
||||
} else if (navigator.platform.startsWith("Mac")) {
|
||||
SimpleTest.expectAssertions(0, 5);
|
||||
}
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
SimpleTest.waitForFocus(test);
|
||||
|
||||
|
|
|
@ -35,14 +35,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=570192
|
|||
<script type="application/javascript">
|
||||
<![CDATA[
|
||||
|
||||
if (navigator.platform.startsWith("Mac")) {
|
||||
SimpleTest.expectAssertions(0, 3);
|
||||
} else if (navigator.platform.startsWith("Linux")) {
|
||||
SimpleTest.expectAssertions(0, 5);
|
||||
} else if (navigator.platform.startsWith("Win")) {
|
||||
SimpleTest.expectAssertions(0, 1);
|
||||
}
|
||||
|
||||
addLoadEvent(function() {
|
||||
try {
|
||||
var content = document.getElementById("content");
|
||||
|
|
|
@ -23,10 +23,6 @@
|
|||
<!-- test code goes here -->
|
||||
<script type="application/javascript"><![CDATA[
|
||||
|
||||
if (navigator.platform.startsWith("Win")) {
|
||||
SimpleTest.expectAssertions(0, 5);
|
||||
}
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
|
||||
function startTest() {
|
||||
|
|
|
@ -21,8 +21,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=624329
|
|||
<![CDATA[
|
||||
/** Test for Bug 624329 **/
|
||||
|
||||
SimpleTest.expectAssertions(0, 5);
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
|
||||
var win;
|
||||
|
|
|
@ -38,7 +38,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=792324
|
|||
|
||||
<script class="testbody" type="application/javascript;version=1.7"><![CDATA[
|
||||
|
||||
SimpleTest.expectAssertions(0, 7);
|
||||
SimpleTest.expectAssertions(0, 2);
|
||||
|
||||
/** Test for Bug 792324 **/
|
||||
let after_click;
|
||||
|
|
|
@ -28,8 +28,6 @@
|
|||
<script type="application/javascript">
|
||||
<![CDATA[
|
||||
|
||||
SimpleTest.expectAssertions(0, 7);
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
|
||||
function test_button()
|
||||
|
|
|
@ -17,10 +17,6 @@
|
|||
|
||||
// Tests parsing of the chrome margin attrib on a window.
|
||||
|
||||
if (!navigator.platform.startsWith("Mac")) {
|
||||
SimpleTest.expectAssertions(0, 5);
|
||||
}
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
function runTest()
|
||||
{
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
<script class="testbody" type="application/javascript">
|
||||
<![CDATA[
|
||||
|
||||
SimpleTest.expectAssertions(0, 7);
|
||||
SimpleTest.expectAssertions(0, 2);
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
var gTestPhase = -1;
|
||||
var gCp = null;
|
||||
|
||||
SimpleTest.expectAssertions(0, 7);
|
||||
SimpleTest.expectAssertions(0, 2);
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
|
||||
|
|
|
@ -73,10 +73,8 @@
|
|||
<script class="testbody" type="application/javascript">
|
||||
<![CDATA[
|
||||
|
||||
if (navigator.platform.startsWith("Linux")) {
|
||||
SimpleTest.expectAssertions(0, 5);
|
||||
} else {
|
||||
SimpleTest.expectAssertions(0, 7);
|
||||
if (!navigator.platform.startsWith("Linux")) {
|
||||
SimpleTest.expectAssertions(0, 2);
|
||||
}
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
|
|
|
@ -37,8 +37,6 @@
|
|||
<script>
|
||||
<![CDATA[
|
||||
|
||||
SimpleTest.expectAssertions(0, 5);
|
||||
|
||||
var mouseScrolled = false;
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
|
|
|
@ -27,8 +27,6 @@
|
|||
<!-- test code goes here -->
|
||||
<script type="application/javascript"><![CDATA[
|
||||
|
||||
SimpleTest.expectAssertions(0, 5);
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
|
||||
function test_deck()
|
||||
|
|
|
@ -23,8 +23,6 @@
|
|||
<script>
|
||||
<![CDATA[
|
||||
|
||||
SimpleTest.expectAssertions(0, 5);
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
|
||||
var expected = [ "one", "_extra2", "tab", "one", "tabbutton2", "tabbutton", "two", "textbox-yes", "one" ];
|
||||
|
|
|
@ -28,8 +28,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=288254
|
|||
<script class="testbody" type="application/javascript">
|
||||
<![CDATA[
|
||||
|
||||
SimpleTest.expectAssertions(0, 5);
|
||||
|
||||
/** Test for Bug 288254 **/
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
window.open("findbar_window.xul", "findbartest",
|
||||
|
|
|
@ -30,12 +30,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=793275
|
|||
<script class="testbody" type="application/javascript">
|
||||
<![CDATA[
|
||||
|
||||
if (navigator.platform.startsWith("Mac")) {
|
||||
SimpleTest.expectAssertions(0, 4);
|
||||
} else {
|
||||
SimpleTest.expectAssertions(0, 2);
|
||||
}
|
||||
|
||||
/** Test for Bug 793275 **/
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
window.open("findbar_events_window.xul", "793275test",
|
||||
|
|
|
@ -24,8 +24,6 @@
|
|||
<script class="testbody" type="application/javascript">
|
||||
<![CDATA[
|
||||
|
||||
SimpleTest.expectAssertions(0, 5);
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
|
||||
var gBlurs = 0, gFocuses = 0;
|
||||
|
|
|
@ -38,8 +38,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=317422
|
|||
<!-- test code goes here -->
|
||||
<script type="application/javascript"><![CDATA[
|
||||
|
||||
SimpleTest.expectAssertions(0, 5);
|
||||
|
||||
/** Test for Bug 317422 **/
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
|
||||
|
|
|
@ -64,8 +64,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=317422
|
|||
<!-- test code goes here -->
|
||||
<script type="application/javascript"><![CDATA[
|
||||
|
||||
SimpleTest.expectAssertions(0, 2);
|
||||
|
||||
/** Test for Bug 317422 **/
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
|
||||
|
||||
<script>
|
||||
SimpleTest.expectAssertions(0, 3);
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
function runTest()
|
||||
{
|
||||
|
|
|
@ -12,12 +12,6 @@
|
|||
src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
|
||||
|
||||
<script>
|
||||
if (navigator.platform.startsWith("Win")) {
|
||||
SimpleTest.expectAssertions(0, 2);
|
||||
} else {
|
||||
SimpleTest.expectAssertions(0, 4);
|
||||
}
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
function runTest()
|
||||
{
|
||||
|
|
|
@ -27,10 +27,6 @@
|
|||
<script class="testbody" type="application/javascript">
|
||||
<![CDATA[
|
||||
|
||||
if (navigator.platform.startsWith("Mac")) {
|
||||
SimpleTest.expectAssertions(0, 2);
|
||||
}
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
|
||||
function runTests()
|
||||
|
|
|
@ -36,10 +36,6 @@
|
|||
<script class="testbody" type="application/javascript">
|
||||
<![CDATA[
|
||||
|
||||
if (!navigator.platform.startsWith("Linux")) {
|
||||
SimpleTest.expectAssertions(0, 3);
|
||||
}
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
var gTestIndex = 0;
|
||||
|
||||
|
|
|
@ -16,10 +16,6 @@
|
|||
<script class="testbody" type="application/javascript">
|
||||
<![CDATA[
|
||||
|
||||
if (navigator.platform.startsWith("Win")) {
|
||||
SimpleTest.expectAssertions(0, 2);
|
||||
}
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
SimpleTest.waitForFocus(startTest);
|
||||
|
||||
|
|
|
@ -11,10 +11,6 @@
|
|||
|
||||
<script>
|
||||
<![CDATA[
|
||||
if (navigator.platform.startsWith("Linux")) {
|
||||
SimpleTest.expectAssertions(0, 2);
|
||||
}
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
|
||||
function checkAttributes(elem, label, accesskey, disabled, hidden, isAfter)
|
||||
|
|
|
@ -79,10 +79,6 @@
|
|||
<script class="testbody" type="application/javascript">
|
||||
<![CDATA[
|
||||
|
||||
if (!navigator.platform.startsWith("Win")) {
|
||||
SimpleTest.expectAssertions(0, 2);
|
||||
}
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
|
||||
function testtag_menulists()
|
||||
|
|
|
@ -23,10 +23,6 @@
|
|||
<script class="testbody" type="application/javascript">
|
||||
<![CDATA[
|
||||
|
||||
if (!navigator.platform.startsWith("Linux")) {
|
||||
SimpleTest.expectAssertions(0, 2);
|
||||
}
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
|
||||
var gShowPopup = false;
|
||||
|
|
|
@ -11,11 +11,7 @@
|
|||
<script>
|
||||
<![CDATA[
|
||||
|
||||
if (navigator.platform.startsWith("Win")) {
|
||||
SimpleTest.expectAssertions(6);
|
||||
} else {
|
||||
SimpleTest.expectAssertions(6, 8);
|
||||
}
|
||||
SimpleTest.expectAssertions(6);
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
|
||||
|
|
|
@ -18,8 +18,6 @@
|
|||
|
||||
<!-- test code goes here -->
|
||||
<script type="application/javascript"><![CDATA[
|
||||
SimpleTest.expectAssertions(0, 5);
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
|
||||
var testtag_notificationbox_buttons = [
|
||||
|
|
|
@ -12,10 +12,6 @@
|
|||
src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"/>
|
||||
|
||||
<script>
|
||||
if (navigator.platform.startsWith("Mac")) {
|
||||
SimpleTest.expectAssertions(0, 2);
|
||||
}
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
function runTest()
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче