Skip to content

Commit f198390

Browse files
committed
Try to block some brittle tests
1 parent e4e5c0a commit f198390

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/wpt/fetch/api-test.ts

+13
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,12 @@ export default {
5252
"response.headers.get('www-authenticate') expects 1, 2, 3, 4",
5353
"response.headers.get('content-length') expects 0",
5454
],
55+
skipAllTests: true,
5556
},
5657
'basic/header-value-null-byte.any.js': {
5758
comment: 'We should return a nicer TypeError instead of "internal error"',
5859
expectedFailures: ['Ensure fetch() rejects null bytes in headers'],
60+
skipAllTests: true,
5961
},
6062
'basic/historical.any.js': {
6163
comment: 'This test expects us not to implement getAll',
@@ -77,6 +79,7 @@ export default {
7779
'Multiple integrities: invalid as strong as valid',
7880
'Multiple integrities: both are valid',
7981
],
82+
skipAllTests: true,
8083
},
8184
'basic/keepalive.any.js': {
8285
comment: 'Hard to run - involves iframes and workers',
@@ -196,6 +199,7 @@ export default {
196199
'Testing response url getter with http://{{host}}:{{ports[http][0]}}/#',
197200
'Testing response url getter with http://{{host}}:{{ports[http][0]}}#ada',
198201
],
202+
skipAllTests: true,
199203
},
200204
'basic/scheme-about.any.js': {},
201205
'basic/scheme-blob.sub.any.js': {
@@ -223,10 +227,19 @@ export default {
223227
'basic/stream-response.any.js': {
224228
comment:
225229
'Unidentified kj issue: Invalid response status line (invalid protocol).',
230+
skipAllTests: true,
226231
},
227232
'basic/stream-safe-creation.any.js': {
228233
comment:
229234
'Unidentified kj issue: Invalid response status line (invalid protocol).',
235+
expectedFailures: [
236+
"Object.prototype.start accessor returning invalid value should not affect stream creation by 'fetch'",
237+
"throwing Object.prototype.start accessor should not affect stream creation by 'fetch'",
238+
"throwing Object.prototype.highWaterMark accessor should not affect stream creation by 'fetch'",
239+
"throwing Object.prototype.size accessor should not affect stream creation by 'fetch'",
240+
"Object.prototype.size accessor returning invalid value should not affect stream creation by 'fetch'",
241+
"throwing Object.prototype.type accessor should not affect stream creation by 'fetch'",
242+
],
230243
},
231244
'basic/text-utf8.any.js': {
232245
comment: 'Some kind of unicode nitpickiness. Needs investigation',

0 commit comments

Comments
 (0)