[Webkit-unassigned] [Bug 21886] New: window.HTMLOptionElement == "[object HTMLElementConstructor]" instead of HTMLOptionElementConstructor

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Oct 25 08:24:07 PDT 2008


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

           Summary: window.HTMLOptionElement == "[object
                    HTMLElementConstructor]" instead of
                    HTMLOptionElementConstructor
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: eric at webkit.org
 BugsThisDependsOn: 21842


window.HTMLOptionElement == "[object HTMLElementConstructor]" instead of
HTMLOptionElementConstructor

I filed this as bug 21842 originally, but that was decided invalid.  I'm not
sure what the functionality of "new HTMLOptionElement" needs to be, but it
seems that window.HTMLOptionElement should be a specifically-named constructor
like all the rest of the HTMLElement "subclasses" instead of being just an
HTMLElementConstructor.

See bug 21842 for more background.

To fix this will probably require using a new idl flag "CustomConstructor" to
have the JSHTMLOptionElement generated class generate a getConstructor function
with the appropriate types.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list