[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 13:29:56 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=37921
--- Comment #8 from Geoffrey Garen <ggaren at apple.com> 2010-04-21 13:29:56 PST ---
> > Can you use instanceof / JSValueIsInstanceOfConstructor?
>
> I did consider that but I concluded there wasn't a reliable way to get the
> constructor objects for the DOM classes. Doing something like
> JSObjectGetProperty to get window.HTMLDocument might return some HTMLDocument
> object overriden by a user script.
You can pre-fetch any important constructors you're interested in before
running user scripts.
--
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