chromium/third_party/blink/web_tests/http/tests/navigation/resources/javascript-url-cross-origin-window.html


<a id="a" href="javascript:postMessage('FAIL', '*');" target="target"></a>
<script>
a.click();
setTimeout(function() {
  opener.postMessage("PASS", "*");
}, 0);
</script>