[webkit-changes] [WebKit/WebKit] 235640: [JSC] Hoist configurability checks in ProxyObject'...
EWS
noreply at github.com
Tue Feb 28 12:13:04 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 235640089671f7559a4f42c8d08391b388719eda
https://github.com/WebKit/WebKit/commit/235640089671f7559a4f42c8d08391b388719eda
Author: Alexey Shvayka <ashvayka at apple.com>
Date: 2023-02-28 (Tue, 28 Feb 2023)
Changed paths:
M Source/JavaScriptCore/runtime/ProxyObject.cpp
Log Message:
-----------
[JSC] Hoist configurability checks in ProxyObject's "get" and "set" traps
https://bugs.webkit.org/show_bug.cgi?id=253083
<rdar://problem/106035527>
Reviewed by Yusuke Suzuki.
This patch implements editorial spec change [1], making the code a bit easier to read
and sets the stage for a follow-up patch that will make the trap result validation conditional.
No behavior change.
[1]: https://github.com/tc39/ecma262/pull/895
* Source/JavaScriptCore/runtime/ProxyObject.cpp:
(JSC::ProxyObject::validateGetTrapResult):
(JSC::ProxyObject::validateSetTrapResult):
Canonical link: https://commits.webkit.org/260957@main
More information about the webkit-changes
mailing list