summaryrefslogtreecommitdiffstats
path: root/devtools/client/storage/test/storage-indexeddb-simple-alt.html
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/storage/test/storage-indexeddb-simple-alt.html')
-rw-r--r--devtools/client/storage/test/storage-indexeddb-simple-alt.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/client/storage/test/storage-indexeddb-simple-alt.html b/devtools/client/storage/test/storage-indexeddb-simple-alt.html
index 0c5e56f795..10a7d087bf 100644
--- a/devtools/client/storage/test/storage-indexeddb-simple-alt.html
+++ b/devtools/client/storage/test/storage-indexeddb-simple-alt.html
@@ -16,7 +16,7 @@ const DB_NAME = "db-alt";
async function setup() { // eslint-disable-line no-unused-vars
await new Promise((resolve, reject) => {
const request = indexedDB.open(DB_NAME, 1);
- request.onerror = event => reject(Error("Error opening DB"));
+ request.onerror = () => reject(Error("Error opening DB"));
request.onupgradeneeded = event => {
const db = event.target.result;
const store = db.createObjectStore("store", { keyPath: "key" });