Closed Bug 2072531 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 62738 - Fetch: a moved FormData body should survive collection of its source

Categories

(Core :: DOM: Networking, task, P4)

task

Tracking

()

RESOLVED FIXED
158 Branch
Tracking Status
firefox158 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 62738 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/62738
Details from upstream follow.

Anne van Kesteren <annevk@annevk.nl> wrote:

Fetch: a moved FormData body should survive collection of its source

Follow-up to #62715, which covered Response, Request, a clone, and the body as a stream, but not constructing a Request from a Request. That moves the body over, and the source has to move with it.

Verified against WebKit: with the fix from #62715 in place but the move case unhandled, this fails with InvalidStateError: Failed to read form data blob.

PR 62738 applied with additional changes from upstream: d556bd72998c2a11556dc692a3e7c10347d1accc

Component: web-platform-tests → DOM: Networking
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 4 tests and 6 subtests

Status Summary

Firefox

OK : 4
PASS: 24

Chrome

OK : 4
PASS: 24

Safari

OK : 4
PASS: 21
FAIL: 3

Links

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/635691402e18 https://hg.mozilla.org/integration/autoland/rev/253baa4d72a5 [wpt PR 62738] - Fetch: a moved FormData body should survive collection of its source, a=testonly
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 158 Branch
You need to log in before you can comment on or make changes to this bug.