[Webkit-unassigned] [Bug 274102] New: Implement Request/Response `.bytes()` method
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon May 13 11:17:21 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=274102
Bug ID: 274102
Summary: Implement Request/Response `.bytes()` method
Product: WebKit
Version: Safari Technology Preview
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Platform
Assignee: webkit-unassigned at lists.webkit.org
Reporter: bakkot at gmail.com
See https://github.com/whatwg/fetch/issues/1732.
Tests at https://github.com/web-platform-tests/wpt/pull/46198.
The above spec PR adds a `bytes()` method to get a Uint8Array to Body, instead of requiring users to get an ArrayBuffer with `arrayBuffer()` and then wrap it.
There are also PRs to do the same for Blob and PushMessageData, which copy relevant parts of the Body interface:
- https://github.com/w3c/FileAPI/pull/197
- https://github.com/w3c/push-api/pull/369
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240513/5ae2e009/attachment.htm>
More information about the webkit-unassigned
mailing list