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