Check "fmradio" permissions in hal

RESOLVED FIXED in mozilla18

Status

()

Core
Hardware Abstraction Layer (HAL)
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: cjones, Assigned: cjones)

Tracking

unspecified
mozilla18
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

We apply a check for "fmradio" at the DOM level [1], and should do the same at the hal boundary.

I doubt this is a high-priority target, but it's exposing direct control of HW to content so we should be conservative.

[1] http://mxr.mozilla.org/mozilla-central/source/dom/fm/DOMFMRadioChild.js#55
Blocks: 776652
Created attachment 664607 [details] [diff] [review]
Check the fmradio permission at process boundaries

Should be working, but https://github.com/mozilla-b2g/gaia/issues/5160 is preventing me from testing all of the API.
Assignee: nobody → jones.chris.g
Attachment #664607 - Flags: review?(justin.lebar+bug)
Attachment #664607 - Flags: review?(justin.lebar+bug) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/ffa6a1423baf
https://hg.mozilla.org/mozilla-central/rev/ffa6a1423baf
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in before you can comment on or make changes to this bug.