diff --git a/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/update-the-rendering.html b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/update-the-rendering.html
index c0e4bdab8de77..7272f52280585 100644
--- a/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/update-the-rendering.html
+++ b/testing/web-platform/tests/html/interaction/focus/the-autofocus-attribute/update-the-rendering.html
@@ -273,6 +273,14 @@
.
requestAnimationFrame
(
+(
+)
+=
+>
+w
+.
+requestAnimationFrame
+(
t
.
step_func_done
@@ -317,6 +325,7 @@
}
)
)
+)
;
w
.