[webkit-changes] [WebKit/WebKit] 800ee9: [JSC] atob(); crashes on Asan builds
EWS
noreply at github.com
Wed Jan 11 18:19:47 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 800ee9a9188a6199ecc1efdc620d6b95bd9b0f8b
https://github.com/WebKit/WebKit/commit/800ee9a9188a6199ecc1efdc620d6b95bd9b0f8b
Author: Yijia Huang <yijia_huang at apple.com>
Date: 2023-01-11 (Wed, 11 Jan 2023)
Changed paths:
M JSTests/stress/atob-btoa.js
M Source/JavaScriptCore/jsc.cpp
Log Message:
-----------
[JSC] atob(); crashes on Asan builds
https://bugs.webkit.org/show_bug.cgi?id=250457
rdar://104124523
Reviewed by Saam Barati.
atob and btoa should throw exceptions when executed with no input.
Web API Spec: https://html.spec.whatwg.org/multipage/webappapis.html#dom-atob-dev
* JSTests/stress/atob-btoa.js:
(shouldThrow):
* Source/JavaScriptCore/jsc.cpp:
(JSC_DEFINE_HOST_FUNCTION):
Canonical link: https://commits.webkit.org/258815@main
More information about the webkit-changes
mailing list