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, 2 insertions, 1 deletions
diff --git a/LayoutTests/storage/indexeddb/script-tests/open-cursor.js b/LayoutTests/storage/indexeddb/script-tests/open-cursor.js
index ff0b711..53ea96b 100644
--- a/LayoutTests/storage/indexeddb/script-tests/open-cursor.js
+++ b/LayoutTests/storage/indexeddb/script-tests/open-cursor.js
@@ -7,7 +7,6 @@ function emptyCursorSuccess()
debug("Empty cursor opened successfully.")
verifySuccessEvent(event);
// FIXME: check that we can iterate the cursor.
- shouldBe("event.result", "null");
done();
}
@@ -18,6 +17,7 @@ function openEmptyCursor()
result = evalAndLog("objectStore.openCursor(keyRange)");
verifyResult(result);
result.onsuccess = emptyCursorSuccess;
+ result.onerror = unexpectedErrorCallback;
}
function cursorSuccess()
@@ -39,6 +39,7 @@ function openCursor()
result = evalAndLog("objectStore.openCursor(keyRange)");
verifyResult(result);
result.onsuccess = cursorSuccess;
+ result.onerror = unexpectedErrorCallback;
}
function populateObjectStore(objectStore)