Bug 88842

Summary: Web Inspector: currentTarget property is null when show Event object's properties on Console panel
Product: WebKit Reporter: Syoichi Tsuyuhara <syoichi>
Component: Web Inspector (Deprecated)Assignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
screenshot none

Description Syoichi Tsuyuhara 2012-06-11 23:35:11 PDT
Created attachment 147018 [details]
screenshot

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.