| Index: chrome/test/data/indexeddb/index_test.js
|
| diff --git a/chrome/test/data/indexeddb/index_test.js b/chrome/test/data/indexeddb/index_test.js
|
| index 56f38660a694542da4db2e6728df5d30dc2efc1e..37c67a13c79a9e630bcfdbd9f27bf96ba0fa8e8e 100644
|
| --- a/chrome/test/data/indexeddb/index_test.js
|
| +++ b/chrome/test/data/indexeddb/index_test.js
|
| @@ -33,7 +33,7 @@ function onKeyCursor()
|
| return;
|
| }
|
|
|
| - var result = index.openCursor({range: IDBKeyRange.only(55)});
|
| + var result = index.openCursor(IDBKeyRange.only(55));
|
| result.onsuccess = onCursor;
|
| result.onerror = unexpectedErrorCallback;
|
| gotObjectThroughCursor = false;
|
| @@ -55,7 +55,7 @@ function getSuccess()
|
| shouldBe('event.result.aKey', '55');
|
| shouldBe('event.result.aValue', '"foo"');
|
|
|
| - var result = index.openKeyCursor({range: IDBKeyRange.only(55)});
|
| + var result = index.openKeyCursor(IDBKeyRange.only(55));
|
| result.onsuccess = onKeyCursor;
|
| result.onerror = unexpectedErrorCallback;
|
| gotKeyThroughCursor = false;
|
|
|