summaryrefslogtreecommitdiffstats
path: root/devtools/client/storage/test/storage-idb-delete-blocked.html
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/storage/test/storage-idb-delete-blocked.html')
-rw-r--r--devtools/client/storage/test/storage-idb-delete-blocked.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/devtools/client/storage/test/storage-idb-delete-blocked.html b/devtools/client/storage/test/storage-idb-delete-blocked.html
index 7c7b597421..bc61f5fe8d 100644
--- a/devtools/client/storage/test/storage-idb-delete-blocked.html
+++ b/devtools/client/storage/test/storage-idb-delete-blocked.html
@@ -14,7 +14,7 @@ window.setup = async function () {
const request = indexedDB.open("idb", 1);
request.onsuccess = e => resolve(e.target.result);
- request.onerror = e => reject(new Error("error opening db connection"));
+ request.onerror = () => reject(new Error("error opening db connection"));
});
dump("opened indexedDB\n");
@@ -29,7 +29,7 @@ window.deleteDb = async function () {
const request = indexedDB.deleteDatabase("idb");
request.onsuccess = resolve;
- request.onerror = e => reject(new Error("error deleting db"));
+ request.onerror = () => reject(new Error("error deleting db"));
});
};