Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 357d3881fd8d0f6ef5118c4992f23f1bb03c9b71
https://github.com/WebKit/WebKit/commit/357d3881fd8d0f6ef5118c4992f23f1bb03c9b71
Author: Yusuke Suzuki <[email protected]>
Date: 2026-06-15 (Mon, 15 Jun 2026)
Changed paths:
M Source/JavaScriptCore/runtime/JSObject.cpp
M Source/JavaScriptCore/runtime/JSObject.h
Log Message:
-----------
[JSC] Object.freeze / Object.seal need to reify special properties
https://bugs.webkit.org/show_bug.cgi?id=317132
rdar://179730839
Reviewed by Vassili Bykov.
After 314682@main, test262 revealed that Object.freeze / Object.seal was
not reifying special properties before freezing / sealing. This patch
fixes it.
* Source/JavaScriptCore/runtime/JSObject.cpp:
(JSC::JSObject::seal):
(JSC::JSObject::freeze):
(JSC::JSObject::materializeLazyOwnProperties):
* Source/JavaScriptCore/runtime/JSObject.h:
Canonical link: https://commits.webkit.org/315253@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications