move xul/fennec permissions DB into gecko

NEW
Unassigned

Status

()

defect
P3
normal
8 years ago
a month ago

People

(Reporter: gal, Unassigned)

Tracking

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

8 years ago
Fennec already implements a permissions DB for web apps. We need this in Gecko proper so we can use it in Firefox as well. This needs some minimal UI that allows the user to grant permissions when they are first requested, and an API so that permissions can be queried and pre-populated at install time (if the user clicks on the permissions requested).
(Reporter)

Updated

8 years ago
Blocks: webapi
(Reporter)

Comment 1

8 years ago
We need to think a bit about what this means for B2G. We probably want a full screen grayed out security dialog or something like that.
What permissions are we going to synchronously force users to decide on?  Or are you talking about the install dialog.
(Reporter)

Updated

8 years ago
Blocks: 702367
Fennec doesn't have a dedicated DB for this. It just uses the install dialog as a way to allow the user to preset some permissions for the app. Permissions are stored in the permission manager.

This is a UX issue only, and we don't need to force the user to do anything. Permissions needed and not granted when installing will be ask on the fly later.
OS: Mac OS X → All
Hardware: x86 → All

Updated

10 months ago
Priority: -- → P3
Component: DOM → DOM: Core & HTML
Product: Core → Core
You need to log in before you can comment on or make changes to this bug.