Intent to ship: Uint8Array to/from base64 and hex

408 views
Skip to first unread message

Daniel Minor

unread,
Oct 2, 2024, 1:52:22 PMOct 2
to dev-pl...@mozilla.org

As of Firefox 133, I intend to turn the `Uint8Array to/from base64 and hex` proposal implementation on by default on all platforms. It has been developed behind the `javascript.options.experimental.uint8array_base64` preference. The API shipped in Safari Tech Preview 202 (https://webkit.org/blog/15798/release-notes-for-safari-technology-preview-202/), the implementation in V8 has started (https://issues.chromium.org/issues/42204568).

Bug to turn on by default: https://bugzilla.mozilla.org/show_bug.cgi?id=1917885 is the bug to enable, and https://bugzilla.mozilla.org/show_bug.cgi?id=1862220 is the meta bug for this.

Standard: https://github.com/tc39/proposal-arraybuffer-base64

Daniel

Nick Alexander

unread,
Oct 2, 2024, 3:02:29 PMOct 2
to Daniel Minor, dev-pl...@mozilla.org
Dan, others,

Amazing!  I literally have the tab still open from yesterday when I wanted this function.  (Wish I'd known about the pref!)

Best,
Nick
Reply all
Reply to author
Forward
0 new messages