Bug 30597 - Harmonize "created by DOM" event handling checks
Summary: Harmonize "created by DOM" event handling checks
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P4 Minor
Assignee: Nobody
Depends on:
Reported: 2009-10-20 13:43 PDT by Alexey Proskuryakov
Modified: 2009-10-30 09:23 PDT (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
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.