Visit Mozilla.org
Mozilla Developer Center
developer.mozilla.org

Removing some nsIDOM*Listener interfaces

The following event listener interfaces have been removed on trunk: nsIDOMMutationListener.h nsIDOMPaintListener.h, nsIDOMScrollListener.h, and nsIDOMPageTransitionListener.h. Those have either never been used in Gecko or have been unused for a long time.

If you’re using those interfaces currently, convert your code to use normal DOM’s addEventListener() and handleEvent() methods.

Also, note that use of any interfaces in http://lxr.mozilla.org/seamonkey/source/dom/public/coreEvents/
should be avoided ( Gecko:Obsolete_API ) .

Leave a Reply

You must be logged in to post a comment.