Closed
Description
Version
17.8.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(' ') === ''
What do you see instead?
atob(' ') // => DOMException [InvalidCharacterError]: Invalid character
Additional information
https://html.spec.whatwg.org/multipage/webappapis.html#dom-atob
https://infra.spec.whatwg.org/#forgiving-base64-decode