Update WPT tests for embedded content
[WebKit-https.git] / LayoutTests / imported / w3c / web-platform-tests / html / semantics / embedded-content / the-iframe-element / cross_origin_parentage.sub.html
1 <!doctype html>
2 <meta charset="utf-8">
3 <title>Check the frame heriarchy</title>
4 <script src="/resources/testharness.js"></script>
5 <script src="/resources/testharnessreport.js"></script>
6 <script src="iframe_harness.js"></script>
7 <body>
8   <iframe src="http://{{domains[www1]}}:{{ports[http][0]}}/html/semantics/embedded-content/the-iframe-element/cross_origin_child.html"></iframe>
9 </body>
10 <script>
11     get_test_results('bffa23ee-b45a-4e9a-9405-87ab437d5cfa');
12     get_test_results('79a52de8-4222-427e-92db-caec28e75f8e');
13     get_test_results('6c8da65d-2c5e-44ef-bb0b-b8b9849aab19');
14     send_test_results({
15         "id": 'bffa23ee-b45a-4e9a-9405-87ab437d5cfa',
16         "parent": window.parent === window,
17         "top": window.top === window,
18     });
19 </script>