Index: third_party/WebKit/LayoutTests/http/tests/intersection-observer/iframe-cross-origin.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/intersection-observer/iframe-cross-origin.html b/third_party/WebKit/LayoutTests/http/tests/intersection-observer/iframe-cross-origin.html |
index 0132d6d54395c29b71f9ac6790f139d8ed5ea39a..3324515a453456a0c2648cce43c58f7226ac0b4f 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/intersection-observer/iframe-cross-origin.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/intersection-observer/iframe-cross-origin.html |
@@ -61,11 +61,7 @@ |
} |
window.addEventListener("message", handleMessage); |
- |
iframe.onload = function() { |
- // See LayoutTests/intersection-observer/README for explanation of double RAF. |
- requestAnimationFrame(() => { |
- requestAnimationFrame(() => { iframe.contentWindow.postMessage("", "*") }) |
- }); |
-} |
+ iframe.contentWindow.postMessage("", "*") |
+}; |
</script> |