[Webkit-unassigned] [Bug 113132] New: [GTK] DOM objects created wrapping a base class have incorrect GObject type

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Mar 23 04:44:24 PDT 2013


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

           Summary: [GTK] DOM objects created wrapping a base class have
                    incorrect GObject type
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: cgarcia at igalia.com
                CC: xan.lopez at gmail.com, gns at gnome.org


Some of the DOM methods can create a concrete instance of another object, but return a base class. For example HTMLTableElement::insertRow() creates a HTMLTableRowElement but it's returned as a HTMLElement. Our bindings provide custom kit implementations for Node, Element, Event and EvenTarget, so in this example, we create a WebKitDOMHTMLElement, but wrapping a HTMLTableRowElement. This particular case is fixed in bug #111714 by providing a custom kit implementation for HTMLElement too, but the problem is generic and affects to all polymorphic objects that could be created by wrapping any of their types.

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