Bug 262102
| Summary: | Provide public C API for defining accessor properties on objects | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Kasper Isager Dalsgarð <kasperisager> |
| Component: | JavaScriptCore | Assignee: | 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ð
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/116390423>