[w3c/push-api] PushMessageData is poorly defined and seems broken (Issue #380)

1. Most methods refer to a _bytes_ variable that is not defined. Presumably this should be the internal slot that references the associated byte sequence or null?
2. The methods don't handle _bytes_ being null. Though perhaps it should never be null and that should instead be handled one layer up? It does seem that `data` on `PushEvent` is nullable, though `data` on `PushEventInit` is not??? That would match how section 10.4 initializes this.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/push-api/issues/380
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/push-api/issues/380@github.com>

Received on Tuesday, 9 July 2024 08:36:08 UTC