You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree to follow the Code of Conduct that this project adheres to.
I have searched the issue tracker for a bug report that matches the one I want to file, without success.
Electron Version
30.4.0
What operating system(s) are you using?
macOS
Operating System Version
Sonoma
What arch are you using?
arm64 (including Apple Silicon)
Last Known Working Electron version
No response
Expected Behavior
Web API fetch is specified as also accepting an URL as the first parameter. Node.js' fetch supports URL. Electron's implementation appears to tolerate an URL. It would be very convenient to align with others and make what already works explicit in the typings.
Preflight Checklist
Electron Version
30.4.0
What operating system(s) are you using?
macOS
Operating System Version
Sonoma
What arch are you using?
arm64 (including Apple Silicon)
Last Known Working Electron version
No response
Expected Behavior
Web API
fetch
is specified as also accepting an URL as the first parameter. Node.js'fetch
supports URL. Electron's implementation appears to tolerate an URL. It would be very convenient to align with others and make what already works explicit in the typings.Web API
fetch
: https://developer.mozilla.org/en-US/docs/Web/API/Window/fetchWhere I think Electron passes the first parameter in a way that accepts an URL:
electron/lib/browser/api/net-fetch.ts
Line 21 in 1c3a5ba
Actual Behavior
URL is missing from the docs that are used to generate
electron.d.ts
:electron/docs/api/net.md
Line 68 in 1c3a5ba
Testcase Gist URL
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: