How can I free up space when getting a QuotaExceededError?

I am using IndexedDB to cache data for a web application and want to free up space by deleting old data when a transaction is aborted due to QuotaExceededError events.

I tried to “delete” transactions after receiving the interrupt event, but they also do not work, raising QuotaExceededError.

I can’t figure out what to do.

This was on an updated Firefox.

+4
source share

All Articles