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
JSObject is created.
Any insight (such as the way scope chains are set up, etc, just guessing
here...) on why it works like this would be appreciated.
Again thanks in advance and regards,
Ross
On 6/17/09 4:29 PM, Ross Lillie ross.lil...@motorola.com wrote:
Greetings,
I need to generate a synthetic
Hi Darin,
Thanks for the reply. Yes, this is starting to make sense, please excuse,
but my Javascript/DOM knowledge is pretty rusty - but it's coming back.
I'd figured out that I can create arbitrarily named events via the DOMEvent
class (in my external code), however, as you mentioned, the
should implement your own onxxx attribute, and add some
eventlisteners;
if latter, maybe you can add your own eventlistener to some node and create an
event and call
handlelocalevent
2009/4/8 Ross Lillie ross.lil...@motorola.com
I have external C++ code that I'm exposing to the JavaScript
I have external C++ code that I'm exposing to the JavaScript runtime. I'd
also like my external code to be able to dispatch custom events via the DOM
event mechanism. For example
element onMyCustomEvent=function() {}
Now, if I'm beginning to understand Webkit (which is doubtful) it seems
some how need to manipulate the
JSGlobalObject directly.
My understanding of the overall webkit organization is still pretty
rudimentary, so I've likely missed something.
Thoughts?
Regards,
--
Ross Lillie
___
webkit-dev mailing list
webkit-dev
trying to accomplish is to have my extended global object be the default
object for all webview/page lists.
It¹s 6pm and my brain hurts. Thanks for any help/insight you can provide.
Confused in Schaumburg,
Ross Lillie
On 3/12/09 5:37 PM, Geoffrey Garen gga...@apple.com wrote:
Hi Ross.
While
I'm getting build errors when building WebKit on OS X (10.5.6, Xcode 3.1.1)
when the source tree is located on an alternate volume. In my
configuration, the source tree is located on a secondary volume
(/Volumes/Project HD/webkit). Examining the terminal log you see the
following errors:
Thanks Dan!
/ross
On 1/7/09 3:20 PM, Dan Bernstein m...@apple.com wrote:
Unfortunately, WebKit cannot be built when there are spaces in the path to the
source tree. See https://bugs.webkit.org/show_bug.cgi?id=10758.
On Jan 7, 2009, at 1:14 PM, Ross Lillie wrote:
I'm getting build
9 matches
Mail list logo