Hook up screen.mozEnabled, screen.mozBrightness to permission API

RESOLVED FIXED

Status

()

Core
General
P1
normal
RESOLVED FIXED
6 years ago
5 years ago

People

(Reporter: Justin Lebar (not reading bugmail), Unassigned)

Tracking

(Blocks: 1 bug)

unspecified
All
Gonk (Firefox OS)
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(blocking-basecamp:+)

Details

(Reporter)

Description

6 years ago
Once we have the permission manager from bug 707625, we need to hook up screen.mozEnabled and screen.mozBrightness to it.
Until we have a new permission manager, can we use the 'old' one to hook up those properties to the content?

We're already using it for indexedDB, offline-storage, webapps-manage, etc...
I remember it being said to steer clear of the old permissions manager.

Any advice?
(Reporter)

Comment 3

6 years ago
FWIW, right now we're doing pref-based "permission management" in WebSMS and the browser API stuff I've been doing.
Depends on: 729430
No longer depends on: 707625
Depends on: 707625
Blocks: 774716
blocking-basecamp: --- → +
Blocks: 776652
https://docs.google.com/spreadsheet/ccc?key=0Akyz_Bqjgf5pdENVekxYRjBTX0dCXzItMnRyUU1RQ0E#gid=0 says this Permission Name is "power".

I'm apply the process-level capability check in bug 776835.
No longer blocks: 776652

Updated

5 years ago
Priority: -- → P1
Depends on: 781353
Fixed in bug 781353
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.