summaryrefslogtreecommitdiffstats
path: root/test/wpt/status/fetch.status.json
blob: 5910bf37f6f8686771b94ff008b2c688fa3cbd0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
{
  "api": {
    "abort": {
      "general.any.js": {
        "note": "TODO(@KhafraDev): Clone aborts with original controller can probably be fixed",
        "fail": [
          "Already aborted signal rejects immediately",
          "Underlying connection is closed when aborting after receiving response - no-cors",
          "Stream errors once aborted. Underlying connection closed.",
          "Readable stream synchronously cancels with AbortError if aborted before reading",
          "Clone aborts with original controller"
        ]
      },
      "cache.https.any.js": {
        "note": "undici doesn't implement http caching",
        "skip": true
      }
    },
    "basic": {
      "conditional-get.any.js": {
        "fail": [
          "Testing conditional GET with ETags"
        ]
      },
      "header-value-combining.any.js": {
        "fail": [
          "response.headers.get('content-length') expects 0, 0",
          "response.headers.get('foo-test') expects 1, 2, 3",
          "response.headers.get('heya') expects , \\x0B\f, 1, , , 2"
        ],
        "flaky": [
          "response.headers.get('content-length') expects 0",
          "response.headers.get('double-trouble') expects , ",
          "response.headers.get('www-authenticate') expects 1, 2, 3, 4"
        ]
      },
      "integrity.sub.any.js": {
        "fail": [
          "Empty string integrity for opaque response"
        ]
      },
      "keepalive.any.js": {
        "note": "document is not defined",
        "skip": true
      },
      "mode-no-cors.sub.any.js": {
        "note": "undici doesn't implement CORs",
        "skip": true
      },
      "mode-same-origin.any.js": {
        "note": "undici doesn't respect RequestInit.mode",
        "skip": true
      },
      "referrer.any.js": {
        "fail": [
          "origin-when-cross-origin policy on a cross-origin URL",
          "origin-when-cross-origin policy on a cross-origin URL after same-origin redirection",
          "origin-when-cross-origin policy on a same-origin URL after cross-origin redirection",
          "origin-when-cross-origin policy on a same-origin URL"
        ]
      },
      "request-forbidden-headers.any.js": {
        "note": "undici doesn't filter headers",
        "skip": true
      },
      "request-headers.any.js": {
        "fail": [
          "Fetch with Chicken",
          "Fetch with Chicken with body",
          "Fetch with TacO and mode \"same-origin\" needs an Origin header",
          "Fetch with TacO and mode \"cors\" needs an Origin header"
        ]
      },
      "request-referrer.any.js": {
        "note": "TODO(@KhafraDev): url referrer test could probably be fixed",
        "fail": [
          "about:client referrer",
          "url referrer"
        ]
      },
      "request-upload.any.js": {
        "fail": [
          "Fetch with POST with text body on 421 response should be retried once on new connection."	
        ]
      },
      "request-upload.h2.any.js": {
        "note": "undici doesn't support http/2",
        "skip": true
      },
      "status.h2.any.js": {
        "note": "undici doesn't support http/2",
        "skip": true
      },
      "stream-safe-creation.any.js": {
        "note": "tests are very finnicky",
        "fail": [
          "throwing Object.prototype.type accessor should not affect stream creation by 'fetch'",
          "Object.prototype.type accessor returning invalid value should not affect stream creation by 'fetch'",
          "throwing Object.prototype.highWaterMark accessor should not affect stream creation by 'fetch'",
          "Object.prototype.highWaterMark accessor returning invalid value should not affect stream creation by 'fetch'"
        ]
      }
    },
    "body": {
      "mime-type.any.js": {
        "note": "fails on all platforms, https://wpt.fyi/results/fetch/api/body/mime-type.any.html?label=master&label=experimental&product=chrome&product=firefox&product=safari&product=node.js&product=deno&aligned",
        "fail": [
          "Response: Extract a MIME type with clone"
        ]
      }
    },
    "cors": {
      "note": "undici doesn't implement CORs",
      "skip": true
    },
    "credentials": {
      "authentication-redirection.any.js": {
        "note": "connects to https server",
        "fail": [
          "getAuthorizationHeaderValue - cross origin redirection",
          "getAuthorizationHeaderValue - same origin redirection"
        ]
      },
      "cookies.any.js": {
        "fail": [
          "Include mode: 1 cookie",
          "Include mode: 2 cookies",
          "Same-origin mode: 1 cookie",
          "Same-origin mode: 2 cookies"
        ]
      }
    },
    "fetch-later": {
      "note": "this is not part of the spec, only a proposal",
      "skip": true
    },
    "headers": {
      "header-setcookie.any.js": {
        "note": "undici doesn't filter headers",
        "fail": [
          "Set-Cookie is a forbidden response header"
        ]
      },
      "header-values-normalize.any.js": {
        "note": "TODO(@KhafraDev): https://github.com/nodejs/undici/issues/1680",
        "fail": [
          "XMLHttpRequest with value %00",
          "XMLHttpRequest with value %01",
          "XMLHttpRequest with value %02",
          "XMLHttpRequest with value %03",
          "XMLHttpRequest with value %04",
          "XMLHttpRequest with value %05",
          "XMLHttpRequest with value %06",
          "XMLHttpRequest with value %07",
          "XMLHttpRequest with value %08",
          "XMLHttpRequest with value %09",
          "XMLHttpRequest with value %0A",
          "XMLHttpRequest with value %0D",
          "XMLHttpRequest with value %0E",
          "XMLHttpRequest with value %0F",
          "XMLHttpRequest with value %10",
          "XMLHttpRequest with value %11",
          "XMLHttpRequest with value %12",
          "XMLHttpRequest with value %13",
          "XMLHttpRequest with value %14",
          "XMLHttpRequest with value %15",
          "XMLHttpRequest with value %16",
          "XMLHttpRequest with value %17",
          "XMLHttpRequest with value %18",
          "XMLHttpRequest with value %19",
          "XMLHttpRequest with value %1A",
          "XMLHttpRequest with value %1B",
          "XMLHttpRequest with value %1C",
          "XMLHttpRequest with value %1D",
          "XMLHttpRequest with value %1E",
          "XMLHttpRequest with value %1F",
          "XMLHttpRequest with value %20",
          "fetch() with value %01",
          "fetch() with value %02",
          "fetch() with value %03",
          "fetch() with value %04",
          "fetch() with value %05",
          "fetch() with value %06",
          "fetch() with value %07",
          "fetch() with value %08",
          "fetch() with value %0E",
          "fetch() with value %0F",
          "fetch() with value %10",
          "fetch() with value %11",
          "fetch() with value %12",
          "fetch() with value %13",
          "fetch() with value %14",
          "fetch() with value %15",
          "fetch() with value %16",
          "fetch() with value %17",
          "fetch() with value %18",
          "fetch() with value %19",
          "fetch() with value %1A",
          "fetch() with value %1B",
          "fetch() with value %1C",
          "fetch() with value %1D",
          "fetch() with value %1E",
          "fetch() with value %1F"
        ]
      },
      "header-values.any.js": {
        "fail": [
          "XMLHttpRequest with value x%00x needs to throw",
          "XMLHttpRequest with value x%0Ax needs to throw",
          "XMLHttpRequest with value x%0Dx needs to throw",
          "XMLHttpRequest with all valid values",
          "fetch() with all valid values"
        ]
      },
      "headers-no-cors.any.js": {
        "note": "undici doesn't implement CORs",
        "skip": true
      }
    },
    "redirect": {
      "redirect-empty-location.any.js": {
        "note": "undici handles redirect: manual differently than browsers",
        "fail": [
          "redirect response with empty Location, manual mode"
        ]
      },
      "redirect-keepalive.any.js": {
        "note": "document is not defined",
        "skip": true
      },
      "redirect-location-escape.tentative.any.js": {
        "note": "TODO(@KhafraDev): crashes runner",
        "skip": true
      },
      "redirect-location.any.js": {
        "note": "undici handles redirect: manual differently than browsers",
        "fail": [
          "Redirect 301 in \"manual\" mode without location",
          "Redirect 301 in \"manual\" mode with invalid location",
          "Redirect 301 in \"manual\" mode with data location",
          "Redirect 302 in \"manual\" mode without location",
          "Redirect 302 in \"manual\" mode with invalid location",
          "Redirect 302 in \"manual\" mode with data location",
          "Redirect 303 in \"manual\" mode without location",
          "Redirect 303 in \"manual\" mode with invalid location",
          "Redirect 303 in \"manual\" mode with data location",
          "Redirect 307 in \"manual\" mode without location",
          "Redirect 307 in \"manual\" mode with invalid location",
          "Redirect 307 in \"manual\" mode with data location",
          "Redirect 308 in \"manual\" mode without location",
          "Redirect 308 in \"manual\" mode with invalid location",
          "Redirect 308 in \"manual\" mode with data location",
          "Redirect 301 in \"manual\" mode with valid location",
          "Redirect 302 in \"manual\" mode with valid location",
          "Redirect 303 in \"manual\" mode with valid location",
          "Redirect 307 in \"manual\" mode with valid location",
          "Redirect 308 in \"manual\" mode with valid location"
        ]
      },
      "redirect-method.any.js": {
        "fail": [
          "Redirect 303 with TESTING"
        ]
      },
      "redirect-mode.any.js": {
        "note": "mode isn't respected",
        "skip": true
      },
      "redirect-origin.any.js": {
        "note": "TODO(@KhafraDev): investigate",
        "skip": true
      },
      "redirect-referrer-override.any.js": {
        "note": "TODO(@KhafraDev): investigate",
        "skip": true
      },
      "redirect-referrer.any.js": {
        "note": "TODO(@KhafraDev): investigate",
        "skip": true
      },
      "redirect-upload.h2.any.js": {
        "note": "undici doesn't support http/2",
        "skip": true
      }
    },
    "request": {
      "request-cache-default-conditional.any.js": {
        "note": "undici doesn't implement an http cache",
        "skip": true
      },
      "request-cache-default.any.js": {
        "note": "undici doesn't implement an http cache",
        "skip": true
      },
      "request-cache-force-cache.any.js": {
        "note": "undici doesn't implement an http cache",
        "skip": true
      },
      "request-cache-no-cache.any.js": {
        "note": "undici doesn't implement an http cache",
        "skip": true
      },
      "request-cache-no-store.any.js": {
        "note": "undici doesn't implement an http cache",
        "skip": true
      },
      "request-cache-only-if-cached.any.js": {
        "note": "undici doesn't implement an http cache",
        "skip": true
      },
      "request-cache-reload.any.js": {
        "note": "undici doesn't implement an http cache",
        "skip": true
      },
      "request-consume-empty.any.js": {
        "note": "the semantics about this test are being discussed - https://github.com/web-platform-tests/wpt/pull/3950",
        "fail": [
          "Consume empty FormData request body as text"
        ]
      },
      "request-disturbed.any.js": {
        "note": "this test fails in all other platforms - https://wpt.fyi/results/fetch/api/request/request-disturbed.any.html?label=master&label=experimental&product=chrome&product=firefox&product=safari&product=deno&aligned&view=subtest",
        "fail": [
          "Input request used for creating new request became disturbed even if body is not used"
        ]
      },
      "request-headers.any.js": {
        "note": "undici doesn't filter headers",
        "fail": [
          "Adding invalid request header \"Accept-Charset: KO\"",
          "Adding invalid request header \"accept-charset: KO\"",
          "Adding invalid request header \"ACCEPT-ENCODING: KO\"",
          "Adding invalid request header \"Accept-Encoding: KO\"",
          "Adding invalid request header \"Access-Control-Request-Headers: KO\"",
          "Adding invalid request header \"Access-Control-Request-Method: KO\"",
          "Adding invalid request header \"Access-Control-Request-Private-Network: KO\"",
          "Adding invalid request header \"Connection: KO\"",
          "Adding invalid request header \"Content-Length: KO\"",
          "Adding invalid request header \"Cookie: KO\"",
          "Adding invalid request header \"Cookie2: KO\"",
          "Adding invalid request header \"Date: KO\"",
          "Adding invalid request header \"DNT: KO\"",
          "Adding invalid request header \"Expect: KO\"",
          "Adding invalid request header \"Host: KO\"",
          "Adding invalid request header \"Keep-Alive: KO\"",
          "Adding invalid request header \"Origin: KO\"",
          "Adding invalid request header \"Referer: KO\"",
          "Adding invalid request header \"Set-Cookie: KO\"",
          "Adding invalid request header \"TE: KO\"",
          "Adding invalid request header \"Trailer: KO\"",
          "Adding invalid request header \"Transfer-Encoding: KO\"",
          "Adding invalid request header \"Upgrade: KO\"",
          "Adding invalid request header \"Via: KO\"",
          "Adding invalid request header \"Proxy-: KO\"",
          "Adding invalid request header \"proxy-a: KO\"",
          "Adding invalid request header \"Sec-: KO\"",
          "Adding invalid request header \"sec-b: KO\"",
          "Adding invalid no-cors request header \"Content-Type: KO\"",
          "Adding invalid no-cors request header \"Potato: KO\"",
          "Adding invalid no-cors request header \"proxy: KO\"",
          "Adding invalid no-cors request header \"proxya: KO\"",
          "Adding invalid no-cors request header \"sec: KO\"",
          "Adding invalid no-cors request header \"secb: KO\"",
          "Adding invalid no-cors request header \"Empty-Value: \"",
          "Check that request constructor is filtering headers provided as init parameter",
          "Check that no-cors request constructor is filtering headers provided as init parameter",
          "Check that no-cors request constructor is filtering headers provided as part of request parameter"
        ]
      },
      "request-init-priority.any.js": {
        "note": "undici doesn't implement priority hints, yet(?)",
        "skip": true
      }
    },
    "response": {
      "response-clone.any.js": {
        "fail": [
          "Check response clone use structureClone for teed ReadableStreams (ArrayBufferchunk)",
          "Check response clone use structureClone for teed ReadableStreams (DataViewchunk)"
        ]
      },
      "response-consume-empty.any.js": {
        "fail": [
          "Consume empty FormData response body as text"
        ]
      },
      "response-consume-stream.any.js": {
        "fail": [
          "Read blob response's body as readableStream with mode=byob",
          "Read text response's body as readableStream with mode=byob",
          "Read URLSearchParams response's body as readableStream with mode=byob",
          "Read array buffer response's body as readableStream with mode=byob",
          "Read form data response's body as readableStream with mode=byob"
        ]
      },
      "response-error-from-stream.any.js": {
        "fail": [
          "ReadableStream start() Error propagates to Response.formData() Promise",
          "ReadableStream pull() Error propagates to Response.formData() Promise"
        ]
      },
      "response-stream-with-broken-then.any.js": {
        "note": "this is a bug in webstreams, see https://github.com/nodejs/node/issues/46786",
        "skip": true
      }
    }
  },
  "content-length": {
    "api-and-duplicate-headers.any.js": {
      "fail": [
        "XMLHttpRequest and duplicate Content-Length/Content-Type headers",
        "fetch() and duplicate Content-Length/Content-Type headers"
      ]
    }
  },
  "cross-origin-resource-policy": {
    "note": "undici doesn't implement CORs",
    "skip": true
  },
  "http-cache": {
    "note": "undici doesn't implement http caching",
    "skip": true
  },
  "metadata": {
    "note": "undici doesn't respect RequestInit.mode",
    "skip": true
  },
  "orb": {
    "tentative": {
      "note": "undici doesn't implement orb",
      "skip": true
    }
  },
  "range": {
    "note": "undici doesn't respect range header",
    "skip": true
  },
  "security": {
    "1xx-response.any.js": {
      "fail": [
        "Status(100) should be ignored.",
        "Status(101) should be accepted, with removing body.",
        "Status(103) should be ignored.",
        "Status(199) should be ignored."
      ]
    }
  },
  "stale-while-revalidate": {
    "note": "undici doesn't implement http caching",
    "skip": true
  },
	"idlharness.any.js": {
		"flaky": [
			"Window interface: operation fetch(RequestInfo, optional RequestInit)"
		]
	}
}