diff options
Diffstat (limited to 'LayoutTests/storage/indexeddb/cursor-delete-expected.txt')
-rw-r--r-- | LayoutTests/storage/indexeddb/cursor-delete-expected.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/LayoutTests/storage/indexeddb/cursor-delete-expected.txt b/LayoutTests/storage/indexeddb/cursor-delete-expected.txt index bed1d0d..525ced7 100644 --- a/LayoutTests/storage/indexeddb/cursor-delete-expected.txt +++ b/LayoutTests/storage/indexeddb/cursor-delete-expected.txt @@ -48,7 +48,7 @@ objectStore.add('myValue2', 'myKey2') objectStore.add('myValue3', 'myKey3') objectStore.add('myValue4', 'myKey4') openCursor1 -trans = db.transaction({objectStoreNames: 'test', mode: webkitIDBTransaction.READ_WRITE}) +trans = db.transaction(['test'], webkitIDBTransaction.READ_WRITE) trans.objectStore('test').openCursor({range: keyRange}) PASS 'onsuccess' in result is true PASS 'onerror' in result is true @@ -68,7 +68,7 @@ event.result.delete() PASS event.result.value is "myValue4" event.result.continue() PASS counter is 5 -trans.objectStore('test').openCursor({range: keyRange}) +trans.objectStore('test').openCursor(keyRange) PASS 'onsuccess' in result is true PASS 'onerror' in result is true PASS 'readyState' in result is true @@ -86,7 +86,7 @@ PASS 'readyState' in event.target is true PASS event.target.readyState is event.target.DONE PASS event.result is null -trans = db.transaction({objectStoreNames: 'test', mode: webkitIDBTransaction.READ_WRITE}) +trans = db.transaction(['test'], webkitIDBTransaction.READ_WRITE) objectStore = trans.objectStore('test') objectStore.add('myValue1', 'myKey1') PASS 'onsuccess' in result is true @@ -95,7 +95,7 @@ PASS 'readyState' in result is true An event should fire shortly... openCursor2 -objectStore.openCursor({range: keyRange}) +objectStore.openCursor(keyRange) PASS 'onsuccess' in result is true PASS 'onerror' in result is true PASS 'readyState' in result is true |