summaryrefslogtreecommitdiffstats
path: root/LayoutTests/storage/indexeddb/create-and-remove-object-store.html
diff options
context:
space:
mode:
Diffstat (limited to 'LayoutTests/storage/indexeddb/create-and-remove-object-store.html')
-rw-r--r--LayoutTests/storage/indexeddb/create-and-remove-object-store.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/LayoutTests/storage/indexeddb/create-and-remove-object-store.html b/LayoutTests/storage/indexeddb/create-and-remove-object-store.html
index c5284af..7bde468 100644
--- a/LayoutTests/storage/indexeddb/create-and-remove-object-store.html
+++ b/LayoutTests/storage/indexeddb/create-and-remove-object-store.html
@@ -76,12 +76,15 @@ function cleaned()
}
trans = evalAndLog("trans = db.transaction({mode: webkitIDBTransaction.READ_WRITE})");
req = evalAndLog("trans.objectStore('tmp').get(0)");
- req.onsuccess = unexpectedSuccessCallback;
- req.onerror = tryOnceMore;
+ req.onsuccess = tryOnceMore;
+ req.onerror = unexpectedErrorCallback;
}
function tryOnceMore()
{
+ verifySuccessEvent(event);
+ shouldBe("event.result", "undefined");
+
testCreateAndRemove();
done();