You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
buffer: atob throw error when the input string is invalid
The specification of `atob` has various different conditions that we need
to abide by. The specific changes that were made:
* `atob` now immediately throws when `undefined`, `false`, or a `number` is
supplied
* `atob` now strips ASCII whitespace before attempting to decode
* `atob` now validates that the code point's length divided by 4 leaves a
remainder that is not 1
See: https://infra.spec.whatwg.org/#forgiving-base64-decodeFixes: #42646
0 commit comments