The default bug view has changed. See this FAQ.

Add other device sensors to nsEventListenerManager::IsDeviceType

RESOLVED FIXED in mozilla16

Status

()

Core
DOM: Device Interfaces
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: dougt, Assigned: dougt)

Tracking

unspecified
mozilla16
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
http://mxr.mozilla.org/mozilla-central/source/content/events/src/nsEventListenerManager.cpp#299

If we do not, then these sensors will not turn off when the event listener is removed.
(Assignee)

Updated

5 years ago
Assignee: nobody → doug.turner
(Assignee)

Comment 1

5 years ago
Created attachment 627979 [details] [diff] [review]
patch v.1
Attachment #627979 - Flags: review?(bugs)
Attachment #627979 - Flags: review?(bugs) → review+
(Assignee)

Comment 2

5 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/afa7b85781dc
Target Milestone: --- → mozilla16
https://hg.mozilla.org/mozilla-central/rev/afa7b85781dc
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
(Assignee)

Comment 4

5 years ago
Comment on attachment 627979 [details] [diff] [review]
patch v.1

we need this or devices may not be shutdown after use.
Attachment #627979 - Flags: approval-mozilla-aurora?

Comment 5

5 years ago
Comment on attachment 627979 [details] [diff] [review]
patch v.1

Approved for the same reason as https://bugzilla.mozilla.org/show_bug.cgi?id=742376#c23
Attachment #627979 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
You need to log in before you can comment on or make changes to this bug.