github web-platform-tests/wpt merge_pr_48281

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
11 months ago

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/c/chromium/src/+/5872928
Commit-Queue: Yoav Weiss (@Shopify) yoavweiss@chromium.org
Reviewed-by: Kouhei Ueno kouhei@chromium.org
Cr-Commit-Position: refs/heads/main@{#1358031}

Don't miss a new wpt release

NewReleases is sending notifications on new releases.