Closed Bug 1920040 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 48281 - Expose request duplex

Categories

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

task

Tracking

()

RESOLVED FIXED
132 Branch
Tracking Status
firefox132 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Yoav Weiss <yoavweiss@chromium.org> wrote:

Expose request duplex

The Request object should expose "duplex"[1], given our support for
streaming requests. Since it doesn't, requests with a body currently
cannot be used to construct other requests.

This CL fixes that by exposing a fixed-value duplex of "half" (as
specified).

PSA: https://groups.google.com/a/chromium.org/g/blink-dev/c/HPhATidOhuw

[1] https://fetch.spec.whatwg.org/#dom-request-duplex

Bug: 40237822
Change-Id: I1fedecf912a8f327da6c63bcb0801796e3961640

Reviewed-on: https://chromium-review.googlesource.com/5872928
WPT-Export-Revision: 493fe5f98f3b4d05b1fbecfbebf5ac25a17fd5c1

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

CI Results

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

Total 2 tests and 2 subtests

Status Summary

Firefox

OK : 2
PASS: 2
FAIL: 2

Chrome

OK : 2
PASS: 2
FAIL: 2

Safari

OK : 2
PASS: 4

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b7e8d0123ec0 [wpt PR 48281] - Expose request duplex, a=testonly https://hg.mozilla.org/integration/autoland/rev/066ffff77645 [wpt PR 48281] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
You need to log in before you can comment on or make changes to this bug.