Re: Webkit2 porting
- From: Robert Schroll <rschroll gmail com>
- To: Carlos Garcia Campos <carlosgc gnome org>
- Cc: desktop-devel-list <desktop-devel-list gnome org>
- Subject: Re: Webkit2 porting
- Date: Wed, 15 Oct 2014 14:41:00 -0400
On Wed, Oct 15, 2014 at 2:25 PM, Carlos Garcia Campos
<carlosgc gnome org> wrote:
The DOM API is the same in WebKit1 and WebKit2.
Not as exposed to Vala, at least. Compare:
WebKit1
https://git.gnome.org/browse/vala/tree/vapi/webkit-1.0.vapi#n4632 [1]
WebKit2
https://git.gnome.org/browse/vala/tree/vapi/webkit2gtk-web-extension-4.0.vapi#n2409
The v2 API has lost add_event_listener() and gained
add_event_listener_with_closure() and
remove_event_listener_with_closure().
Robert
[1] Admittedly this is the -1.0.vapi, which is rather old. But in
Geary, we generate webkitgtk-3.0.vapi, and it has the same methods for
EventTarget.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]