summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMarcos Casagrande <marcoscvp90@gmail.com>2022-10-07 13:59:30 +0200
committerGitHub <noreply@github.com>2022-10-07 13:59:30 +0200
commita5d55fe6eaa9ba32908cdff5a88215dd2466d415 (patch)
treecd14d5702f9c1b7ed98084e315a0d332f17442b8 /tools
parente136bd86b3bf0a14d3379b389a44547d332b9ca5 (diff)
fix(ext/fetch): support empty formdata (#16165)
This PR adds support for empty `FormData` parsing in `Response`/`Request` ```js new Response(new FormData()).formData() ``` ref: https://github.com/web-platform-tests/wpt/issues/28607
Diffstat (limited to 'tools')
-rw-r--r--tools/wpt/expectation.json20
1 files changed, 4 insertions, 16 deletions
diff --git a/tools/wpt/expectation.json b/tools/wpt/expectation.json
index 4afa46066..4c5269d1a 100644
--- a/tools/wpt/expectation.json
+++ b/tools/wpt/expectation.json
@@ -3077,14 +3077,8 @@
"response-static-json.any.worker.html": true
},
"body": {
- "formdata.any.html": [
- "Consume empty response.formData() as FormData",
- "Consume empty request.formData() as FormData"
- ],
- "formdata.any.worker.html": [
- "Consume empty response.formData() as FormData",
- "Consume empty request.formData() as FormData"
- ],
+ "formdata.any.html": true,
+ "formdata.any.worker.html": true,
"mime-type.any.html": true,
"mime-type.any.worker.html": true
},
@@ -3231,14 +3225,8 @@
"response.text() rejects if already aborted",
"Call text() twice on aborted response"
],
- "request.any.html": [
- "Calling formData() on an aborted request",
- "Aborting a request after calling formData()"
- ],
- "request.any.worker.html": [
- "Calling formData() on an aborted request",
- "Aborting a request after calling formData()"
- ],
+ "request.any.html": true,
+ "request.any.worker.html": true,
"cache.https.any.html": false,
"cache.https.any.worker.html": false
}