blob: 6098a45dd458e7e245f6e133b8a8f923c6284b8f (
plain)
1
2
3
4
5
6
7
8
9
10
|
<!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>
|