Bug 25327

Summary: WebActionElementKey in navigation action information is based on a second hit-test, meaningless for non-mouse and synthetic events
Product: WebKit Reporter: mitz
Component: Page LoadingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: darin
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

mitz
Reported 2009-04-22 10:50:50 PDT
In the actionInformation dictionary passed to -webView:decidePolicyForAction:request:frame:decisionListener:, the value of WebActionElementKey is initialized from a hit-test result at the coordinates contained in the DOM event, if it is a mouse event. This is problematic because: 1) it results in misleading information for mouse events created in code. See http/tests/security/feed-urls-from-remote.html for example 2) it results in no information for non-mouse events, such as activating a link with the keyboard 3) the state when the second hit test is performed may be different from the state when the action took place
Attachments
mitz
Comment 1 2009-04-22 10:51:11 PDT
mitz
Comment 2 2009-05-06 14:42:21 PDT
Note You need to log in before you can comment on or make changes to this bug.