Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Can't decode empty formdata with fetch
https://bugs.webkit.org/show_bug.cgi?id=225238 Reviewed by Youenn Fablet. * LayoutTests/imported/w3c/web-platform-tests/fetch/api/body/formdata.any-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/fetch/api/body/formdata.any.js: (promise_test.async t): * LayoutTests/imported/w3c/web-platform-tests/fetch/api/body/formdata.any.worker-expected.txt: * Source/WebCore/Modules/fetch/FetchBodyConsumer.cpp: (WebCore::FetchBodyConsumer::packageFormData): Canonical link: https://commits.webkit.org/253047@main
- Loading branch information
1 parent
e485c13
commit 0cd6258
Showing
4 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
LayoutTests/imported/w3c/web-platform-tests/fetch/api/body/formdata.any-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
|
||
FAIL Consume empty response.formData() as FormData promise_test: Unhandled rejection with value: object "TypeError: Type error" | ||
FAIL Consume empty request.formData() as FormData promise_test: Unhandled rejection with value: object "TypeError: Type error" | ||
PASS Consume empty response.formData() as FormData | ||
PASS Consume empty request.formData() as FormData | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
LayoutTests/imported/w3c/web-platform-tests/fetch/api/body/formdata.any.worker-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
|
||
FAIL Consume empty response.formData() as FormData promise_test: Unhandled rejection with value: object "TypeError: Type error" | ||
FAIL Consume empty request.formData() as FormData promise_test: Unhandled rejection with value: object "TypeError: Type error" | ||
PASS Consume empty response.formData() as FormData | ||
PASS Consume empty request.formData() as FormData | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters