electron/spec/fixtures/pages/webview-opener-no-node-integration.html

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

12 lines
320 B
HTML
Raw Normal View History

<html>
<body>
<script type="text/javascript" charset="utf-8">
var windowUrl = decodeURIComponent(window.location.search.substring(3))
window.open('file://' + windowUrl, '', 'nodeIntegration=yes,show=no')
addEventListener("message", (ev) => {
console.log(JSON.stringify(ev.data))
})
</script>
</body>
</html>