Closed
Bug 1204442
Opened 10 years ago
Closed 10 years ago
nsIDragService shouldn't expose the internal event message as integer with fireDragEventAtSource()
Categories
(Core :: Widget, defect)
Core
Widget
Tracking
()
RESOLVED
FIXED
mozilla43
| Tracking | Status | |
|---|---|---|
| firefox43 | --- | fixed |
People
(Reporter: masayuki, Assigned: masayuki)
References
()
Details
Attachments
(1 file)
http://mxr.mozilla.org/mozilla-central/source/widget/nsIDragService.idl?rev=1eec2c8789c1&mark=114-117#114
nsIDragService.fireDragEventAtSource() takes an integer value whose value is one of mozilla::EventMessage. This is too bad. The value shouldn't be able to be specified without EventMessage enum. We should make it noscript. Fortunately, nobody uses the method in AMO.
https://mxr.mozilla.org/addons/search?string=fireDragEventAtSource
| Assignee | ||
Comment 1•10 years ago
|
||
| Assignee | ||
Comment 2•10 years ago
|
||
Let's make it [noscript].
# Or roc is better reviewer due to XP widget code?
Attachment #8660742 -
Flags: superreview?(bugs)
Attachment #8660742 -
Flags: review?(bugs)
Updated•10 years ago
|
Attachment #8660742 -
Flags: superreview?(bugs)
Attachment #8660742 -
Flags: superreview+
Attachment #8660742 -
Flags: review?(bugs)
Attachment #8660742 -
Flags: review+
| Assignee | ||
Comment 3•10 years ago
|
||
url: https://hg.mozilla.org/integration/mozilla-inbound/rev/13dc20d39faec37148234c5e2eb493be3a407ba5
changeset: 13dc20d39faec37148234c5e2eb493be3a407ba5
user: Masayuki Nakano <masayuki@d-toybox.com>
date: Tue Sep 15 00:18:29 2015 +0900
description:
Bug 1204442 nsIDragService::FireDragEventAtSource() shouldn't be available from script because it takes a value of mozilla::EventMessage r=smaug, sr=smaug
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
You need to log in
before you can comment on or make changes to this bug.
Description
•