summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/browsers/history/the-location-interface/cross_origin_joined_frame.sub.html
blob: a3ffdd005afadb784b1b64a12caa190a66271018 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>Cross-origin subframe for Location cyclic [[Prototype]] test</title>
  <link rel="author" title="Jeff Walden" href="http://whereswalden.com/" />
</head>
<body>
<script>
document.domain = "{{host}}";
</script>
<!-- this should be accessible to the parent once it sets document.domain -->
<p>Cross-origin iframe with joined <code>document.domain</code></p>
</body>
</html>