summaryrefslogtreecommitdiffstats
path: root/LayoutTests/storage/indexeddb/cursor-delete.html
diff options
context:
space:
mode:
Diffstat (limited to 'LayoutTests/storage/indexeddb/cursor-delete.html')
-rw-r--r--LayoutTests/storage/indexeddb/cursor-delete.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/LayoutTests/storage/indexeddb/cursor-delete.html b/LayoutTests/storage/indexeddb/cursor-delete.html
index 9e1ddc3..a3290b9 100644
--- a/LayoutTests/storage/indexeddb/cursor-delete.html
+++ b/LayoutTests/storage/indexeddb/cursor-delete.html
@@ -115,13 +115,14 @@ function deleteObject()
shouldBeNonNull(event.result);
evalAndLog("event.result.delete()");
result = evalAndLog("objectStore.get('myKey1')");
- result.onsuccess = unexpectedSuccessCallback;
- result.onerror = verifyObjectDeleted;
+ result.onsuccess = verifyObjectDeleted;
+ result.onerror = unexpectedErrorCallback;
}
function verifyObjectDeleted()
{
- verifyErrorEvent(event);
+ verifySuccessEvent(event);
+ shouldBe("event.result", "undefined");
done();
}