-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Normative: add option to omit padding #60
Conversation
I support this addition. |
This got consensus; landing, but I do still need to update test262 tests. |
test('omitPadding', async t => { | ||
for (let [string, result] of standardBase64Vectors) { | ||
await t.test(JSON.stringify(string), () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nbd, but why is this async? isn't this all sync?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just find it easier to always await
everything in node:test
rather than thinking about which things need it.
…ype.toBase64. r=spidermonkey-reviewers,dminor Changes from: tc39/proposal-arraybuffer-base64#60 Differential Revision: https://phabricator.services.mozilla.com/D216279
…ype.toBase64. r=spidermonkey-reviewers,dminor Changes from: tc39/proposal-arraybuffer-base64#60 Differential Revision: https://phabricator.services.mozilla.com/D216279
See #59.