Missing fetch
-dependent interfaces in Electron 30
The upgrade to Electron 30 introduced this Electron regression:
This is an issue for developers using the fetch-dependent interfaces such as Response
which used to be in the global namespace.
Steps to reproduce
- Use an obsidian version with Electron 30.x on Mac or Windows
- Open the developer console
- type
Response
But in the insiders build with Electron 30 it will instead throw an error that Response is undefined.
Did you follow the troubleshooting guide? Y
Expected result
What do you expect to see after carrying out the steps above?
Response() { [native code] }
Actual result
error, Response is not defined.
Environment
Obsidian: 1.6.3
Electron 30.1.0
Additional information
This caused breakage in the plugin no-instructions/relay (id: system3-relay).
Thanks to @mikeschmitz for extensive debugging in order to root cause this issue.