I'm faking up mouse events and dispatching them through the DOM.  So
far as I can tell, calling dispatchEvent on a node causes the event
handlers to run asynchronously (presumably the event is queued for
running by the event loop?).  How can I wait for an event to be
handled, or run the event loop until the event has been handled?

-- 
Ben Hutchings
Never attribute to conspiracy what can adequately be explained by stupidity.
_______________________________________________
mozilla-embedding mailing list
mozilla-embedding@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to