[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 05:32:54 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=250618

--- Comment #1 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
Test - https://jsfiddle.net/2q73Lwf4/show

Failing (in STP161 & Firefox Nightly 111):

FAIL window.btoa() should throw TypeError: Failed to execute 'btoa' on 'Window': 1 argument required, but only 0 present.. Threw exception TypeError: Not enough arguments.

FAIL window.atob() should throw TypeError: Failed to execute 'atob' on 'Window': 1 argument required, but only 0 present.. Threw exception TypeError: Not enough arguments.

______

Chrome Canary 111 passes all.

-- 
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/20230119/4acccae7/attachment.htm>


More information about the webkit-unassigned mailing list