>
>
> Date: Mon, 14 Dec 2009 09:52:35 -0800
> From: Boris Zbarsky <[email protected]>
> To: [email protected]
> Subject: Re: Problems detecting event
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> On 12/14/09 1:38 AM, Blaine Monkey wrote:
> > OnStateChange I tried to add for example the "DOMSubtreeModified" event
> > to EmbedListener object when STATE_STOP, It add the event without fail,
> but
> > never detects it. Mouse events are detected well, but not
> > "DOMSubtreeModified".
>
> What Gecko version?
>
> Are you actually adding a listener for DOMSubtreeModified somewhere?  I
> don't see it anywhere in your code...
>
> -Boris
>
Gecko Version: Mozilla XULRunner 1.9.0.15 - 2009102704
I thought that pCOM_det->AddEventListener
(NS_LITERAL_STRING("DOMSubtreeModified"), domEvList, false); function adds
the event to the domEvlist listener and after do this, domEvlist detects
DOMSubtreeModified event.

I didn't see a MutationListener/DOMTreeListener interface. How should I add
a listener for mutation events like DOMSubtreeModified, DOMAttrModified?
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to