[wpt-sync] Sync PR 48281 - Expose request duplex
Categories
(Core :: DOM: Networking, task, P4)
Tracking
()
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: I1fedecf912a8f327da6c63bcb0801796e3961640Reviewed-on: https://chromium-review.googlesource.com/5872928
WPT-Export-Revision: 493fe5f98f3b4d05b1fbecfbebf5ac25a17fd5c1
Assignee | ||
Updated•1 month ago
|
Assignee | ||
Comment 1•1 month ago
|
||
Assignee | ||
Comment 2•1 month ago
|
||
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
- /fetch/api/request/request-constructor-init-body-override.any.html [wpt.fyi]
- Check that the body of a new request can be duplicated from an existing Request object:
FAIL
(Chrome:FAIL
, Safari:PASS
)
- Check that the body of a new request can be duplicated from an existing Request object:
- /fetch/api/request/request-constructor-init-body-override.any.worker.html [wpt.fyi]
- Check that the body of a new request can be duplicated from an existing Request object:
FAIL
(Chrome:FAIL
, Safari:PASS
)
- Check that the body of a new request can be duplicated from an existing Request object:
Assignee | ||
Updated•1 month ago
|
Assignee | ||
Updated•1 month ago
|
Comment 4•1 month ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b7e8d0123ec0
https://hg.mozilla.org/mozilla-central/rev/066ffff77645
Description
•