https://github.com/web-platform-tests/wpt
Revision 951ade940eacfdad4de7530058690a10637a277d authored by Geoffrey Sneddon on 09 April 2018, 11:49:58 UTC, committed by Geoffrey Sneddon on 09 April 2018, 11:49:58 UTC
1 parent 5d7a6b3
Raw File
Tip revision: 951ade940eacfdad4de7530058690a10637a277d authored by Geoffrey Sneddon on 09 April 2018, 11:49:58 UTC
fixup! Move the config into its own class
Tip revision: 951ade9
iframe-setdomain.sub.html
<!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>
back to top