<!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>
