Bug 262102 - Provide public C API for defining accessor properties on objects
Summary: Provide public C API for defining accessor properties on objects
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: Safari 17
Hardware: Mac (Apple Silicon) macOS 13
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-09-26 01:35 PDT by Kasper Isager Dalsgarð
Modified: 2023-10-03 01:36 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>