wintercg / proposal-common-minimum-api

https://common-min-api.proposal.wintercg.org/
Other
216 stars 15 forks source link

Add `fetch` to the minimum common API #45

Closed andreubotella closed 11 months ago

andreubotella commented 1 year ago

Since non-browser WinterCG runtimes should use the WinterCG Fetch spec fork instead of the WHATWG spec, a note is added for every Fetch spec API linking to the fork.

Additionally, Request and Response require the FormData API, whose constructor optionally takes DOM elements. Different non-web runtimes behave differently here, so this PR adds an "Issue:" note marking it as a TODO.