-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
As per the electron docs: https://www.electronjs.org/docs/latest/tutorial/security#20-do-not-expose-electron-apis-to-untrusted-web-content
What's the problem?
The ipcRenderer.on method allows the renderer process to access IpcRendererEvent which is the first argument of the listener/callback
on(channel, listener) {
ipcRenderer.on(channel, listener)
return () => {
ipcRenderer.removeListener(channel, listener)
}
},
Electron-Toolkit Version
v1.0.0 - preload 3.0.2
Electron Version
v37
Validations
- Follow the Code of Conduct.
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working