WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 175836
168561
Need improved C API support Symbols
https://bugs.webkit.org/show_bug.cgi?id=168561
Summary
Need improved C API support Symbols
Oliver Hunt
Reported
2017-02-18 15:35:37 PST
The C API does not allow symbols as property names, this effects (principally) JSObjectGetProperty/SetProperty which still take JSStringRef, but we also need to update the class API callbacks. In addition to the accessors, we also need a way to create symbols without resorting to JS. Im not sure what such an API would look like, as we've already taken the obvious names -- we could determine string vs. non-string by checking the property name pointer against the GC heap, but that has interesting hazards, and i'm not sure it would be well received during api review :-/
Attachments
Add attachment
proposed patch, testcase, etc.
Joseph Pecoraro
Comment 1
2018-06-15 12:41:21 PDT
It looks like there is an implementation on:
https://bugs.webkit.org/show_bug.cgi?id=175836
I'll dup. *** This bug has been marked as a duplicate of
bug 175836
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug