summaryrefslogtreecommitdiffstats
path: root/LayoutTests/storage/indexeddb/open-cursor.html
diff options
context:
space:
mode:
authorShimeng (Simon) Wang <swang@google.com>2010-12-07 17:22:45 -0800
committerShimeng (Simon) Wang <swang@google.com>2010-12-22 14:15:40 -0800
commit4576aa36e9a9671459299c7963ac95aa94beaea9 (patch)
tree3863574e050f168c0126ecb47c83319fab0972d8 /LayoutTests/storage/indexeddb/open-cursor.html
parent55323ac613cc31553107b68603cb627264d22bb0 (diff)
downloadexternal_webkit-4576aa36e9a9671459299c7963ac95aa94beaea9.zip
external_webkit-4576aa36e9a9671459299c7963ac95aa94beaea9.tar.gz
external_webkit-4576aa36e9a9671459299c7963ac95aa94beaea9.tar.bz2
Merge WebKit at r73109: Initial merge by git.
Change-Id: I61f1a66d9642e3d8405d3ac6ccab2a53421c75d8
Diffstat (limited to 'LayoutTests/storage/indexeddb/open-cursor.html')
-rw-r--r--LayoutTests/storage/indexeddb/open-cursor.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/LayoutTests/storage/indexeddb/open-cursor.html b/LayoutTests/storage/indexeddb/open-cursor.html
index 815c01b..e4dc8f0 100644
--- a/LayoutTests/storage/indexeddb/open-cursor.html
+++ b/LayoutTests/storage/indexeddb/open-cursor.html
@@ -25,8 +25,8 @@ function emptyCursorSuccess()
function openEmptyCursor()
{
debug("Opening an empty cursor.");
- keyRange = webkitIDBKeyRange.leftBound("InexistentKey");
- result = evalAndLog("objectStore.openCursor(keyRange)");
+ keyRange = webkitIDBKeyRange.lowerBound("InexistentKey");
+ result = evalAndLog("objectStore.openCursor({range: keyRange})");
verifyResult(result);
result.onsuccess = emptyCursorSuccess;
result.onerror = unexpectedErrorCallback;
@@ -55,8 +55,8 @@ function cursorSuccess()
function openCursor()
{
debug("Opening cursor");
- keyRange = webkitIDBKeyRange.leftBound("myKey");
- result = evalAndLog("event.source.openCursor(keyRange)");
+ keyRange = webkitIDBKeyRange.lowerBound("myKey");
+ result = evalAndLog("event.source.openCursor({range: keyRange})");
verifyResult(result);
result.onsuccess = cursorSuccess;
result.onerror = unexpectedErrorCallback;
@@ -95,7 +95,7 @@ function openSuccess()
function test()
{
- result = evalAndLog("webkitIndexedDB.open('name', 'description')");
+ result = evalAndLog("webkitIndexedDB.open('name')");
verifyResult(result);
result.onsuccess = openSuccess;
result.onerror = unexpectedErrorCallback;