Bug 27427

Summary: add event listener classes for gobject bindings
Product: WebKit Reporter: Luke Kenneth Casson Leighton <lkcl>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: mrobinson, xan.lopez
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Bug Depends on:    
Bug Blocks: 16401, 27430    
Attachments:
Description Flags
adds event handling intermediate functions for add and remove window, xmlhttprequest and node listeners none

Description Luke Kenneth Casson Leighton 2009-07-19 13:49:29 PDT
these files are being added as part of the #16401 series
breaking down into smaller patches, under an agreement
suggested by david.

the event listener classes comprise Node, Window and XMLHTTPRequest
adding and removal helpers / wrapper classes.

the interface between event handling and the outside world is a little... odd and obtuse, to say the least, and requires some custom code at present to glue glib / gobject into c++/webkit.
Comment 1 Luke Kenneth Casson Leighton 2009-07-19 13:59:52 PDT
Created attachment 33054 [details]
adds event handling intermediate functions for add and remove window, xmlhttprequest and node listeners

this patch adds the linkage between "browser-event" signal and webkit DOM event handling.  it's a beginning, and it is functional.  it can be seen that only "onreadystatechange" is presently allowed in xmlhttprequest because this is all that's required to get most AJAX working.
Comment 2 Eric Seidel (no email) 2009-08-06 19:01:51 PDT
Comment on attachment 33054 [details]
adds event handling intermediate functions for add and remove window, xmlhttprequest and node listeners

Please get a gtk reviewer to review this.
Comment 3 Luke Kenneth Casson Leighton 2009-08-08 04:07:42 PDT
Comment on attachment 33054 [details]
adds event handling intermediate functions for add and remove window, xmlhttprequest and node listeners

cancelling review whilst auto-patch-maintenance script is written which puts ChangeLog at top of file
Comment 4 Luke Kenneth Casson Leighton 2009-08-08 04:08:21 PDT
Comment on attachment 33054 [details]
adds event handling intermediate functions for add and remove window, xmlhttprequest and node listeners

cancelling review whilst auto-patch-maintenance script is written which puts ChangeLog at top of file
Comment 5 Martin Robinson 2011-07-11 13:05:29 PDT
Pretty sure this is all working in trunk. Feel free to reopen a new bug if it isn't.