Bug 61979 - Prevent event dispatch for events with related target when host is the target.
Summary: Prevent event dispatch for events with related target when host is the target.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Dimitri Glazkov (Google)
URL:
Keywords:
Depends on:
Blocks: 59005
  Show dependency treegraph
 
Reported: 2011-06-02 16:45 PDT by Dimitri Glazkov (Google)
Modified: 2022-02-27 23:42 PST (History)
2 users (show)

See Also:


Attachments
Patch (6.85 KB, patch)
2011-06-02 16:51 PDT, Dimitri Glazkov (Google)
darin: review+
Details | Formatted Diff | Diff

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