Closed Bug 1181329 Opened 9 years ago Closed 9 years ago

[User Story] Make DataStore available to privileged homescreen apps


(Core :: DOM: Core & HTML, defect)

Not set



Tracking Status
firefox42 --- fixed


(Reporter: benfrancis, Assigned: baku)



(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


(1 file, 1 obsolete file)

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
fyi, here's how to check if a document is from the current homescreen:
Attached patch ds.patchSplinter Review
Attachment #8630729 - Flags: review?(fabrice)
Comment on attachment 8630729 [details] [diff] [review]

Review of attachment 8630729 [details] [diff] [review]:

We should test that, but that can go in a followup.
Attachment #8630729 - Flags: review?(fabrice) → review+
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
Thanks Andrea, that was super fast!
Comment on attachment 8653422 [details] [review]
[gaia] Cwiiis:bug1198212-fix-homescreen-intermittents > mozilla-b2g:master

Wrong bug...
Attachment #8653422 - Attachment is obsolete: true
I have written some details on what a 3rd party manifest would need to include here:

I've also added a note at the top of

A quick tech review would be great; thanks!
Depends on: 1200851
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.