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