document-domain-no-impact-opener.html (591B)
1 <!DOCTYPE HTML> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <script src="/resources/testharness.js"></script> 6 <script src="/resources/testharnessreport.js"></script> 7 <script src="/common/get-host-info.sub.js"></script> 8 <script> 9 // Open a document on one of hosts on the web-platform test domain, so that 10 // document.domain will set a valid domain, turning the frame into a 11 // cross-origin frame. 12 const {OTHER_ORIGIN} = get_host_info(); 13 const openee = window.open(OTHER_ORIGIN + 14 "/resource-timing/resources/document-domain-no-impact.html"); 15 fetch_tests_from_window(openee); 16 </script>