Closed
Bug 1169342
Opened 9 years ago
Closed 9 years ago
[DeviceStorage] Remove nsIDOMDeviceStorage, cleanup event code
Categories
(Core :: DOM: Device Interfaces, defect)
Core
DOM: Device Interfaces
Tracking
()
RESOLVED
FIXED
mozilla41
Tracking | Status | |
---|---|---|
firefox41 | --- | fixed |
People
(Reporter: aosmond, Assigned: aosmond)
References
Details
(Whiteboard: [NG Device Storage])
Attachments
(1 file, 2 obsolete files)
31.00 KB,
patch
|
dhylands
:
review+
|
Details | Diff | Splinter Review |
Remove nsIDOMDeviceStorage as it is not used within gecko (save camera) or gaia. nsDOMDeviceStorage overrides AddEventListener, RemoveEventListener and their permutations and explicitly forwards the other methods to DOMEventTargetHelper. It uses Add/RemoveEventListener to add/remove an observer and trigger a permission check. Since nsDOMDeviceStorage already listens on those observer events at init time, this code should be removed. For the permission check, we should switch to overloading DOMEventTargetHelper::EventListenerWasAdded which is meant for this purpose in derived classes and is triggered no matter how the listener is added.
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → aosmond
Status: NEW → ASSIGNED
Whiteboard: [NG Device Storage]
Assignee | ||
Comment 1•9 years ago
|
||
try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=d03da6ce58fe
Assignee | ||
Comment 2•9 years ago
|
||
Build broken (although not locally!), try again. try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=589dd5bd07c4
Attachment #8612397 -
Attachment is obsolete: true
Assignee | ||
Updated•9 years ago
|
Attachment #8612425 -
Flags: review?(dhylands)
Assignee | ||
Comment 3•9 years ago
|
||
Remove an unused/deprecated enum as well.
Attachment #8612425 -
Attachment is obsolete: true
Attachment #8612425 -
Flags: review?(dhylands)
Attachment #8612551 -
Flags: review?(dhylands)
Comment 4•9 years ago
|
||
Comment on attachment 8612551 [details] [diff] [review] bug1169342.patch, v3 Review of attachment 8612551 [details] [diff] [review]: ----------------------------------------------------------------- Very Nice!
Attachment #8612551 -
Flags: review?(dhylands) → review+
Comment 6•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/4820fb6d8eb7
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in
before you can comment on or make changes to this bug.
Description
•