Implement a generic way to dispatch events to chrome only

RESOLVED FIXED in Firefox 20

Status

()

Core
DOM
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: fryn, Assigned: smaug)

Tracking

({dev-doc-needed})

Trunk
mozilla21
dev-doc-needed
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox20 fixed, firefox21 fixed)

Details

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
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.
(Reporter)

Updated

5 years ago
Summary: Implement dispatchToChromeOnly in DomWindowUtils → Implement a generic way to dispatch events to chrome only
(Assignee)

Comment 1

5 years ago
Created attachment 702479 [details] [diff] [review]
patch

https://tbpl.mozilla.org/?tree=Try&rev=65d10e51c8a7

Simple stuff. C++ code should just use GetInternalNSEvent()->mFlags.mOnlyChromeDispatch = true;
Attachment #702479 - Flags: review?(jst)

Updated

5 years ago
Attachment #702479 - Flags: review?(jst) → review+
(Assignee)

Comment 2

5 years ago
https://hg.mozilla.org/mozilla-central/rev/8d8912467c41
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Keywords: dev-doc-needed
Blocks: 626775
(Reporter)

Updated

5 years ago
Attachment #702479 - Flags: approval-mozilla-aurora?

Updated

5 years ago
Attachment #702479 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
(Reporter)

Comment 4

5 years ago
https://hg.mozilla.org/releases/mozilla-aurora/rev/df5345414bb1
status-firefox20: --- → fixed
status-firefox21: --- → fixed
Target Milestone: --- → mozilla21
You need to log in before you can comment on or make changes to this bug.