summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLuca Casonato <lucacasonato@yahoo.com>2021-06-06 15:37:17 +0200
committerGitHub <noreply@github.com>2021-06-06 15:37:17 +0200
commit1fb2e23a6747a4f774e63639eb522cb34aadbf42 (patch)
tree4cf18f9519b64ae923aa99ad9ba3a0bedebf6b5b /tools
parent3f9187c366be362a219274ded5be9e679b96af98 (diff)
feat(fetch): implement abort (#10863)
This commit introduces fetch aborting via an AbortSignal.
Diffstat (limited to 'tools')
-rw-r--r--tools/wpt/expectation.json13
1 files changed, 10 insertions, 3 deletions
diff --git a/tools/wpt/expectation.json b/tools/wpt/expectation.json
index d724b6b5c..b98138b0b 100644
--- a/tools/wpt/expectation.json
+++ b/tools/wpt/expectation.json
@@ -1052,7 +1052,6 @@
"Request interface: attribute keepalive",
"Request interface: attribute isReloadNavigation",
"Request interface: attribute isHistoryNavigation",
- "Request interface: attribute signal",
"Request interface: attribute body",
"Request interface: attribute bodyUsed",
"Request interface: new Request('about:blank') must inherit property \"destination\" with the proper type",
@@ -1065,14 +1064,22 @@
"Request interface: new Request('about:blank') must inherit property \"keepalive\" with the proper type",
"Request interface: new Request('about:blank') must inherit property \"isReloadNavigation\" with the proper type",
"Request interface: new Request('about:blank') must inherit property \"isHistoryNavigation\" with the proper type",
- "Request interface: new Request('about:blank') must inherit property \"signal\" with the proper type",
"Response interface: operation error()",
"Response interface: operation redirect(USVString, optional unsigned short)",
"Response interface: attribute body",
"Response interface: attribute bodyUsed",
"Response interface: calling redirect(USVString, optional unsigned short) on new Response() with too few arguments must throw TypeError",
"Window interface: operation fetch(RequestInfo, optional RequestInit)"
- ]
+ ],
+ "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"
+ ]
+ }
},
"data-urls": {
"base64.any.html": true,