Intent to Implement and Ship: PushMessageData::bytes()

504 views
Skip to first unread message

Peter Beverloo

unread,
Oct 21, 2024, 9:16:44 AMOct 21
to blink-dev

Contact emails

pe...@chromium.org

Explainer

https://github.com/w3c/push-api/pull/370

Specification

https://www.w3.org/TR/push-api/#dom-pushmessagedata-bytes

Summary

The PushMessageData interface mimics the Body interface, which was amended earlier this year with a new bytes() method, following the principle that APIs should generally vend byte buffers as Uint8Arrays.


https://github.com/whatwg/fetch/pull/1753

Blink component

Blink>PushAPI

Search tags

pushnotifications

TAG review

N/A, matches a W3C Design Principle that was reviewed by the TAG.

TAG review status

Not applicable

Risks



Interoperability and Compatibility

None



Gecko: Shipped/Shipping (https://bugzilla.mozilla.org/show_bug.cgi?id=1897871)

WebKit: Shipped/Shipping (https://bugs.webkit.org/show_bug.cgi?id=274119)

Web developers: Positive (https://github.com/w3ctag/design-principles/pull/480) Following a W3C Design Principle

Other signals:

WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?

None



Debuggability

None



Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, ChromeOS, Android, and Android WebView)?

All but Android WebView, where the Push API is not available

Is this feature fully tested by web-platform-tests?

Yes

Flag name on chrome://flags

None

Finch feature name

None

Non-finch justification

Minor addition to an existing, well adopted API.



Requires code in //chrome?

False

Tracking bug

https://b.corp.google.com/issues/373336950

Estimated milestones

Shipping on desktop132
Shipping on Android132


Anticipated spec changes

Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g., changing to naming or structure of the API in a non-backward-compatible way).

None

Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5117729756151808?gate=6280465584226304

This intent message was generated by Chrome Platform Status.

Alex Russell

unread,
Oct 21, 2024, 6:03:40 PMOct 21
to Peter Beverloo, blink-dev
LGTM1

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CALt3x6k40_DaAWzb3gTZDyOuz_oyHazfkresF0OwixdfSDOCiw%40mail.gmail.com.

Domenic Denicola

unread,
Oct 21, 2024, 10:02:50 PMOct 21
to Alex Russell, Peter Beverloo, blink-dev

Daniel Bratell

unread,
Oct 23, 2024, 6:45:49 AMOct 23
to Domenic Denicola, Alex Russell, Peter Beverloo, blink-dev
Reply all
Reply to author
Forward
0 new messages