| Jonathan Watt | 78e0b5b | 2016-05-09 20:49:18 | [diff] [blame] | 1 | <!doctype html> |
| 2 | <html> |
| 3 | <head> |
| 4 | <meta charset=utf-8> |
| 5 | <title>Test Window.isSecureContext for HTTP creator</title> |
| 6 | <meta name="help" href="https://w3c.github.io/webappsec-secure-contexts/#monkey-patching-global-object"> |
| 7 | <meta name="author" title="Jonathan Watt" href="https://jwatt.org/"> |
| 8 | <script src=/resources/testharness.js></script> |
| 9 | <script src=/resources/testharnessreport.js></script> |
| 10 | <script src="server-locations.sub.js"></script> |
| 11 | <script> |
| 12 | |
| 13 | // This file is the equivasent of the https version, but rather than |
| 14 | // having a copy of its script file we figure out the URI of the script on the |
| 15 | // https server and load it here. |
| 16 | let script = document.createElement("script"); |
| 17 | script.setAttribute("src", https_dir + "basic-popup-and-iframe-tests.https.js"); |
| 18 | document.head.appendChild(script); |
| 19 | |
| 20 | </script> |
| 21 | </head> |
| 22 | <body onload="begin();"> |
| 23 | </body> |
| 24 | </html> |
| 25 | |