Bug 127125 - Web Inspector: add more context to Object.addEventListener assertions
Summary: Web Inspector: add more context to Object.addEventListener assertions
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Blaze Burg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-16 11:29 PST by Blaze Burg
Modified: 2014-01-16 13:48 PST (History)
3 users (show)

See Also:


Attachments
patch (1.78 KB, patch)
2014-01-16 11:37 PST, Blaze Burg
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Blaze Burg 2014-01-16 11:29:45 PST
I seem to find myself adding this back in frequently when debugging events.. might as well submit it.
Comment 1 Blaze Burg 2014-01-16 11:37:11 PST
Created attachment 221396 [details]
patch
Comment 2 Joseph Pecoraro 2014-01-16 12:52:54 PST
Comment on attachment 221396 [details]
patch

r=me

Maybe you could even do console.assert(condition, "reason", "(", arguments, ")")
Comment 3 Blaze Burg 2014-01-16 12:55:16 PST
I don't think console will understand how to display arguments.
Comment 4 WebKit Commit Bot 2014-01-16 13:48:31 PST
Comment on attachment 221396 [details]
patch

Clearing flags on attachment: 221396

Committed r162149: <http://trac.webkit.org/changeset/162149>
Comment 5 WebKit Commit Bot 2014-01-16 13:48:33 PST
All reviewed patches have been landed.  Closing bug.