Bug 245671 - Add duplex property to Request
Summary: Add duplex property to Request
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-09-26 06:52 PDT by Jake Archibald
Modified: 2024-07-29 20:00 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jake Archibald 2022-09-26 06:52:23 PDT
https://github.com/whatwg/fetch/pull/1493

This means `new Response(url, response)` behaves as expected (the duplex option is passed to the new response.
Comment 1 Anne van Kesteren 2022-09-26 08:03:05 PDT
Comment 0 meant that `new Request(url, request)` behaves as expected (the duplex option is passed to the new request. Some nice copypasta there. 😊

Whenever we get around to this we should ensure to also sync WPT `fetch/` tests so https://github.com/web-platform-tests/wpt/pull/36048 isn't overlooked.
Comment 2 Radar WebKit Bug Importer 2022-10-03 06:53:16 PDT
<rdar://problem/100715035>
Comment 3 Jake Archibald 2022-10-03 07:49:55 PDT
Oh wow. I get Request & Response mixed up far too much.