blob: e99209aa4d4f9a3b9a58e0e6547dd14ded18d02e (
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/serviceworkers/test/fetch/upgrade-insecure/index.html"></iframe>
|