Bug 30597

Summary: Harmonize "created by DOM" event handling checks
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Minor CC: abarth, dbates, skylined
Priority: P4    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Description Alexey Proskuryakov 2009-10-20 13:43:05 PDT
A patch for bug 21501 introduced a createdByDOM concept for events. We used to make very similar decisions for keyboard events based on the presence of platform event member in a DOM event. It's a platform event check that prevents DOM created keyboard events from being handled by default handlers (see KeyboardEvent::keyCode()).

It's unfortunate that this information is now duplicated for keyboard events, and that mouse events are checked in a different manner.
Comment 1 Adam Barth 2009-10-20 14:10:56 PDT
I'll fix this.
Comment 2 Berend-Jan Wever 2009-10-21 02:22:08 PDT
Maybe this is related to issue 26824?
Comment 3 Adam Barth 2009-10-30 02:28:31 PDT
I started looking into fixing this.  It's not as easy as I would have hoped.  I need to spend some more time with this in the debugger.