Bug 1150444 - Intermittent test_WorkerDebugger.isFrozen.xul. r=khuey, a=test-only
authorEddy Bruël <ejpbruel@gmail.com>
Fri, 08 May 2015 07:08:17 +0200
changeset 276857 a126e704b703a707792ca99a33eaf9a1bbaffc94
parent 276856 8932e8631aab43b747bbfc89c4ff12d2d4c8f797
child 276858 7fcae55c0881ec363aa95c0331248b72cffaaa30
push id3356
push userbsmedberg@mozilla.com
push dateThu, 09 Jul 2015 21:52:23 +0000
reviewerskhuey, test-only
bugs1150444
milestone40.0a2
Bug 1150444 - Intermittent test_WorkerDebugger.isFrozen.xul. r=khuey, a=test-only
dom/workers/test/test_WorkerDebugger.isFrozen.xul
--- a/dom/workers/test/test_WorkerDebugger.isFrozen.xul
+++ b/dom/workers/test/test_WorkerDebugger.isFrozen.xul
@@ -58,17 +58,17 @@
            "debugger for worker on page 1 should not be closed");
         is(dbg1.isFrozen, true,
            "debugger for worker on page 1 should be frozen");
         is(dbg2.isClosed, false,
            "debugger for worker on page 2 should not be closed");
         is(dbg2.isFrozen, false,
            "debugger for worker on page 2 should not be frozen");
 
-        promise = waitForMultiple([
+        promise = Promise.all([
           waitForDebuggerFreeze(dbg2),
           waitForDebuggerThaw(dbg1),
         ]);
         iframe.contentWindow.history.back();
         yield promise;
         is(dbg1.isClosed, false,
            "debugger for worker on page 1 should not be closed")
         is(dbg1.isFrozen, false,