WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
10929
WebKit could benefit from a tool to observe/debug event dispatch
https://bugs.webkit.org/show_bug.cgi?id=10929
Summary
WebKit could benefit from a tool to observe/debug event dispatch
Eric Seidel (no email)
Reported
2006-09-18 20:20:12 PDT
WebKit could benifit from a tool to observe/debug event dispatch bdash and I just spent a while talking about JS/Web tools that we'd like to see to better support web developers using Safari/WebKit. One idea which came out of this discussion was for a tool to track javascript event dispatch. I have had a number of cases where I've had to debug mouse-events for my web-application in Safari and been frustrated by having to resort to gdb to do this tracking. It would be nice if there were a way to easily see a log of all attempted dispatch, or to have information a priori as to where a mouse event might be captured/targeted. Wiring this sort of tool into WebKit should be relatively straightforward. A couple hooks into EventTargetNode::dispatchGenericEvent should do the trick. The larger question (to me) is what would such a tool look like.
Attachments
Add attachment
proposed patch, testcase, etc.
David Kilzer (:ddkilzer)
Comment 1
2008-02-23 20:32:01 PST
<
rdar://problem/5762056
>
Timothy Hatcher
Comment 2
2008-09-28 11:41:29 PDT
***
Bug 17430
has been marked as a duplicate of this bug. ***
Joseph Pecoraro
Comment 3
2010-05-10 00:48:15 PDT
The Timeline Panel helps with this, but usability on these types of use cases could probably still improve.
Timothy Hatcher
Comment 4
2012-03-17 08:57:05 PDT
Not great, but the console has support for Firebug's monitorEvents(<element>, [<event type>, ...]).
Timothy Hatcher
Comment 5
2013-10-09 15:20:35 PDT
The Timeline panel is the answer for this.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug