electron/spec/fixtures/api/native-window-open-no-allowpopups.html

9 lines
232 B
HTML

<html>
<body>
<script type="text/javascript" charset="utf-8">
const {ipcRenderer} = require('electron')
const popup = window.open()
ipcRenderer.send('answer', {windowOpenReturnedNull: popup == null})
</script>
</body>
</html>