[Webkit-unassigned] [Bug 37921] API to get object class name missing from JSC
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Apr 21 09:46:35 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=37921
Geoffrey Garen <ggaren at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ggaren at apple.com
--- Comment #5 from Geoffrey Garen <ggaren at apple.com> 2010-04-21 09:46:35 PST ---
> The reason I would like it added is that I would like to be able to determine
> if a JSObjectRef represents a W3C DOM object.
Can you use instanceof / JSValueIsInstanceOfConstructor?
> Also I'm not convinced that this is a JavaScriptCore-internal concept as the
> ECMA-262 specification does describe the [[Class]] property, which is what this
> is getting.
ECMA-262 does describe the [[Class]] property, but that description says "The
value of a [[Class]] property is used internally" -- i.e., it's an
implementation detail.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list