Bug 274119 - Add bytes() to Blob and PushMessageData
Summary: Add bytes() to Blob and PushMessageData
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Anne van Kesteren
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2024-05-13 14:24 PDT by Kevin Gibbons
Modified: 2024-05-24 05:43 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Gibbons 2024-05-13 14:24:41 PDT
See https://github.com/w3c/FileAPI/pull/197. This is like the existing `arrayBuffer()` method, but gives you a Uint8Array instead.

Tests at https://github.com/web-platform-tests/wpt/pull/46232

See also https://bugs.webkit.org/show_bug.cgi?id=274102.
Comment 1 Anne van Kesteren 2024-05-16 09:25:43 PDT
Pull request: https://github.com/WebKit/WebKit/pull/28657
Comment 2 Anne van Kesteren 2024-05-17 02:29:42 PDT
This bug also covers https://github.com/w3c/push-api/pull/369 now.
Comment 3 Radar WebKit Bug Importer 2024-05-20 14:25:18 PDT
<rdar://problem/128418858>
Comment 4 Anne van Kesteren 2024-05-21 01:36:54 PDT
Specification PRs are now:

- https://github.com/w3c/FileAPI/pull/198
- https://github.com/w3c/push-api/pull/370
Comment 5 EWS 2024-05-24 05:43:25 PDT
Committed 279263@main (d35627646eb3): <https://commits.webkit.org/279263@main>

Reviewed commits have been landed. Closing PR #28657 and removing active labels.