Minimal WinterCG implementation
syrusakbary opened this issue · comments
https://common-min-api.proposal.wintercg.org/
-
The FormData constructor optionally takes [HTMLFormElement (https://html.spec.whatwg.org/multipage/forms.html#htmlformelement) and [HTMLElement (https://html.spec.whatwg.org/multipage/dom.html#htmlelement) as parameters. TODO: Figure out what implementations without DOM support should do here. Node.js and Deno throw if the first parameter is not undefined but ignore the second parameter. Cloudflare Workers ignores all parameters.
-
atob
-
btoa
Not yet:
I'm wondering why https://github.com/wintercg/proposal-sockets-api?tab=readme-ov-file is not included here?
If there were at least two implementations among those -- either already supported or in progress -- then it was added to the list.
This is supported by Node and Cloudflare workers.