| Index: chrome/test/data/indexeddb/cursor_test.js
|
| diff --git a/chrome/test/data/indexeddb/cursor_test.js b/chrome/test/data/indexeddb/cursor_test.js
|
| index 968cc5f6009526a63d131f07524b5f252d3fb89b..c759e0286eec62317ba13ba82e625ba5e88e2073 100644
|
| --- a/chrome/test/data/indexeddb/cursor_test.js
|
| +++ b/chrome/test/data/indexeddb/cursor_test.js
|
| @@ -12,7 +12,7 @@ function openEmptyCursor()
|
| {
|
| debug('Opening an empty cursor.');
|
| keyRange = webkitIDBKeyRange.lowerBound('InexistentKey');
|
| - result = objectStore.openCursor({range: keyRange});
|
| + result = objectStore.openCursor(keyRange);
|
| result.onsuccess = emptyCursorSuccess;
|
| result.onerror = unexpectedErrorCallback;
|
| }
|
| @@ -38,7 +38,7 @@ function openCursor(objectStore)
|
| {
|
| debug('Opening cursor');
|
| var keyRange = webkitIDBKeyRange.lowerBound(3.12);
|
| - var result = objectStore.openCursor({range: keyRange});
|
| + var result = objectStore.openCursor(keyRange);
|
| result.onsuccess = cursorSuccess;
|
| result.onerror = unexpectedErrorCallback;
|
| }
|
|
|