1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-14 23:12:28 +02:00

Fix uncaugh exception at launch when indexedDB is forbidden

Possibly related to:
- https://www.reddit.com/r/uBlockOrigin/comments/atbjvg/web_pages_dont_load_in_waterfox_56271_64bit_with/
This commit is contained in:
Raymond Hill 2019-02-24 11:28:28 -05:00
parent 6c3ebad4dc
commit eaa0094e53
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -505,7 +505,10 @@
};
const clearIDB = function() {
indexedDB.deleteDatabase(STORAGE_NAME);
try {
indexedDB.deleteDatabase(STORAGE_NAME);
} catch(ex) {
}
};
return api;