summaryrefslogtreecommitdiffstats
path: root/LayoutTests/storage/indexeddb/cursor-index-delete.html
diff options
context:
space:
mode:
Diffstat (limited to 'LayoutTests/storage/indexeddb/cursor-index-delete.html')
-rw-r--r--LayoutTests/storage/indexeddb/cursor-index-delete.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/LayoutTests/storage/indexeddb/cursor-index-delete.html b/LayoutTests/storage/indexeddb/cursor-index-delete.html
index ea10f02..1bddf63 100644
--- a/LayoutTests/storage/indexeddb/cursor-index-delete.html
+++ b/LayoutTests/storage/indexeddb/cursor-index-delete.html
@@ -61,7 +61,7 @@ function createAndPopulateObjectStoreAndIndex()
function openCursor()
{
debug("openCursor1");
- evalAndLog("trans = db.transaction('test', webkitIDBTransaction.READ_WRITE)");
+ evalAndLog("trans = db.transaction({objectStoreNames: 'test', mode: webkitIDBTransaction.READ_WRITE})");
keyRange = webkitIDBKeyRange.lowerBound(1);
result = evalAndLog("trans.objectStore('test').index('testIndex').openCursor({range: keyRange})");
verifyResult(result);
@@ -95,7 +95,7 @@ function cursorEmpty()
function addObject()
{
- evalAndLog("trans = db.transaction('test', webkitIDBTransaction.READ_WRITE)");
+ evalAndLog("trans = db.transaction({objectStoreNames: 'test', mode: webkitIDBTransaction.READ_WRITE})");
objectStore = evalAndLog("objectStore = trans.objectStore('test')");
result = evalAndLog("objectStore.add({x: 1}, 'myKey1')");
verifyResult(result);