diff --git a/tests/wpt/mozilla/meta/MANIFEST.json b/tests/wpt/mozilla/meta/MANIFEST.json index 4bcfa348648..5283e0ae9cb 100644 --- a/tests/wpt/mozilla/meta/MANIFEST.json +++ b/tests/wpt/mozilla/meta/MANIFEST.json @@ -26620,7 +26620,7 @@ "testharness" ], "mozilla/animation-removed-node.html": [ - "6ba0318ea1e07b42ef444f838753adbefe9633d6", + "a2f9dfe284a22a6241290c86841172387dcdbeb6", "testharness" ], "mozilla/binding_keyword.html": [ diff --git a/tests/wpt/mozilla/tests/mozilla/animation-removed-node.html b/tests/wpt/mozilla/tests/mozilla/animation-removed-node.html index 6ba0318ea1e..a2f9dfe284a 100644 --- a/tests/wpt/mozilla/tests/mozilla/animation-removed-node.html +++ b/tests/wpt/mozilla/tests/mozilla/animation-removed-node.html @@ -19,9 +19,11 @@ div.test { animation: boo 1s infinite; } document.getElementById('second').style.display = 'none'; // Ensure that we wait until the next layout is complete. requestAnimationFrame(t.step_func(function() { - // Verify that the previous animations are no longer considered active. - assert_equals(window.runningAnimationCount, 0); - t.done(); + requestAnimationFrame(t.step_func(function() { + // Verify that the previous animations are no longer considered active. + assert_equals(window.runningAnimationCount, 0); + t.done(); + }); })); }); }, "Animations are no longer active when a node can't be animated.");