| <!DOCTYPE html> |
| <html> |
| <head> |
| <script> |
| // get-host-info.js, loaded below, is considered active mixed |
| // content when this page is loaded over HTTP in an iframe inside an |
| // HTTPS page. Allow active mixed content here so that |
| // get-host-info.js runs. |
| if (window.testRunner) { |
| testRunner.overridePreference("WebKitAllowRunningInsecureContent", true); |
| testRunner.setAllowRunningOfInsecureContent(true); |
| } |
| </script> |
| |
| <script src="/resources/get-host-info.js"></script> |
| <script> |
| window.onmessage = function (event) { |
| window.parent.postMessage(event.data, "*"); |
| } |
| |
| window.onload = function () { |
| var iframe = document.createElement("iframe"); |
| iframe.src = get_host_info().HTTPS_ORIGIN + "/workers/resources/load-worker.html"; |
| document.body.appendChild(iframe); |
| } |
| </script> |
| </head> |
| <body> |
| </body> |
| </html> |