Closed Bug 1195207 Opened 10 years ago Closed 7 years ago

DeviceStorage doesn't work on the TV

Categories

(Firefox OS Graveyard :: Gaia::TV, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: pauljt, Assigned: 938.daisuke)

References

Details

(Whiteboard: [ft:conndevices][POVB])

Attachments

(1 file)

DeviceStorage API is pretty broken on the TV. Firstly I can only seem to access "sdcard" at all - pictures, video & music are all null. If I do access deviceStorage:sdcard, and then call any API, I get a prompt which is obviously for a phone, not a TV. I'll attach a photo to explain what I mean. STR: 1. Install an app with device storage permissions "device-storage:sdcard": { "access": "readwrite" }, 2. Attach a debugger an execute the following: navigator.getDeviceStorages('sdcard')[0].getRoot() Expected: Prompt that the user can choose to allow access to sdcard Actual: See attached screenshot
Attached image tvcropped.jpg
Screenshot function is also broken so here is a webcam picture.
I should also mention that there is no way to "accept" or "cancel" the prompt - the buttons on the remote dont do anything to this prompt.
Hi Kusaba-san, Please take a look at the bug description. By looking into your code, it seems that you block to crate storage area for videos, picture, and music intentionally. Could you please confirm this? Or it's just a bug? Thanks.
Flags: needinfo?(938.daisuke)
blocking-b2g: --- → 2.5+
Whiteboard: [ft:conndevices]
Component: General → Gaia::TV
[Blocking Requested - why for this release]: Partner still discussing whether to implement this feature. Will revisit again when decision make.
blocking-b2g: 2.5+ → 2.5?
Whiteboard: [ft:conndevices] → [ft:conndevices][partner-blocker]
kusaba-san, any update for this feature evaluation?
(In reply to Evelyn Hung [:evelyn] from comment #5) > kusaba-san, any update for this feature evaluation? no update. no power for 16 models
Flags: needinfo?(938.daisuke)
As discussed on-site. Move this to 2.6 scope.
blocking-b2g: 2.5? → 2.6?
Whiteboard: [ft:conndevices][partner-blocker] → [ft:conndevices][partner-blocker][POVB]
Assignee: nobody → 938.daisuke
Blocks: TV_FxOS2.6
No longer blocks: TV_FxOS2.5
blocking-b2g: 2.6? → ---
Whiteboard: [ft:conndevices][partner-blocker][POVB] → [ft:conndevices][POVB]
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: