summaryrefslogtreecommitdiff
path: root/tools/wpt.ts
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2021-10-10 21:46:15 +0200
committerBert Belder <bertbelder@gmail.com>2021-10-17 15:12:19 +0200
commit22d6e43c37d5a821b0487e927070eb191da3c470 (patch)
tree24b8d0a6d5b06841b78d52c6917dcfb795551f09 /tools/wpt.ts
parenta1d6b53acd05ae0c598f13c0e597b9daa342d35b (diff)
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'.
Diffstat (limited to 'tools/wpt.ts')
-rwxr-xr-xtools/wpt.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/wpt.ts b/tools/wpt.ts
index eb1893940..d56ff34d6 100755
--- a/tools/wpt.ts
+++ b/tools/wpt.ts
@@ -653,6 +653,16 @@ function discoverTestsToRun(
) {
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 split = finalPath.split("/");