fix: ensure the sandboxed preloads globals do not leak (#17712)
This commit is contained in:
parent
b3d8db6996
commit
be6fb7cb12
6 changed files with 157 additions and 6 deletions
5
spec/fixtures/module/empty.js
vendored
Normal file
5
spec/fixtures/module/empty.js
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
const { ipcRenderer } = require('electron')
|
||||
|
||||
window.addEventListener('message', (event) => {
|
||||
ipcRenderer.send('leak-result', event.data)
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue