edburns wrote:
What is the cardinality of nsEventListenerManager? Is it a singleton?
There's one per nsIDOMEventTarget (so one for every Node or Window that has event listeners registered).
nsEventListenerManager.this is 0xcbc54a8 aType is eEventArrayType_Mouse, which is 0. 2. Calling into GetListenersByType(), I find that a new listener must be created, in the else clause at the bottom of the method. This seems odd.
That seems correct if there are no listeners registered on that event target yet... -Boris _______________________________________________ mozilla-embedding mailing list mozilla-embedding@mozilla.org http://mail.mozilla.org/listinfo/mozilla-embedding