electron/spec/fixtures/pages/window-opener-location.html

11 lines
217 B
HTML

<html>
<body>
<script type="text/javascript" charset="utf-8">
try {
window.opener.postMessage(window.opener.location.href, '*')
} catch {
window.opener.postMessage(null, '*')
}
</script>
</body>
</html>