1
0
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:
Raymond Hill 2019-02-01 08:27:28 -05:00
parent 69c87c5117
commit ff269d793d
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -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);