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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
251 B
HTML
Raw Normal View History

2015-08-04 07:46:59 +00:00
<html>
<body>
<script type="text/javascript" charset="utf-8">
if (window.opener !== null)
window.opener.postMessage(typeof window.opener, '*');
else
require('electron').ipcRenderer.send('opener', window.opener);
2015-08-04 07:46:59 +00:00
</script>
</body>
</html>