-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: senderId removed in Electron 28 (#171)
* Accepting ipc events without senderId Since the property has been removed with Electron 28 * Access senderId on cast event object to be compatible with Electron 28, where "senderId" is removed from IpcRendererEvent * fix type error * Implement interface for missing senderId check * replace process.mainModule with a while loop to get the topmost parent * disable test using removed APIs * split the codepaths for electron 28 and electron < 28 * prefix comment for skipped test with TODO * chore: formatting --------- Co-authored-by: Jeremy Rose <[email protected]> Co-authored-by: Kilian Valkhof <[email protected]> Co-authored-by: David Sanders <[email protected]>
- Loading branch information
1 parent
642040d
commit 51ff1b4
Showing
4 changed files
with
34 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,6 +48,7 @@ workflows: | |
- 25 | ||
- 26 | ||
- 27 | ||
- 28 | ||
- cfa/release: | ||
requires: | ||
- test-electron | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters