Closed Bug 814294 Opened 12 years ago Closed 12 years ago

Don't prompt for missing permissions (UNKNOWN_ACTION)

Categories

(Core :: DOM: Device Interfaces, defect)

16 Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla20
blocking-basecamp +
Tracking Status
firefox18 --- fixed
firefox19 --- fixed
firefox20 --- fixed

People

(Reporter: pauljt, Assigned: gwagner)

Details

(Whiteboard: [qa-])

Attachments

(1 file)

DeviceStorage should only be able to be requested by Privileged & Certified Apps. (as per https://docs.google.com/a/mozilla.com/spreadsheet/ccc?key=0Akyz_Bqjgf5pdENVekxYRjBTX0dCXzItMnRyUU1RQ0E#gid=0) Currently on Firefox OS (both desktop and device), even web content can request the permission by accessing the API. See http://dogs.creativemisuse.com/ and try clicking the"add an image" or "read music dir" buttons. Note that this issue doesn't seem to be present on Firefox desktop, even when the device.storage.enabled pref is true. (tested in mac 18.0a2) This will be security issue once privileged apps has landed, so should be blocking basecamp I think.
blocking-basecamp: ? → +
Attached patch patch (deleted) — Splinter Review
Attachment #685314 - Flags: review?(jonas)
Summary: DeviceStorage should be restricted to Privileged Apps → Don't prompt for missing permissions (UNKNOWN_ACTION)
We shouldn't treat missing permissions as prompt permissions. I think I get the right behavior now for http://dogs.creativemisuse.com/ Paul, can you test as well?
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: