blob: ae1bf34f9d67fc624fce20f2b5c484086da191bc [file] [log] [blame]
<script>
// Good for both cross-origin-no-authorization and cross-origin-authorization, which only differ in cross-origin case.
var req = new XMLHttpRequest;
req.open("GET", "cross-origin-no-authorization.py", false, "test", "test");
req.send();
opener.postMessage("test", "*");
window.close();
</script>
<p>This frame sets up authorization for another origin.</p>