-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
Closed
Labels
bufferIssues and PRs related to the buffer subsystem.Issues and PRs related to the buffer subsystem.confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.
Description
Version
17.9.0
Platform
MacOS 12.2
Subsystem
global / buffer
What steps will reproduce the bug?
No response
How often does it reproduce? Is there a required condition?
No response
What is the expected behavior?
atob('a') // => DOMException
atob('a ') // => DOMException
atob('aaaaa') // => DOMException
What do you see instead?
atob('a') === ''
atob('a ') === ''
atob('aaaaa') === 'i¦\x9A'
Additional information
https://infra.spec.whatwg.org/#forgiving-base64-decode step 3
Metadata
Metadata
Assignees
Labels
bufferIssues and PRs related to the buffer subsystem.Issues and PRs related to the buffer subsystem.confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.