[webkit-changes] [WebKit/WebKit] 6e08c5: [JSC] Add more explicit exception checks to object...
Yusuke Suzuki
noreply at github.com
Fri Sep 16 20:42:05 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6e08c53f024309fbd2ab8dd72a14828d022b7803
https://github.com/WebKit/WebKit/commit/6e08c53f024309fbd2ab8dd72a14828d022b7803
Author: Yusuke Suzuki <ysuzuki at apple.com>
Date: 2022-09-16 (Fri, 16 Sep 2022)
Changed paths:
M Source/JavaScriptCore/runtime/ObjectPrototype.cpp
Log Message:
-----------
[JSC] Add more explicit exception checks to objectProtoFuncLookupGetter objectProtoFuncLookupSetter
https://bugs.webkit.org/show_bug.cgi?id=245304
<rdar://98498151>
Reviewed by Mark Lam.
getOwnPropertyDescriptor call was missing explicit exception check before. It was ok because we are checking the result
value. But let's just deploy simpler way here and suppress failures in debug build.
* Source/JavaScriptCore/runtime/ObjectPrototype.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):
Canonical link: https://commits.webkit.org/254581@main
More information about the webkit-changes
mailing list