Bug 36085

Summary: DumpRenderTree eventSender.mouseDown should change NSApp currentEvent return value
Product: WebKit Reporter: Jessie Berlin <jberlin>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac (Intel)   
OS: OS X 10.6   

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).