Index: third_party/WebKit/LayoutTests/http/tests/intersection-observer/resources/cross-origin-subframe.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/intersection-observer/resources/cross-origin-subframe.html b/third_party/WebKit/LayoutTests/http/tests/intersection-observer/resources/cross-origin-subframe.html |
index 606d02edb04325ed3e7d55b229f98bed939624d0..7bc010d2a7407a7e1cbb3abc46cfe65ecf3dc9ab 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/intersection-observer/resources/cross-origin-subframe.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/intersection-observer/resources/cross-origin-subframe.html |
@@ -18,7 +18,9 @@ function observer_callback(changes) { |
for (var i in changes) |
entries.push(changes[i]); |
} |
-var observer = new IntersectionObserver(observer_callback, {}); |
+ |
+// Use a rootMargin here, and verify it does NOT get applied for the cross-origin case. |
+var observer = new IntersectionObserver(observer_callback, {rootMargin: "7px"}); |
observer.observe(target); |
function step0() { |