Bug 108432 - [V8] 'new MouseEvent("click", {relatedTarget: window}).window' should return window
Summary: [V8] 'new MouseEvent("click", {relatedTarget: window}).window' should return ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore JavaScript (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Kentaro Hara
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-30 22:58 PST by Kentaro Hara
Modified: 2013-01-31 00:13 PST (History)
3 users (show)

See Also:


Attachments
Patch (5.44 KB, patch)
2013-01-30 23:06 PST, Kentaro Hara
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kentaro Hara 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.
Comment 1 Kentaro Hara 2013-01-30 23:06:04 PST
Created attachment 185681 [details]
Patch
Comment 2 Adam Barth 2013-01-31 00:02:44 PST
Comment on attachment 185681 [details]
Patch

Interesting.
Comment 3 WebKit Review Bot 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>
Comment 4 WebKit Review Bot 2013-01-31 00:13:57 PST
All reviewed patches have been landed.  Closing bug.