RESOLVED FIXED 274102
Implement Request & Response's bytes() method
https://bugs.webkit.org/show_bug.cgi?id=274102
Summary Implement Request & Response's bytes() method
Kevin Gibbons
Reported 2024-05-13 11:17:21 PDT
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
Attachments
Anne van Kesteren
Comment 1 2024-05-14 05:36:41 PDT
Radar WebKit Bug Importer
Comment 2 2024-05-20 11:18:24 PDT
EWS
Comment 3 2024-05-20 22:50:15 PDT
Committed 279036@main (a534f04d1a2e): <https://commits.webkit.org/279036@main> Reviewed commits have been landed. Closing PR #28530 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.