Re: [webkit-dev] Attaching property to external (Obj-c) synthetic event

2009-06-17 Thread Ross Lillie
Greetings again, Never mind. If I understand things correctly, calling into the DOMDocument from native code, to create a new Event instance, does not create the corresponding JSObject in the window's global context. Dispatching the event to a target appears to be when the corresponding JSObject

[webkit-dev] Attaching property to external (Obj-c) synthetic event

2009-06-17 Thread Ross Lillie
Greetings, I need to generate a synthetic event (DOM Level 2) from external (native) code and inject into the current DOM structure. Furthermore, this event needs to have a custom property attached, to pass external data into the current Javascript context. Generating and dispatching the event f