summaryrefslogtreecommitdiffstats
path: root/devtools/client/storage/test/storage-indexeddb-simple.html
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/storage/test/storage-indexeddb-simple.html')
-rw-r--r--devtools/client/storage/test/storage-indexeddb-simple.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/client/storage/test/storage-indexeddb-simple.html b/devtools/client/storage/test/storage-indexeddb-simple.html
index 9839240646..a670392fc1 100644
--- a/devtools/client/storage/test/storage-indexeddb-simple.html
+++ b/devtools/client/storage/test/storage-indexeddb-simple.html
@@ -16,7 +16,7 @@ const DB_NAME = "db";
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" });