Skip to content
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

Merged
merged 1 commit into from
Jun 11, 2024
Merged

Normative: add option to omit padding #60

merged 1 commit into from
Jun 11, 2024

Conversation

bakkot
Copy link
Collaborator

@bakkot bakkot commented May 10, 2024

See #59.

@panva
Copy link

panva commented May 10, 2024

I support this addition.

@bakkot
Copy link
Collaborator Author

bakkot commented Jun 11, 2024

This got consensus; landing, but I do still need to update test262 tests.

@bakkot bakkot merged commit 58eaa4c into main Jun 11, 2024
1 check passed
@bakkot bakkot deleted the omit-padding branch June 11, 2024 08:43
Comment on lines +29 to +31
test('omitPadding', async t => {
for (let [string, result] of standardBase64Vectors) {
await t.test(JSON.stringify(string), () => {
Copy link
Member

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?

Copy link
Collaborator Author

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.

ljharb added a commit to es-shims/es-arraybuffer-base64 that referenced this pull request Jun 12, 2024
ljharb added a commit to es-shims/es-arraybuffer-base64 that referenced this pull request Jul 8, 2024
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Jul 13, 2024
ErichDonGubler pushed a commit to erichdongubler-mozilla/firefox that referenced this pull request Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants