[Device Storage] To Support Variant Cloud Storage

RESOLVED WONTFIX

Status

Firefox OS
General
RESOLVED WONTFIX
4 years ago
2 months ago

People

(Reporter: mchen, Unassigned)

Tracking

unspecified
ARM
Gonk (Firefox OS)
Dependency tree / graph

Firefox Tracking Flags

(tracking-b2g:backlog)

Details

(Whiteboard: [ft:conndevices])

(Reporter)

Description

4 years ago
As an user, I would like to share my cloud storage (ex: dropbox/google drive) into my device. Then there will be a new device stroage for me to access files. ex: playing music, view image and video.
(Reporter)

Updated

4 years ago
blocking-b2g: --- → backlog
Whiteboard: [FT:Stream3]
(Reporter)

Comment 1

4 years ago
And concept is to introduce a set of Web API called "Virtual Device Storage".
  1. App A can register itself as a Virtual Device Storage.
  2. Then there will be a new device storage created in runtime.
  3. Other app can access this cloud storage by normal DeviceStroage Web API.
  4. The file I/O will be routed back to App A.
  5. The different protocol to communicate with variant cloud storage can be implemented on Web Content layer.

Note:
  According to there will be a new device storage created in runtime, we also need to introduce a Web API in Device Storage for notifying web content about new storage appeared/removed.
See Also: → bug 1035051
(In reply to Marco Chen [:mchen] from comment #1)
> Note:
>   According to there will be a new device storage created in runtime, we
> also need to introduce a Web API in Device Storage for notifying web content
> about new storage appeared/removed.

I started an email thread in dev.platform and proposed that we add

navigator.deviceStorage

We could then have .addOberver, .removeObserver, .getAll, and .getDefault

.add/removeObserver would allow registering interest in notifications, and we would have notifications about the default storage area changing and about new volumes being added/removed.

deviceStorage.getDefault would return the same thing as navigator.getDeviceStorage

deviceStorage.getAll would return the same thing as navigator.getDeviceStorages
(Reporter)

Updated

3 years ago
Depends on: 1035748
Depends on: 1126694

Updated

3 years ago
Whiteboard: [FT:Stream3] → [ft:conndevices]
(Assignee)

Updated

3 years ago
blocking-b2g: backlog → ---
tracking-b2g: --- → backlog
No longer blocks: 1161657

Comment 3

2 months ago
Firefox OS is not being worked on
Status: NEW → RESOLVED
Last Resolved: 2 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.