Skip to content

Commit e969de1

Browse files
Add fetch to the minimum common API (#45)
1 parent b0e1bb3 commit e969de1

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

index.bs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,22 @@ Interfaces:
5050
* {{Event}}
5151
* {{EventTarget}}
5252
* {{File}}
53+
* {{FormData}}
54+
55+
Issue: The {{FormData}} constructor optionally takes {{HTMLFormElement}} and {{HTMLElement}} as parameters.
56+
TODO: Figure out what implementations without DOM support should do here.
57+
Node.js and Deno throw if the first parameter is not `undefined` but ignore the second parameter.
58+
Cloudflare Workers ignores all parameters.
59+
60+
* {{Headers}}
5361
* {{ReadableByteStreamController}}
5462
* {{ReadableStream}}
5563
* {{ReadableStreamBYOBReader}}
5664
* {{ReadableStreamBYOBRequest}}
5765
* {{ReadableStreamDefaultController}}
5866
* {{ReadableStreamDefaultReader}}
67+
* {{Request}}
68+
* {{Response}}
5969
* {{SubtleCrypto}}
6070
* {{TextDecoder}}
6171
* {{TextDecoderStream}}
@@ -75,6 +85,7 @@ Global methods / properties:
7585
* globalThis.{{btoa()}}
7686
* globalThis.{{console}}
7787
* globalThis.{{crypto}}
88+
* globalThis.{{fetch()}}
7889
* globalThis.{{navigator}}.{{userAgent}}
7990
* globalThis.{{performance}}.{{Performance/now()}}
8091
* globalThis.{{performance}}.{{timeOrigin}}
@@ -83,6 +94,8 @@ Global methods / properties:
8394
* globalThis.{{setInterval()}} / globalThis.{{clearInterval()}}
8495
* globalThis.{{structuredClone()}}
8596

97+
Note: This list includes APIs defined in [[FETCH]]. The WinterCG is currently working on a fork of this spec to better fulfill the needs of web-interoperable runtimes, and such runtimes should follow this fork instead. See <a href="https://fetch.spec.wintercg.org">https://fetch.spec.wintercg.org</a>.
98+
8699
The Global Scope {#global-scope}
87100
================================
88101

0 commit comments

Comments
 (0)