Bug 19247
Summary: | Offer an option "Pause when x event is fired" | ||
---|---|---|---|
Product: | WebKit | Reporter: | Anthony Ricaud <rik> |
Component: | Web Inspector (Deprecated) | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | allan.jardine, aroben, bburg |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All |
Anthony Ricaud
Useful to see which functions are executed everytime a kind of event is fired.
Especially useful for events fired often like mouse events.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Allan Jardine
I'd quite like to see this implemented as well. It would be very useful to be able to tell what nodes have a particular type of event attached to this, but this doesn't appear to be possible in client-side Javascript using the DOM event functions (there was a proposal for 'eventListnerList' in DOM3 - but that appears to have been dropped).
Having a short pause before the event is actually fired would be great for telling if there is an event handler attached or not - you could fire the event, if there is no handler it returns immediately with false, if there is then you can cancel the event and return true (or something to that effect!).
Blaze Burg
This information is available in the inspector timeline.