Bug 61979

Summary: Prevent event dispatch for events with related target when host is the target.
Product: WebKit Reporter: Dimitri Glazkov (Google) <dglazkov>
Component: New BugsAssignee: Dimitri Glazkov (Google) <dglazkov>
Status: RESOLVED FIXED    
Severity: Normal CC: darin, morrita
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 59005    
Attachments:
Description Flags
Patch darin: review+

Description Dimitri Glazkov (Google) 2011-06-02 16:45:40 PDT
Prevent event dispatch for events with related target when host is the target.
Comment 1 Dimitri Glazkov (Google) 2011-06-02 16:51:48 PDT
Created attachment 95831 [details]
Patch
Comment 2 Darin Adler 2011-06-02 17:47:41 PDT
Comment on attachment 95831 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=95831&action=review

> Source/WebCore/dom/EventDispatcher.h:73
> +    bool m_preventDispatch;

Normally it’s best to avoid using a verb phrase for a data member, even a boolean one. Perhaps m_shouldPreventDispatch.
Comment 3 Dimitri Glazkov (Google) 2011-06-03 09:26:23 PDT
Committed r88026: <http://trac.webkit.org/changeset/88026>