[webkit-changes] [WebKit/WebKit] 102781: [JSC] Use ThrowScope to catch exceptions thrown by...
Yijia Huang
noreply at github.com
Sun May 26 18:05:38 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 102781a12435d7f2c2bd85b7b08e69e96eb61606
https://github.com/WebKit/WebKit/commit/102781a12435d7f2c2bd85b7b08e69e96eb61606
Author: Yijia Huang <yijia_huang at apple.com>
Date: 2024-05-26 (Sun, 26 May 2024)
Changed paths:
M Source/JavaScriptCore/runtime/MapPrototype.cpp
M Source/JavaScriptCore/runtime/SetPrototype.cpp
Log Message:
-----------
[JSC] Use ThrowScope to catch exceptions thrown by getSet and getMap
https://bugs.webkit.org/show_bug.cgi?id=274618
rdar://128638541
Reviewed by Yusuke Suzuki.
Stop checking nullptr's for handling exceptions and
use ThrowScope instead.
* Source/JavaScriptCore/runtime/MapPrototype.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):
(JSC::createMapIteratorObject):
* Source/JavaScriptCore/runtime/SetPrototype.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):
(JSC::createSetIteratorObject):
Canonical link: https://commits.webkit.org/279337@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list