| 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 311210f6d558dda9ce4876e8e78fa899ccc6d4da..72e6a2f2a4149b8ad96c903971b92a7368ebdeb8 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({objectStoreNames: [], mode: IDBTransaction.READ_ONLY});
|
| + var finalTransaction = db.transaction([], 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({objectStoreNames: [], mode: IDBTransaction.READ_WRITE});
|
| + var newTransaction = db.transaction([], IDBTransaction.READ_WRITE);
|
| newTransaction.oncomplete = newTransactionComplete;
|
| newTransaction.onabort = unexpectedAbortCallback;
|
|
|
|
|