mirror of https://github.com/gorhill/uBlock.git
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:
parent
6c3ebad4dc
commit
eaa0094e53
|
@ -505,7 +505,10 @@
|
|||
};
|
||||
|
||||
const clearIDB = function() {
|
||||
indexedDB.deleteDatabase(STORAGE_NAME);
|
||||
try {
|
||||
indexedDB.deleteDatabase(STORAGE_NAME);
|
||||
} catch(ex) {
|
||||
}
|
||||
};
|
||||
|
||||
return api;
|
||||
|
|
Loading…
Reference in New Issue