Closed Bug 726814 Opened 13 years ago Closed 13 years ago

indexedDB failure on akami device

Categories

(Core :: Storage: IndexedDB, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: fabrice, Assigned: fabrice)

Details

Attachments

(1 file)

Attached file indexed db test (deleted) —
the attached script is failing on an akami device (using a yaffs2 filesystem) : only the first object is successfully added to the database. We traced the error up to https://mxr.mozilla.org/mozilla-central/source/dom/indexedDB/IDBObjectStore.cpp#2124 where the underlying sqlite error is 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED from SQLITE_CANTOPEN at https://mxr.mozilla.org/mozilla-central/source/storage/src/mozStoragePrivateHelpers.cpp#84)
Fabrice is investigating.
Assignee: nobody → fabrice
So, the failure was not due to our IDB code or sqlite directly, but because the TMPDIR environment variable was not set on the device, causing sqlite to fail when trying to use files in ./
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
Component: Storage → DOM: IndexedDB
Product: Toolkit → Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: