Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f0975fe50c3160d17a7f759053f12c0fac68939b
https://github.com/WebKit/WebKit/commit/f0975fe50c3160d17a7f759053f12c0fac68939b
Author: Yusuke Suzuki <[email protected]>
Date: 2023-05-22 (Mon, 22 May 2023)
Changed paths:
A JSTests/stress/atob-btoa-oom-check.js
M Source/JavaScriptCore/jsc.cpp
Log Message:
-----------
[JSC] Check OOM in JSC shell btoa / atob functions
https://bugs.webkit.org/show_bug.cgi?id=257165
rdar://109401358
Reviewed by Mark Lam and Keith Miller.
Check OOM. JSString::value can throw an error.
We should just use toWTFString to obtain String.
* JSTests/stress/atob-btoa-oom-check.js: Added.
* Source/JavaScriptCore/jsc.cpp:
(JSC_DEFINE_HOST_FUNCTION):
Canonical link: https://commits.webkit.org/264391@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes