chromium/third_party/blink/web_tests/external/wpt/html/browsers/history/the-location-interface/resources/post-your-protocol.html

<script>
  var id = location.search.substring(1);
  parent.postMessage({ id: id, protocol: location.protocol }, "*");
</script>