feat: add webPreferences.enableRemoteModule option (#13028)
This commit is contained in:
parent
72db5ed7cb
commit
d3efc52745
36 changed files with 303 additions and 45 deletions
5
spec/fixtures/module/preload-remote.js
vendored
Normal file
5
spec/fixtures/module/preload-remote.js
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
const { ipcRenderer, remote } = require('electron')
|
||||
|
||||
window.onload = function () {
|
||||
ipcRenderer.send('remote', typeof remote)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue