From cc3e2b9b1a7ccd6c671bc0b3813cf7e2b0d88b5c Mon Sep 17 00:00:00 2001 From: Marcos Casagrande Date: Sat, 8 Oct 2022 22:08:47 +0200 Subject: 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 --- tools/wpt/expectation.json | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) (limited to 'tools/wpt') 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 } -- cgit v1.2.3