agektmr / BrowserStorageAbuser

Browser Storage Abuser is a tool to experiment your browser storage limitation on LocalStorage, SessionStorage, WebSQL Database, IndexedDB API and FileSystem API. You can add arbitrary sized files to those storage to see the limit of their size.
demo.agektmr.com/storage/
127 stars 35 forks source link

dom.indexedDB.enabled = false causes errors #13

Open Sandwichs-del opened 4 years ago

Sandwichs-del commented 4 years ago

If you set "dom.indexedDB.enabled" to false in firefox, the StorageAbuser will crash with error "A mutation operation was attempted on a database that did not allow mutations" in console.

I believe this is more of firefox problem, because it makes the API readonly instead of disabling it. Because other websites will experience the same crash, I don't believe you should be fixing this. Or, I guess BSA could say "IndexedDB is readonly. Websites that try to use it may crash."