blob: 8f0d8c74d2c7821d1d98d777a34e5a06335a6f30 [file] [log] [blame]
<!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>