mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-18 17:02:27 +02:00
Use indexedDB
instead of for cacheStorageAPI value
This commit is contained in:
parent
69c87c5117
commit
ff269d793d
@ -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 New Issue
Block a user