test: remove usage of 'remote' module from webview spec (#20048)

This commit is contained in:
Jeremy Apthorp 2019-09-03 10:10:58 -07:00 committed by GitHub
parent cad73732c0
commit 96c3fec855
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 567 additions and 508 deletions

View file

@ -3,6 +3,9 @@
<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>