mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
chore(wpt): disable broken tests (#12385)
* 'request-upload.h2' and 'redirect-upload.h2' only work with a functional HTTP2 test harness server, otherwise they're flaky. * Fetch request streaming tests require a server that doesn't choke on requests that use 'Transfer-Encoding: chunked'.
This commit is contained in:
parent
a1d6b53acd
commit
22d6e43c37
2 changed files with 12 additions and 18 deletions
10
tools/wpt.ts
10
tools/wpt.ts
|
@ -653,6 +653,16 @@ function discoverTestsToRun(
|
||||||
) {
|
) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
// These tests require an HTTP2 compatible server.
|
||||||
|
if (url.pathname.includes(".h2.")) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
// Streaming fetch requests need a server that supports chunked
|
||||||
|
// encoding, which the WPT test server does not. Unfortunately this
|
||||||
|
// also disables some useful fetch tests.
|
||||||
|
if (url.pathname.includes("request-upload")) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
const finalPath = url.pathname + url.search;
|
const finalPath = url.pathname + url.search;
|
||||||
|
|
||||||
const split = finalPath.split("/");
|
const split = finalPath.split("/");
|
||||||
|
|
|
@ -7819,9 +7819,7 @@
|
||||||
"CORS invalid integrity",
|
"CORS invalid integrity",
|
||||||
"Empty string integrity for opaque response",
|
"Empty string integrity for opaque response",
|
||||||
"SHA-* integrity for opaque response"
|
"SHA-* integrity for opaque response"
|
||||||
],
|
]
|
||||||
"request-upload.h2.any.html": false,
|
|
||||||
"request-upload.h2.any.worker.html": false
|
|
||||||
},
|
},
|
||||||
"response": {
|
"response": {
|
||||||
"json.any.html": true,
|
"json.any.html": true,
|
||||||
|
@ -7983,21 +7981,7 @@
|
||||||
"redirect-schemes.any.html": true,
|
"redirect-schemes.any.html": true,
|
||||||
"redirect-schemes.any.worker.html": true,
|
"redirect-schemes.any.worker.html": true,
|
||||||
"redirect-to-dataurl.any.html": true,
|
"redirect-to-dataurl.any.html": true,
|
||||||
"redirect-to-dataurl.any.worker.html": true,
|
"redirect-to-dataurl.any.worker.html": true
|
||||||
"redirect-upload.h2.any.html": [
|
|
||||||
"Fetch upload streaming should be accepted on 303",
|
|
||||||
"Fetch upload streaming should fail on 301",
|
|
||||||
"Fetch upload streaming should fail on 302",
|
|
||||||
"Fetch upload streaming should fail on 307",
|
|
||||||
"Fetch upload streaming should fail on 308"
|
|
||||||
],
|
|
||||||
"redirect-upload.h2.any.worker.html": [
|
|
||||||
"Fetch upload streaming should be accepted on 303",
|
|
||||||
"Fetch upload streaming should fail on 301",
|
|
||||||
"Fetch upload streaming should fail on 302",
|
|
||||||
"Fetch upload streaming should fail on 307",
|
|
||||||
"Fetch upload streaming should fail on 308"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"idlharness.any.html": [
|
"idlharness.any.html": [
|
||||||
"Request interface: attribute destination",
|
"Request interface: attribute destination",
|
||||||
|
|
Loading…
Reference in a new issue