Implement a generic way to dispatch events to chrome only

RESOLVED FIXED in Firefox 20

Status

()

defect
RESOLVED FIXED
7 years ago
4 months ago

People

(Reporter: fryn, Assigned: smaug)

Tracking

({dev-doc-needed})

Trunk
mozilla21
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox20 fixed, firefox21 fixed)

Details

Attachments

(1 attachment)

Some events are dispatched via JS in some cases and via C++ in other cases, and we'd like to have a generic way to dispatch the event to chrome-only for internal events.
Summary: Implement dispatchToChromeOnly in DomWindowUtils → Implement a generic way to dispatch events to chrome only
Posted patch patchSplinter Review
https://tbpl.mozilla.org/?tree=Try&rev=65d10e51c8a7

Simple stuff. C++ code should just use GetInternalNSEvent()->mFlags.mOnlyChromeDispatch = true;
Attachment #702479 - Flags: review?(jst)
Attachment #702479 - Flags: review?(jst) → review+
https://hg.mozilla.org/mozilla-central/rev/8d8912467c41
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Attachment #702479 - Flags: approval-mozilla-aurora?
Attachment #702479 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Target Milestone: --- → mozilla21
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.