Bug 1305444 - Remove run_test(); r=Yoric
authorGregory Szorc <gps@mozilla.com>
Sat, 24 Sep 2016 18:20:25 -0700
changeset 315389 87ebfcabb99ac1d7f85b10a595331377cbc3be2e
parent 315388 5ef08ec39cd74f6572442b32dc8677a12040a70a
child 315390 a75885a39701e5c29b16da7dd0406691e53e850f
push id30748
push usercbook@mozilla.com
push dateWed, 28 Sep 2016 13:53:19 +0000
treeherdermozilla-central@8c84b7618840 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersYoric
bugs1305444, 982852
milestone52.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1305444 - Remove run_test(); r=Yoric A run_test() calling run_next_test() is optional in xpcshell tests as of a9738e5f636a (bug 982852). MozReview-Commit-ID: DT3sfm6JcAG
toolkit/components/promiseworker/tests/xpcshell/test_Promise.js
--- a/toolkit/components/promiseworker/tests/xpcshell/test_Promise.js
+++ b/toolkit/components/promiseworker/tests/xpcshell/test_Promise.js
@@ -101,12 +101,8 @@ add_task(function* test_transfer_with_me
   Assert.equal(Object.prototype.toString.call(result), "[object Uint8Array]",
                "The result appears to be a Typed Array");
   Assert.equal(result.byteLength, 4, "The result has the right size");
 
   for (let i = 0; i < 4; ++i) {
     Assert.equal(result[i], i);
   }
 });
-
-function run_test() {
-  run_next_test();
-}