Closed Bug 1197572 Opened 10 years ago Closed 11 months ago

Indexeddb fails with unkown error on low (<500MB) free disk space

Categories

(Core :: Storage: IndexedDB, defect, P5)

40 Branch
defect

Tracking

()

RESOLVED DUPLICATE of bug 1296592

People

(Reporter: mozillabugs.20.kerik, Unassigned)

Details

(Whiteboard: dom-lws-bugdash-triage)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0 Build ID: 20150820233428 Steps to reproduce: sudo mount -t tmpfs -o size=501M tmpfs /tmp/fx2/ firefox -p create a new profile in /tmp/fx2 open the Javascript console on the home page Actual results: I get an Unknown Error in the console Expected results: - The error message is not "Unknown Error" but "not enough disk space" - it's not triggered when there are 500MB free!
I know this is due to indexedDB because I noticed the error first when developing a web page using pouchDB. It would show this Unknown Error upon IndexedDB.open(...)
Component: Untriaged → DOM: IndexedDB
Product: Firefox → Core
Priority: -- → P5
Severity: normal → S3

I believe our error handling may have improved in this space both in IDB and QM, but it's definitely the case that we still have problems when actually running out of disk space. I am duping this to a broader bug on our handling of running out of disk space in a way that QuotaManager can't solve by clearing storage, bug 1296592.

Status: UNCONFIRMED → RESOLVED
Closed: 11 months ago
Duplicate of bug: 1296592
Resolution: --- → DUPLICATE
Whiteboard: dom-lws-bugdash-triage
You need to log in before you can comment on or make changes to this bug.