Index: chrome/test/data/indexeddb/transaction_run_forever.js |
diff --git a/chrome/test/data/indexeddb/transaction_run_forever.js b/chrome/test/data/indexeddb/transaction_run_forever.js |
index 417323fcea60565e846f33f7602ce94e3a7c669e..311210f6d558dda9ce4876e8e78fa899ccc6d4da 100644 |
--- a/chrome/test/data/indexeddb/transaction_run_forever.js |
+++ b/chrome/test/data/indexeddb/transaction_run_forever.js |
@@ -22,7 +22,7 @@ function newTransactionComplete() |
{ |
debug('The transaction completed.'); |
- var finalTransaction = db.transaction([], IDBTransaction.READ_ONLY, 0); |
+ var finalTransaction = db.transaction({objectStoreNames: [], mode: IDBTransaction.READ_ONLY}); |
finalTransaction.oncomplete = unexpectedCompleteCallback; |
finalTransaction.onabort = unexpectedErrorCallback; |
@@ -34,7 +34,7 @@ function newTransactionComplete() |
function onSetVersionComplete() |
{ |
debug('Creating new transaction.'); |
- var newTransaction = db.transaction([], IDBTransaction.READ_WRITE, 0); |
+ var newTransaction = db.transaction({objectStoreNames: [], mode: IDBTransaction.READ_WRITE}); |
newTransaction.oncomplete = newTransactionComplete; |
newTransaction.onabort = unexpectedAbortCallback; |