summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMarcos Casagrande <marcoscvp90@gmail.com>2022-10-08 22:08:47 +0200
committerGitHub <noreply@github.com>2022-10-08 16:08:47 -0400
commitcc3e2b9b1a7ccd6c671bc0b3813cf7e2b0d88b5c (patch)
tree7bcbc07f446d974289d46131fd7b3d0175c335b7 /tools
parent1fc1ae00053d66f609e21797b4a83d5b3e2c005b (diff)
fix(ext/fetch): reject immediately on aborted signal (#16190)
Enabled the following test: https://github.com/web-platform-tests/wpt/blob/edc428e8e229429acd723efc7a6d41010c94fc41/fetch/api/abort/general.any.js#L185-L201
Diffstat (limited to 'tools')
-rw-r--r--tools/wpt/expectation.json18
1 files changed, 2 insertions, 16 deletions
diff --git a/tools/wpt/expectation.json b/tools/wpt/expectation.json
index 5c15084b8..828eb079d 100644
--- a/tools/wpt/expectation.json
+++ b/tools/wpt/expectation.json
@@ -3209,24 +3209,10 @@
"WorkerGlobalScope interface: calling fetch(RequestInfo, optional RequestInit) on self with too few arguments must throw TypeError"
],
"abort": {
- "general.any.html": [
- "response.arrayBuffer() rejects if already aborted",
- "response.blob() rejects if already aborted",
- "response.formData() rejects if already aborted",
- "response.json() rejects if already aborted",
- "response.text() rejects if already aborted",
- "Call text() twice on aborted response"
- ],
- "general.any.worker.html": [
- "response.arrayBuffer() rejects if already aborted",
- "response.blob() rejects if already aborted",
- "response.formData() rejects if already aborted",
- "response.json() rejects if already aborted",
- "response.text() rejects if already aborted",
- "Call text() twice on aborted response"
- ],
"request.any.html": true,
"request.any.worker.html": true,
+ "general.any.html": true,
+ "general.any.worker.html": true,
"cache.https.any.html": false,
"cache.https.any.worker.html": false
}