From 1fb2e23a6747a4f774e63639eb522cb34aadbf42 Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Sun, 6 Jun 2021 15:37:17 +0200 Subject: feat(fetch): implement abort (#10863) This commit introduces fetch aborting via an AbortSignal. --- tools/wpt/expectation.json | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'tools/wpt/expectation.json') 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, -- cgit v1.2.3