diff --git a/src/browser/tests/indexeddb.html b/src/browser/tests/indexeddb.html
index 7b4a33c66..8fb02c003 100644
--- a/src/browser/tests/indexeddb.html
+++ b/src/browser/tests/indexeddb.html
@@ -925,7 +925,6 @@
const db = e.target.result;
const tx = db.transaction("s", "readwrite");
tx.objectStore("s").clear();
- // oncomplete must be set before commit(): commit settles synchronously.
tx.oncomplete = () => {
const c = db.transaction("s", "readonly").objectStore("s").count();
c.onsuccess = () => state.resolve(c.result);
@@ -997,4 +996,80 @@
await state.done((count) => testing.expectEqual(2, count));
}
+
+
+
+
+
+