Closed
Bug 777921
Opened 13 years ago
Closed 13 years ago
getDeviceStorage is null
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 777259
People
(Reporter: daleharvey, Unassigned)
Details
Opening the gallery gives me
Content JS ERROR at app://gallery.gaiamobile.org/js/MediaDB.js:197 in MediaDB: MediaDB(): can't get DeviceStorage object TypeError: navigator.getDeviceStorage(mediaType) is null
Otoro device with ICS kernel, current master gecko
dougt suggested commenting out the ifdef block @
http://mxr.mozilla.org/mozilla-central/source/dom/devicestorage/nsDeviceStorage.cpp#276
Which worked, Some diagnoses output
$ adb shell df
Filesystem Size Used Free Blksize
/dev 84M 100K 84M 4096
/mnt/asec 84M 0K 84M 4096
/mnt/obb 84M 0K 84M 4096
/system 234M 84M 149M 4096
/data 152M 43M 108M 4096
/persist 1M 772K 764K 4096
/cache 57M 1M 56M 4096
$ adb shell mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mtdblock5 /system yaffs2 rw,relatime 0 0
/dev/block/mtdblock6 /data yaffs2 rw,nosuid,nodev,relatime 0 0
/dev/block/mtdblock8 /persist yaffs2 rw,nosuid,nodev,relatime 0 0
/dev/block/mtdblock4 /cache yaffs2 rw,nosuid,nodev,relatime 0 0
Reporter | ||
Comment 1•13 years ago
|
||
Just some more details
I was able to save screenshots and camera images with this bug despite gallery being broken. with the patch applied I could view the gallery, however saving failed.
Reporter | ||
Comment 2•13 years ago
|
||
The non ability to save now works, I dont think its part of the diagnostic, may be some mistake on my part
$ adb shell vdc volume list
110 sdcard /mnt/sdcard 4
200 Volumes listed.
Comment 3•13 years ago
|
||
The 4 at the end of the "110 sdcard /mnt/sdcard 4" line tells me that at the time you executed that command, the volume was mounted on the phone (which is the expected state for reading/writing to the sdcard to work on the phone).
The 4 will change to a 7 when the volume is shared with the PC. Any other number is some intermediary state between mounting/sharing.
When you see 4, then /mnt/sdcard should show up in the output of the df or mount commands. When it's any other number, then it shouldn't show up.
Updated•13 years ago
|
Summary: GetUserMedia is null → getDeviceStorage is null
Comment 4•13 years ago
|
||
This is in the process of getting nommed for basecamp.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•