google / closure-library

Google's common JavaScript library
code.google.com/closure/library/
Apache License 2.0
4.88k stars 1.04k forks source link

goog.crypt.base64.decodeString behaves differently depending on JS engine #864

Closed vikeri closed 1 month ago

vikeri commented 6 years ago

The method goog.crypt.base64.decodeString behaves differently on JavaScriptCore compared to SpiderMonkey/V8.

If given null it will successfully complete on V8/SpiderMonkey but throw an error on JavaScriptCore.

I have a demonstration of the issue in this project: https://github.com/vikeri/closure-decode-fail

shicks commented 1 month ago

This issue is being closed as a preparation step before archiving the repository. See the README for more detail.