Re: How to create events in FF6 what happened to nsIDOMDocumentEvent

Babele Dunnit <[email protected]> Tue, 27 Sep 2011 02:06:15 -0700 (PDT)
Newsgroups gmane.comp.mozilla.devel.embedding
Organization http://groups.google.com
Message-ID <[email protected]>
On Sep 25, 10:14 am, Martin  Lutken <[email protected]> wrote:
> Hi
>
> Anyone knows how to create events in FF6,. Searching the code there
> are no nsIDOMDocumentEvent interface anymore. So the recipe given
> here, which uses nsIDOMDocumentEvent does not work anymore:https://developer.mozilla.org/en/Creating_Custom_Events_That_Can_Pass...
>
> -Martin

they moved the CreateEvent method into nsIDOMDocument interface, you
dont need to query for a nsIDOMDOcumentEvent. just a bit of
refactoring :)