Closed
Bug 1907302
Opened 1 year ago
Closed 1 year ago
Add optional padding and direct write changes to Uint8Array to/from base64 proposal
Categories
(Core :: JavaScript: Standard Library, enhancement)
Core
JavaScript: Standard Library
Tracking
()
RESOLVED
FIXED
130 Branch
| Tracking | Status | |
|---|---|---|
| firefox130 | --- | fixed |
People
(Reporter: anba, Assigned: anba)
References
Details
Attachments
(2 files)
| Assignee | ||
Comment 1•1 year ago
|
||
| Assignee | ||
Comment 2•1 year ago
|
||
Change FromHex and FromBase64 to accept a templated Sink parameter, which
either appends to a ByteVector or directly into the target TypedArrayObject.
Uint8Array.prototype.setFrom{Base64,Hex} now no longer have to allocate
temporary space when processing the input string.
Changes from:
https://github.com/tc39/proposal-arraybuffer-base64/pull/58
Depends on D216279
Pushed by andre.bargull@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/fe345577ce8d
Part 1: Add option to omit padding in Uint8Array.prototype.toBase64. r=spidermonkey-reviewers,dminor
https://hg.mozilla.org/integration/autoland/rev/67f24633fa04
Part 2: Write data up until error in Uint8Array.prototype.setFrom{Base64,Hex} methods. r=spidermonkey-reviewers,dminor
Comment 4•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/fe345577ce8d
https://hg.mozilla.org/mozilla-central/rev/67f24633fa04
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox130:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•