mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
Bug 1224877 - fix animation_timeline_pause_button intermittent;r=pbro
This commit is contained in:
parent
ef0a1dd2a1
commit
05d335ab9c
@ -65,8 +65,10 @@ add_task(function*() {
|
||||
info("Select a finite animation, reload the page and wait for the " +
|
||||
"animation to complete");
|
||||
yield selectNode(".negative-delay", inspector);
|
||||
|
||||
let onScrubberStopped = waitForScrubberStopped(timeline);
|
||||
yield reloadTab(inspector);
|
||||
yield waitForScrubberStopped(timeline);
|
||||
yield onScrubberStopped;
|
||||
|
||||
ok(btn.classList.contains("paused"),
|
||||
"The button is in paused state once finite animations are done");
|
||||
|
Loading…
Reference in New Issue
Block a user