Open
Bug 479751
Opened 16 years ago
Updated 3 years ago
Allow extensions to check if event target has default handlers
Categories
(Core :: DOM: Events, enhancement, P5)
Core
DOM: Events
Tracking
()
NEW
People
(Reporter: pmbmo1, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.6) Gecko/2009020407 Iceweasel/3.0.6 (Debian-3.0.6-1)
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.6) Gecko/2009020407 Iceweasel/3.0.6 (Debian-3.0.6-1)
It would be nice to allow FF extensions to check if a given event target has a default handler. For example, see if a <div> tag has an onclick handler set, or similar.
Reproducible: Always
Updated•16 years ago
|
Component: General → DOM: Events
Product: Firefox → Core
QA Contact: general → events
Updated•16 years ago
|
OS: Linux → All
Updated•16 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 1•16 years ago
|
||
Can you give an example of what you might use this for?
sure.
Picture a testing environment that monitors a sites' reaction to click events. In order to keep the clicks at the necessary minimum one has to determine which elements will react to clicks. Thus, in such cases this feature is necessary. (I'm talking about real clicks here not just click events generated via createEvent())
Comment 3•7 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046
Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.
If you have questions, please contact :mdaly.
Priority: -- → P5
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•