Bug 36085 - DumpRenderTree eventSender.mouseDown should change NSApp currentEvent return value
Summary: DumpRenderTree eventSender.mouseDown should change NSApp currentEvent return ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Macintosh Intel OS X 10.6
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-13 06:55 PST by Jessie Berlin
Modified: 2010-03-13 06:55 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jessie Berlin 2010-03-13 06:55:46 PST
Sometimes WebKit uses [NSApp currentEvent] to get information about the current event during a drag and drop, e.g. to see if a drag is a move or a copy based on wether or not the copy key is down. In these cases eventSender.mouseDown cannot currently be used to simulate the information about what keys are currently being held down because it just sends the event to the subView instead of the NSApp (DumpRenderTree).