| Index: third_party/WebKit/LayoutTests/intersection-observer/resources/observer-in-iframe-subframe.html
|
| diff --git a/third_party/WebKit/LayoutTests/resources/intersection-observer-in-iframe.html b/third_party/WebKit/LayoutTests/intersection-observer/resources/observer-in-iframe-subframe.html
|
| similarity index 91%
|
| rename from third_party/WebKit/LayoutTests/resources/intersection-observer-in-iframe.html
|
| rename to third_party/WebKit/LayoutTests/intersection-observer/resources/observer-in-iframe-subframe.html
|
| index e06b1d1c093eca7ca8d11d4fbed8c1311340c4c0..990106a0887ccb985927d764ccca61eff9929b98 100644
|
| --- a/third_party/WebKit/LayoutTests/resources/intersection-observer-in-iframe.html
|
| +++ b/third_party/WebKit/LayoutTests/intersection-observer/resources/observer-in-iframe-subframe.html
|
| @@ -1,13 +1,20 @@
|
| <!DOCTYPE html>
|
| -<script src="../resources/testharness.js"></script>
|
| -<script src="../resources/testharnessreport.js"></script>
|
| -<script src="../resources/intersection-observer-helper-functions.js"></script>
|
| +<script src="../../resources/testharness.js"></script>
|
| +<script src="../../resources/testharnessreport.js"></script>
|
|
|
| <div style="height: 200px; width: 100px;"></div>
|
| <div id="target" style="background-color: green; width:100px; height:100px"></div>
|
| <div style="height: 200px; width: 100px;"></div>
|
|
|
| <script>
|
| +function waitForNotification(f) {
|
| + requestAnimationFrame(() => {
|
| + setTimeout(() => {
|
| + setTimeout(f);
|
| + });
|
| + });
|
| +}
|
| +
|
| setup({message_events: [], output_document: window.parent.document});
|
| onload = function() {
|
| var entries = [];
|
|
|