Skip to content

Why TypeError instead of DOMException DataError for decompression failure? #51

Open
@saschanaz

Description

https://wicg.github.io/compression/#decompress-flush-and-enqueue

  1. If the end of the compressed input has not been reached, then throw a TypeError.

Not that it matters too much, but not sure TypeError makes much sense there.

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