[Webkit-unassigned] [Bug 114457] typeof non-callback interfaces without [NoInterfaceObject] should be "function"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 11 14:09:51 PDT 2013


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





--- Comment #8 from Glenn Adams <glenn at skynav.com>  2013-04-11 14:08:06 PST ---
(In reply to comment #7)
> Our behavior is correct here - HTMLElement is not callable, and therefore ECMAScript requires us to report it as type "object".
> 
> The bug (if you will) is that HTMLElement, etc aren't callable, and that instead they should be functions that are useless

I concur that typeof(HTMLElement), typeof(CSSStyleDeclaration), etc., should be object, but that the type of the object should be a Function object, i.e., that HTMLElement instanceof Function be true. Are we agreeing?

-- 
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