mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1120100 - Fix intermittent failure in browser_animation_actors_03.js. r=past
This commit is contained in:
parent
0590585aba
commit
f8021f0ac7
@ -45,6 +45,7 @@ function* playerStateIsCorrect(walker, front) {
|
||||
|
||||
let node = yield walker.querySelector(walker.rootNode, ".simple-animation");
|
||||
let [player] = yield front.getAnimationPlayersForNode(node);
|
||||
yield player.ready();
|
||||
let state = player.initialState;
|
||||
|
||||
is(state.name, "move", "Name is correct");
|
||||
@ -70,6 +71,7 @@ function* playerStateIsCorrect(walker, front) {
|
||||
node = yield walker.querySelector(walker.rootNode, ".multiple-animations");
|
||||
// Checking the 2nd player
|
||||
[, player] = yield front.getAnimationPlayersForNode(node);
|
||||
yield player.ready();
|
||||
state = player.initialState;
|
||||
|
||||
is(state.name, "glow", "The 2nd animation's name is correct");
|
||||
|
Loading…
Reference in New Issue
Block a user