Firebug API: monitorEvents

59 views
Skip to first unread message

Yan Huang

unread,
Jul 6, 2009, 5:40:00 PM7/6/09
to fir...@googlegroups.com
Hi,

I constantly find all types of weirdness while working with the monitorEvents() API. For example, it seems not able to capture events whose target is the body tag.
Another thing I am uncertain about is, how this events monitoring utility relates to the DOM level two 3-phase event propagation model? Third, is this monitorEvents API useful to identify
all JS function handlers registered for a given event?

Thanks,
-- Canny

johnjbarton

unread,
Jul 6, 2009, 6:56:43 PM7/6/09
to Firebug


On Jul 6, 2:40 pm, Yan Huang <yhuang....@gmail.com> wrote:
> Hi,
>
> I constantly find all types of weirdness while working with the
> monitorEvents() API. For example, it seems not able to capture events whose
> target is the body tag.

You could post a test case to the issues list:
http://code.google.com/p/fbug/issues/list

> Another thing I am uncertain about is, how this events monitoring utility
> relates to the DOM level two 3-phase event propagation model?

FIrebug just adds another listener and prints into the Console when it
fires.


Third, is this
> monitorEvents API useful to identify
> all JS function handlers registered for a given event?

Not as far as I know. We need the new Firefox api for this. Supporting
event listener analysis one of my top priorities for 1.5.

jjb
Reply all
Reply to author
Forward
0 new messages