Bug 108432

Summary: [V8] 'new MouseEvent("click", {relatedTarget: window}).window' should return window
Product: WebKit Reporter: Kentaro Hara <haraken>
Component: WebCore JavaScriptAssignee: Kentaro Hara <haraken>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, japhet, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Kentaro Hara
Reported 2013-01-30 22:58:23 PST
In V8 'new MouseEvent("click", {relatedTarget: window}).window' returns null. In JSC it returns window, which is a correct behavior. V8 should also return window.
Attachments
Patch (5.44 KB, patch)
2013-01-30 23:06 PST, Kentaro Hara
no flags
Kentaro Hara
Comment 1 2013-01-30 23:06:04 PST
Adam Barth
Comment 2 2013-01-31 00:02:44 PST
Comment on attachment 185681 [details] Patch Interesting.
WebKit Review Bot
Comment 3 2013-01-31 00:13:53 PST
Comment on attachment 185681 [details] Patch Clearing flags on attachment: 185681 Committed r141383: <http://trac.webkit.org/changeset/141383>
WebKit Review Bot
Comment 4 2013-01-31 00:13:57 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.