REGRESSION: (r255821) [ iOS Mac wk1 ] imported/w3c/web-platform-tests/web-animations...
[WebKit-https.git] / LayoutTests / imported / w3c / web-platform-tests / web-animations / timing-model / animations / finishing-an-animation.html
index 5a41abd..1a6c3ae 100644 (file)
@@ -304,7 +304,7 @@ promise_test(async t => {
   const animation = createDiv(t).animate(null, 100 * MS_PER_SEC);
   await animation.ready;
 
-  const originalFinishPromise = animation.finished;
+  const originalFinishPromise = animation.finished.catch(() => {});
 
   animation.cancel();
   assert_equals(animation.startTime, null);