Bug 1123936 - Aurora-only fix for browser_animation_actors_02.js. a=test-only
authorPatrick Brosset <pbrosset@mozilla.com>
Fri, 20 Feb 2015 17:30:41 +0100
changeset 249856 eff1d6a08c1a003c9a2bac77fc0e3c191425b419
parent 249855 f24f0b0532f983d6ec010d1e09a8aaadf41b38c3
child 249857 dca9e009cc21faeceaec8880bc990c8d1a2453da
push id4489
push userraliiev@mozilla.com
push dateMon, 23 Feb 2015 15:17:55 +0000
treeherdermozilla-beta@fd7c3dc24146 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstest-only
bugs1123936
milestone37.0a2
Bug 1123936 - Aurora-only fix for browser_animation_actors_02.js. a=test-only
toolkit/devtools/server/tests/browser/browser_animation_actors_02.js
--- a/toolkit/devtools/server/tests/browser/browser_animation_actors_02.js
+++ b/toolkit/devtools/server/tests/browser/browser_animation_actors_02.js
@@ -42,17 +42,17 @@ function* theRightNumberOfPlayersIsRetur
   node = yield walker.querySelector(walker.rootNode, ".transition");
   players = yield front.getAnimationPlayersForNode(node);
   is(players.length, 1, "One animation player was returned for the transitioned node");
 }
 
 function* playersCanBePausedAndResumed(walker, front) {
   let node = yield walker.querySelector(walker.rootNode, ".simple-animation");
   let [player] = yield front.getAnimationPlayersForNode(node);
-  yield player.ready;
+  yield player.ready();
 
   ok(player.initialState, "The player has an initialState");
   ok(player.getCurrentState, "The player has the getCurrentState method");
   is(player.initialState.playState, "running", "The animation is currently running");
 
   yield player.pause();
   let state = yield player.getCurrentState();
   is(state.playState, "paused", "The animation is now paused");