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   

Kasper Isager Dalsgarð
Reported 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.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-10-03 01:36:14 PDT
Note You need to log in before you can comment on or make changes to this bug.