Closed
Bug 1181329
Opened 10 years ago
Closed 10 years ago
[User Story] Make DataStore available to privileged homescreen apps
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla42
Tracking | Status | |
---|---|---|
firefox42 | --- | fixed |
People
(Reporter: benfrancis, Assigned: baku)
References
Details
(Keywords: dev-doc-complete, feature)
User Story
As a third party developer I would like to create a homescreen app which can access the same data stores as the built-in homescreen app so I can provide equivalent functionality
Attachments
(1 file, 1 obsolete file)
1.61 KB,
patch
|
fabrice
:
review+
|
Details | Diff | Splinter Review |
In order to allow third party replaceable homescreens we need the Data Store API to be made available to third party privileged apps which identify themselves with the "homescreen" role in their manifest. This will enable access to the bookmarks and places data stores which the Gaia's built-in homescreen can access.
Eventually we would like to deprecate the data stores in favour of a more webby solution, but for the 2.5 release we need to unblock replaceable homescreens by making the DataStore available under some specific circumstances. That is apps which:
* Are of type "privileged" (have been reviewed and signed)
* Have the "homescreen" role in their manifest
* Are set as the current homescreen in Settings
Comment 1•10 years ago
|
||
fyi, here's how to check if a document is from the current homescreen:
http://mxr.mozilla.org/mozilla-central/source/dom/apps/Webapps.jsm?rev=f848e6877ca4#1301
Assignee | ||
Comment 2•10 years ago
|
||
Attachment #8630729 -
Flags: review?(fabrice)
Comment 3•10 years ago
|
||
Comment on attachment 8630729 [details] [diff] [review]
ds.patch
Review of attachment 8630729 [details] [diff] [review]:
-----------------------------------------------------------------
We should test that, but that can go in a followup.
Attachment #8630729 -
Flags: review?(fabrice) → review+
Assignee | ||
Comment 4•10 years ago
|
||
Assignee: nobody → amarchesini
Comment 5•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox42:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
Reporter | ||
Comment 6•10 years ago
|
||
Thanks Andrea, that was super fast!
Comment 7•10 years ago
|
||
I guess this page needs changing? https://developer.mozilla.org/en-US/docs/Web/API/DataStore
Keywords: dev-doc-needed
Comment 8•9 years ago
|
||
Comment 9•9 years ago
|
||
Comment on attachment 8653422 [details] [review]
[gaia] Cwiiis:bug1198212-fix-homescreen-intermittents > mozilla-b2g:master
Wrong bug...
Attachment #8653422 -
Attachment is obsolete: true
Comment 10•9 years ago
|
||
I have written some details on what a 3rd party manifest would need to include here:
https://developer.mozilla.org/en-US/docs/Web/API/Data_Store_API/Using_the_Data_Store_API#Privileged_homescreen_apps
I've also added a note at the top of
https://developer.mozilla.org/en-US/docs/Web/API/DataStore
A quick tech review would be great; thanks!
Keywords: dev-doc-needed → dev-doc-complete
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•