mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Use indexedDB instead of for cacheStorageAPI value
This commit is contained in:
parent
69c87c5117
commit
ff269d793d
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@
|
||||||
// IndexedDB.
|
// IndexedDB.
|
||||||
if (
|
if (
|
||||||
vAPI.webextFlavor.soup.has('firefox') === false &&
|
vAPI.webextFlavor.soup.has('firefox') === false &&
|
||||||
µBlock.hiddenSettings.cacheStorageAPI !== 'IndexedDB'
|
µBlock.hiddenSettings.cacheStorageAPI !== 'indexedDB'
|
||||||
) {
|
) {
|
||||||
// In case IndexedDB was used as cache storage, remove it.
|
// In case IndexedDB was used as cache storage, remove it.
|
||||||
indexedDB.deleteDatabase(STORAGE_NAME);
|
indexedDB.deleteDatabase(STORAGE_NAME);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue