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 74042b2a929f53a61b631f84e9b33002482f482f..5b3d395058204978a8d6550a05451d0d38712950 100644 |
--- a/chrome/test/data/indexeddb/transaction_run_forever.js |
+++ b/chrome/test/data/indexeddb/transaction_run_forever.js |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -22,7 +22,8 @@ function newTransactionComplete() |
{ |
debug('The transaction completed.'); |
- var finalTransaction = db.transaction([], IDBTransaction.READ_ONLY); |
+ var finalTransaction = db.transaction(['employees'], |
+ IDBTransaction.READ_ONLY); |
finalTransaction.oncomplete = unexpectedCompleteCallback; |
finalTransaction.onabort = unexpectedErrorCallback; |
@@ -34,7 +35,7 @@ function newTransactionComplete() |
function onSetVersionComplete() |
{ |
debug('Creating new transaction.'); |
- var newTransaction = db.transaction([], IDBTransaction.READ_WRITE); |
+ var newTransaction = db.transaction(['employees'], IDBTransaction.READ_WRITE); |
newTransaction.oncomplete = newTransactionComplete; |
newTransaction.onabort = unexpectedAbortCallback; |