Closed Bug 1256046 Opened 8 years ago Closed 8 years ago

Hide MozPowerManager from the Web

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla48
Tracking Status
firefox48 --- fixed

People

(Reporter: ehsan.akhgari, Unassigned)

Details

(Keywords: dev-doc-complete)

Attachments

(1 file)

navigator.mozPower is already hidden behind the power permission,
so there is no need to be exposing this interface unconditionally.
Attachment #8729883 - Flags: review?(bzbarsky)
Comment on attachment 8729883 [details] [diff] [review]
Hide MozPowerManager from the Web

r=me, except Kyle beat me to it.  ;)
https://hg.mozilla.org/mozilla-central/rev/080f495f9e41
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
Keywords: dev-doc-needed
The API ref docs have already been moved into the Firefox OS APIs section:

https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/API/MozPowerManager

I've also added a note to the Firefox 48 release notes:

https://developer.mozilla.org/en-US/Firefox/Releases/48#Others
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: