[Webkit-unassigned] [Bug 125601] New: Multiple .gir errors detected by Vala with WebKit-3.0.gir and EventTarget.dispatch_event

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 11 14:17:02 PST 2013


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

           Summary: Multiple .gir errors detected by Vala with
                    WebKit-3.0.gir and EventTarget.dispatch_event
           Product: WebKit
           Version: 420+
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jim at yorba.org


When compiling with Vala against WebKit-3.0.gir, the compiler reports a number of errors depending on the installed version of WebKitGTK.  The errors look like this:

WebKit-3.0.gir:28210.7-28212.16: error: overriding method `WebKit.DOM.TextTrackList.dispatch_event' is incompatible with base method `WebKit.DOM.EventTarget.dispatch_event': incompatible return type.

The problem is EventTarget.dispatch_event() returns void but TextTrackList.dispatch_event() (and others) return bool.  At least, that's how it's reported in the .gir file.

As of WebKitGTK 2.2, we've found this problem with the following symbols:

DOMBatteryManager.dispatch_event
DOMAudioTrackList.dispatch_event
DOMTextTrackCue.dispatch_event
DOMTextTrack.dispatch_event
DOMTextTrackList.dispatch_event
DOMVideoTrackList.dispatch_event
DOMNode.dispatch_event
DOMWebKitNamedFlow.dispatch_event
DOMDOMApplicationCache.dispatch_event
DOMDOMWindow.dispatch_event

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