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