FirefoxOS/Device Storage
Device Storage
Active Contributors
Dev: Dave Hylands and Andrew Osmond
QA: No-jun Park
Documentation
Bug Backlog
Projects
New Architecture Validation
https://wiki.mozilla.org/Gaia/Architecture_Proposal
IRC: ffos_media
Sprint Backlog
ID | Summary | Status | Resolution | Assigned to | Depends on | Blocks | Whiteboard | Feature b2g | Blocking b2g |
---|---|---|---|---|---|---|---|---|---|
1166320 | [DeviceStorage] Fix thread safety design issues with volume service | RESOLVED | FIXED | Andrew Osmond [:aosmond] (he/him) | 1171768 | [NG Device Storage], [backout-asap] | --- | --- | |
1167650 | Make DOMRequest and DOMCursor accessible on workers | RESOLVED | FIXED | Andrew Osmond [:aosmond] (he/him) | 1171170 | [NG Device Storage] | --- | --- | |
1169342 | [DeviceStorage] Remove nsIDOMDeviceStorage, cleanup event code | RESOLVED | FIXED | Andrew Osmond [:aosmond] (he/him) | 1169686 | [NG Device Storage] | --- | --- | |
1171170 | [DeviceStorage] Consolidate and cache use of permissions | RESOLVED | FIXED | Andrew Osmond [:aosmond] (he/him) | 1167650, 1204687 | 1196315 | [NG Device Storage] | --- | --- |
1186273 | [DeviceStorage] Move preferences and observers into dedicated module | RESOLVED | FIXED | Andrew Osmond [:aosmond] (he/him) | 1189004 | [NG Device Storage] | --- | --- | |
1196315 | [DeviceStorage] Consolidate and cache accesses to MIME service | RESOLVED | FIXED | Andrew Osmond [:aosmond] (he/him) | 1171170 | [NG Device Storage] | --- | --- | |
1196321 | [DeviceStorage] Make DeviceStorageUsedSpaceCache thread safe | RESOLVED | WONTFIX | Andrew Osmond [:aosmond] (he/him) | [NG Device Storage] | --- | --- | ||
1196322 | [DeviceStorage] Expose device storage to workers, port tests | RESOLVED | WONTFIX | Andrew Osmond [:aosmond] (he/him) | [NG Device Storage] | --- | --- |
8 Total; 0 Open (0%); 8 Resolved (100%); 0 Verified (0%);
Device Storage Service Workers
Update the current Device Storage API implementation so that it can be used by Service Workers. See the detailed work breakdown for more information.
Device Storage Database
Currently, device storage doesn't persist any information from the storage areas, and each app that uses device storage needs to create its own database with all of the meta data associated with the various files.
Having Device Storage maintain a database would mean that the apps wouldn't need to scan media each time that they run. Device Storage knows when media is inserted an removed, so it has a much better idea of when the media needs to be rescanned. Also, by persisting the information in a database, it would allow device storage to return ordered enumerations. Currently the files are returned in filesystem order, and all files need to be enumerated in order to get a sorted list.
MTP Automation and Testing
Currently, much of the MTP testing is manual. We need to come up with methods and tests to allow a significant portion of this to be automated. Especially since particular clients (i.e. Windows) expect particular types of responses, so weneed to ensure that we continue to deliver those responses