mirror of
https://github.com/electron/electron.git
synced 2026-01-29 17:28:18 -05:00
* fix: child window with nativeWindowOpen should disable node integration
* Revert "fix: do not enable node integration in child window if not enabled (#15076)"
This reverts commit 0252d7686c.
This patch is not needed anymore since we are force disabling node integration
for child windows.
9 lines
189 B
HTML
9 lines
189 B
HTML
<html>
|
|
<body>
|
|
<script type="text/javascript" charset="utf-8">
|
|
const popup = window.open()
|
|
require('electron').ipcRenderer.send('answer', typeof popup.process)
|
|
</script>
|
|
</body>
|
|
</html>
|