-
Notifications
You must be signed in to change notification settings - Fork 15k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add senderIsMainFrame
to messages sent via ipcRenderer.sendTo()
#39207
feat: add senderIsMainFrame
to messages sent via ipcRenderer.sendTo()
#39207
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Newly added test fails with:
electron/spec/api-ipc-renderer-spec.ts(169,32): error TS2304: Cannot find name 'once'. electron/spec/api-ipc-renderer-spec.ts(184,17): error TS2304: Cannot find name 'once'.
…o()` (#38868) * feat: add isMainFrame to events emitted via ipcRenderer.sendTo() * chore: rename isMainFrame to senderIsMainFrame Co-authored-by: Milan Burda <milan.burda@gmail.com>
a392a4f
to
5714805
Compare
@jkleinsc replaced with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved by @electron/wg-releases on 07-27-2023
Release Notes Persisted
|
Backport of #38868
See that PR for details.
Notes: Added
senderIsMainFrame
to messages sent viaipcRenderer.sendTo()