| Index: chrome/test/data/indexeddb/transaction_test.js
|
| diff --git a/chrome/test/data/indexeddb/transaction_test.js b/chrome/test/data/indexeddb/transaction_test.js
|
| index 0b82e018d0f277371dfcb7b81cef487e751eea55..6884a983103eb3d7850597ce55e36c22b6a10601 100644
|
| --- a/chrome/test/data/indexeddb/transaction_test.js
|
| +++ b/chrome/test/data/indexeddb/transaction_test.js
|
| @@ -22,7 +22,7 @@ function newTransactionAborted()
|
| {
|
| debug('The transaction was aborted.');
|
|
|
| - var finalTransaction = db.transaction([], IDBTransaction.READ_ONLY, 0);
|
| + var finalTransaction = db.transaction({objectStoreNames: [], mode: IDBTransaction.READ_ONLY});
|
| finalTransaction.oncomplete = finalTransactionCompleted;
|
| finalTransaction.onabort = finalTransactionAborted;
|
|
|
| @@ -44,7 +44,7 @@ function employeeAdded()
|
| 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 = newTransactionCompleted;
|
| newTransaction.onabort = newTransactionAborted;
|
|
|
|
|