summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/resource-timing/resources/iframe-setdomain.sub.html
blob: 4a2f609aa469f14d7efe64baaeb739efdb2fdc75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<html>
<head>
  <title>domain: {{domains[]}}</title>
</head>
<body>
  <script>
    // The purpose of this IFrame is to change the 'document.domain'
    document.domain = "{{domains[]}}";
  </script>
  The resource-timings-level1.sub.html test loads this document into an IFrame to vet that setting
  'document.domain' does not effect the timing allowed.
</body>
</html>