[Webkit-unassigned] [Bug 160032] Adding JSObjectGetClass method

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 24 09:19:09 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=160032

--- Comment #13 from Geoffrey Garen <ggaren at apple.com> ---
This seems like a bad design.

The example code you've provided is broken because it unconditionally passes NULL to JSObjectMake, but many classes will require valid private data upon construction.

Can you give a more in-depth example of a program that would use this technique?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160724/183c6b8b/attachment.html>


More information about the webkit-unassigned mailing list