Closed
Bug 964860
Opened 11 years ago
Closed 4 years ago
Hide DeviceStorage on platforms which don't have a usabe implementation of it
Categories
(Core :: DOM: Core & HTML, defect, P5)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: ehsan.akhgari, Unassigned)
References
Details
As far as I can tell, the device storage APIs hanging off of navigator are hidden behind the device.storage.enabled pref, which makes them available to everything running on b2g including unprivileged web content running in the browser. The DeviceStorage and DeviceStorageChangeEvent interfaces are not hidden behind anything, which means that they are detectible from any build that we ship on any platform. In addition, there seems to be device-storage:foo permissions that are declared in the app manifest but I'm not sure what code enforces those permissions.
If I understand things correctly here, we need to hide the following entry points for any context which does not have the pref set and the permissions available.
* navigator.getDeviceStorage(s)
* DeviceStorage
* DeviceStorageChangeEvent
Updated•7 years ago
|
Priority: -- → P5
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
Comment 1•4 years ago
|
||
These got removed at some point it seems.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•