summaryrefslogtreecommitdiffstats
path: root/LayoutTests/storage/indexeddb/script-tests/open-cursor.js
diff options
context:
space:
mode:
Diffstat (limited to 'LayoutTests/storage/indexeddb/script-tests/open-cursor.js')
-rw-r--r--LayoutTests/storage/indexeddb/script-tests/open-cursor.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/LayoutTests/storage/indexeddb/script-tests/open-cursor.js b/LayoutTests/storage/indexeddb/script-tests/open-cursor.js
index e3c615c..ff0b711 100644
--- a/LayoutTests/storage/indexeddb/script-tests/open-cursor.js
+++ b/LayoutTests/storage/indexeddb/script-tests/open-cursor.js
@@ -60,6 +60,9 @@ function openSuccess()
{
verifySuccessEvent(event);
var db = evalAndLog("db = event.result");
+
+ deleteAllObjectStores(db);
+
result = evalAndLog("db.createObjectStore('test')");
verifyResult(result);
result.onsuccess = createObjectStoreSuccess;