[Webkit-unassigned] [Bug 250618] window.atob() returns wrong value when given a string container only white spaces
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jan 19 21:18:02 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=250618
Karl Dubost <karlcow at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #2 from Karl Dubost <karlcow at apple.com> ---
All the tests pass in https://wpt.fyi/results/html/webappapis/atob/base64.any.html?label=experimental&label=master&aligned
The Fiddle test is wrong. It is trying to test the full error message.
https://jsfiddle.net/2q73Lwf4/show
Safari TP 161
typeerror: Not enough arguments
Firefox Nightly 110
Uncaught TypeError: Window.atob: At least 1 argument required, but only 0 passed
Chrome Canary 111
Uncaught TypeError: Failed to execute 'atob' on 'Window': 1 argument required, but only 0 present.
They all throw with TypeError with window.atob()
and they all return the empty string '' for window.atob(" ")
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230120/2d6a0396/attachment.htm>
More information about the webkit-unassigned
mailing list