Open Bug 1659458 Opened 3 years ago Updated 3 years ago

Have nsIQuotaManagerService expose a variable that conveys whether QuotaManager is broken or not

Categories

(Core :: Storage: Quota Manager, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: asuth, Unassigned)

References

(Blocks 1 open bug)

Details

It would be useful for ServiceWorkerManager and other system-principaled and Chrome JS users of IndexedDB and other APIs to be able to differentiate between when there's a browser-wide QuotaManager problem and when there's just data corruption for a single client/database/origin. A simple boolean and/or level of breakage exposed on nsIQuotaManagerService or other mechanism visible to both C++ and JS would help with this.

It might make sense to have this be specific to the type of storage in use given how QuotaManager initialization works.

Blocks: 1659464
You need to log in before you can comment on or make changes to this bug.