Bug 262102

Summary: Provide public C API for defining accessor properties on objects
Product: WebKit Reporter: Kasper Isager Dalsgarð <kasperisager>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: keith_miller, mark.lam, webkit-bug-importer, ysuzuki
Priority: P2 Keywords: InRadar
Version: Safari 17   
Hardware: Mac (Apple Silicon)   
OS: macOS 13   

Description Kasper Isager Dalsgarð 2023-09-26 01:35:09 PDT
The public JavaScriptCore C API is currently missing functions for defining accessor properties, that is properties backed by getter and/or setter methods, on objects. The `JSClassRef` APIs provide support for this when the caller also controls object creation, but similar APIs are missing for defining such properties on existing objects created outside the control of the caller.
Comment 1 Radar WebKit Bug Importer 2023-10-03 01:36:14 PDT
<rdar://problem/116390423>