Closed Bug 924424 Opened 11 years ago Closed 11 years ago

Support DataStore in AppManager

Categories

(DevTools Graveyard :: WebIDE, defect, P3)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 926449

People

(Reporter: ehsan.akhgari, Unassigned)

Details

It would be really interesting if we could support DataStore in the AppManager to let people fill in data for a data store and use it for testing, etc. It should be possible to do this by fiddling with the manifest permissions for DataStore and hopefully we will be able to use our DataStore implementation on top of it.
I think we just miss the call to updateDataStore(), like this one: http://mxr.mozilla.org/mozilla-central/source/dom/apps/src/Webapps.jsm#1443 from the webapps actor. From what I can see, datastore is being enabled on non-production b2g builds, but I can't find any app manifest example (in m-c, nor gaia) to see how that works. It doesn't seem to be documented on MDN either: https://developer.mozilla.org/en-US/Apps/Developing/Manifest Do we have some description of datastores-owned and datastores-access new manifest fields?
Priority: -- → P3
Maybe this should be part of a larger tool: data inspection (localStorage, indexedDB, cookes, data store, …).
There is two things about datastore, right now, the apps using datastore won't work when pushed from the app manager. We should fix that sooner than later. Then the data inspection tool is more something for all web devs than just a app specific one. (Not saying that's not important, but rather say it should be a goal for the whole devtool team)
(In reply to Alexandre Poirot (:ochameau) from comment #4) > There is two things about datastore, right now, the apps using datastore > won't work when pushed from the app manager. why? > We should fix that sooner than > later. Then the data inspection tool is more something for all web devs than > just a app specific one. (Not saying that's not important, but rather say it > should be a goal for the whole devtool team) Of course.
We're building a storage inspector. We plan to support datastore as well. This won't be at the global level (App Manager) but in the Toolbox (only available once connected to one app).
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.