Dactyloidae/dom/workers/test/serviceworkers/fetch/upgrade-insecure/embedder.html

10 lines
338 B
HTML

<!DOCTYPE html>
<script>
window.onmessage = function(e) {
window.parent.postMessage(e.data, "*");
if (e.data.status == "protocol") {
document.querySelector("iframe").src = "image.html";
}
};
</script>
<iframe src="http://example.com/tests/dom/workers/test/serviceworkers/fetch/upgrade-insecure/index.html"></iframe>