summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/browsers/origin/cross-origin-objects/frame-with-then.html
blob: 3eedeca38af5a9c71fc831306b029da76dca47af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!doctype html>
<html>
  <script>
    if (location.search == "?setdomain") {
      document.domain = document.domain;
    }
  </script>
  <body>
    <!--- Some frames to test ordering -->
    <iframe name="a"></iframe>
    <!-- A subframe to test "then" behavior -->
    <iframe name="then"></iframe>
    <iframe name="b"></iframe>
    <!-- Two subframes with names corresponding to IDL-defined properties; one
         a cross-origin-exposed property and one not exposed cross-origin -->
    <iframe name="close"></iframe>
    <iframe name="open"></iframe>
  </body>
</html>