Bug 88842 - Web Inspector: currentTarget property is null when show Event object's properties on Console panel
Summary: Web Inspector: currentTarget property is null when show Event object's proper...
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2012-06-11 23:35 PDT by Syoichi Tsuyuhara
Modified: 2012-07-17 13:42 PDT (History)
10 users (show)

See Also:

screenshot (40.43 KB, image/png)
2012-06-11 23:35 PDT, Syoichi Tsuyuhara
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Syoichi Tsuyuhara 2012-06-11 23:35:11 PDT
Created attachment 147018 [details]

example JavaScript code: addEventListener('click', function (evt) { console.log(evt, evt.currentTarget); });

I confirmed this bug on Web Inspector of WebKit r120035, Windows 7 Home Premium SP1 64bit.
Comment 1 Syoichi Tsuyuhara 2012-07-17 06:10:20 PDT
This bug still exists on WebKit r122832.
Please confirm, Web Inspector Developers!
Comment 2 Pavel Feldman 2012-07-17 09:20:31 PDT
By the time event is queried for properties, it already has no current target. Working as intended.
Comment 3 Syoichi Tsuyuhara 2012-07-17 13:42:56 PDT
Oh, I'm sorry. I had misunderstood the Web Inspector's behavior. I will try to check the currentTarget property in a different way. Thank you.