Skip to content

Where should the web platform's base64 algorithm go? #2912

@annevk

Description

@annevk

It seems the atob() flavor of base64 is also used by data URLs, so Fetch will need it. Should the algorithm move to Fetch, stay in HTML, or move elsewhere (IDL and Infra come to mind)?

We'll also need to make the algorithm return a byte sequence. (If we switch to ByteString as suggested in #2911 that change won't be observable for atob(). It's only observable for btoa() due to the exception change.)

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