Skip to content

PushMessageData is poorly defined and seems broken #380

@annevk

Description

@annevk
  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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions