IndexedDB: Remove obsolete description parameter from factory.open calls
authordgrogan@chromium.org <dgrogan@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Jun 2012 23:35:34 +0000 (23:35 +0000)
committerdgrogan@chromium.org <dgrogan@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Jun 2012 23:35:34 +0000 (23:35 +0000)
https://bugs.webkit.org/show_bug.cgi?id=89047

Reviewed by Tony Chang.

This parameter has been obsolete for 18 months and is getting replaced
with a version parameter.

* storage/indexeddb/mozilla/add-twice-failure-expected.txt:
* storage/indexeddb/mozilla/autoincrement-indexes-expected.txt:
* storage/indexeddb/mozilla/bad-keypath-expected.txt:
* storage/indexeddb/mozilla/clear-expected.txt:
* storage/indexeddb/mozilla/create-index-unique-expected.txt:
* storage/indexeddb/mozilla/create-index-with-integer-keys-expected.txt:
* storage/indexeddb/mozilla/create-objectstore-basics-expected.txt:
* storage/indexeddb/mozilla/create-objectstore-null-name-expected.txt:
* storage/indexeddb/mozilla/cursor-mutation-objectstore-only-expected.txt:
* storage/indexeddb/mozilla/cursor-update-updates-indexes-expected.txt:
* storage/indexeddb/mozilla/cursors-expected.txt:
* storage/indexeddb/mozilla/delete-result-expected.txt:
* storage/indexeddb/mozilla/event-source-expected.txt:
* storage/indexeddb/mozilla/global-data-expected.txt:
* storage/indexeddb/mozilla/index-prev-no-duplicate-expected.txt:
* storage/indexeddb/mozilla/index-prev-no-duplicate.html:
* storage/indexeddb/mozilla/indexes-expected.txt:
* storage/indexeddb/mozilla/key-requirements-delete-null-key-expected.txt:
* storage/indexeddb/mozilla/key-requirements-expected.txt:
* storage/indexeddb/mozilla/key-requirements-inline-and-passed-expected.txt:
* storage/indexeddb/mozilla/key-requirements-put-no-key-expected.txt:
* storage/indexeddb/mozilla/key-requirements-put-null-key-expected.txt:
* storage/indexeddb/mozilla/object-cursors-expected.txt:
* storage/indexeddb/mozilla/object-identity-expected.txt:
* storage/indexeddb/mozilla/object-store-inline-autoincrement-key-added-on-put-expected.txt:
* storage/indexeddb/mozilla/object-store-remove-values-expected.txt:
* storage/indexeddb/mozilla/objectstorenames-expected.txt:
* storage/indexeddb/mozilla/odd-result-order-expected.txt:
* storage/indexeddb/mozilla/put-get-values-expected.txt:
* storage/indexeddb/mozilla/readonly-transactions-expected.txt:
* storage/indexeddb/mozilla/readwrite-transactions-expected.txt:
* storage/indexeddb/mozilla/readyState-expected.txt:
* storage/indexeddb/mozilla/remove-index-expected.txt:
* storage/indexeddb/mozilla/remove-objectstore-expected.txt:
* storage/indexeddb/mozilla/resources/add-twice-failure.js:
(test):
* storage/indexeddb/mozilla/resources/autoincrement-indexes.js:
(test):
* storage/indexeddb/mozilla/resources/bad-keypath.js:
(test):
* storage/indexeddb/mozilla/resources/clear.js:
(test):
* storage/indexeddb/mozilla/resources/create-index-unique.js:
(test):
* storage/indexeddb/mozilla/resources/create-index-with-integer-keys.js:
(test):
* storage/indexeddb/mozilla/resources/create-objectstore-basics.js:
(test):
* storage/indexeddb/mozilla/resources/create-objectstore-null-name.js:
(test):
* storage/indexeddb/mozilla/resources/cursor-mutation-objectstore-only.js:
(test):
* storage/indexeddb/mozilla/resources/cursor-update-updates-indexes.js:
(test):
* storage/indexeddb/mozilla/resources/cursors.js:
(test):
* storage/indexeddb/mozilla/resources/delete-result.js:
(test):
* storage/indexeddb/mozilla/resources/event-source.js:
(test):
* storage/indexeddb/mozilla/resources/global-data.js:
(test):
(cleanDatabase):
* storage/indexeddb/mozilla/resources/indexes.js:
(test):
* storage/indexeddb/mozilla/resources/key-requirements-delete-null-key.js:
(test):
* storage/indexeddb/mozilla/resources/key-requirements-inline-and-passed.js:
(test):
* storage/indexeddb/mozilla/resources/key-requirements-put-no-key.js:
(test):
* storage/indexeddb/mozilla/resources/key-requirements-put-null-key.js:
(test):
* storage/indexeddb/mozilla/resources/key-requirements.js:
(test):
* storage/indexeddb/mozilla/resources/object-cursors.js:
(test):
* storage/indexeddb/mozilla/resources/object-identity.js:
(test):
* storage/indexeddb/mozilla/resources/object-store-inline-autoincrement-key-added-on-put.js:
(test):
* storage/indexeddb/mozilla/resources/object-store-remove-values.js:
(test):
* storage/indexeddb/mozilla/resources/objectstorenames.js:
(test):
* storage/indexeddb/mozilla/resources/odd-result-order.js:
(test):
* storage/indexeddb/mozilla/resources/put-get-values.js:
(test):
* storage/indexeddb/mozilla/resources/readonly-transactions.js:
(test):
* storage/indexeddb/mozilla/resources/readwrite-transactions.js:
(test):
* storage/indexeddb/mozilla/resources/readyState.js:
(test):
* storage/indexeddb/mozilla/resources/remove-index.js:
(test):
* storage/indexeddb/mozilla/resources/remove-objectstore.js:
(test):
* storage/indexeddb/mozilla/resources/versionchange-abort.js:
(test):
* storage/indexeddb/mozilla/resources/versionchange.js:
(test):
(openSuccess):
(postSetVersion):
* storage/indexeddb/mozilla/versionchange-abort-expected.txt:
* storage/indexeddb/mozilla/versionchange-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@120510 268f45cc-cd09-0410-ab3c-d52691b4dbfc

72 files changed:
LayoutTests/ChangeLog
LayoutTests/storage/indexeddb/mozilla/add-twice-failure-expected.txt
LayoutTests/storage/indexeddb/mozilla/autoincrement-indexes-expected.txt
LayoutTests/storage/indexeddb/mozilla/bad-keypath-expected.txt
LayoutTests/storage/indexeddb/mozilla/clear-expected.txt
LayoutTests/storage/indexeddb/mozilla/create-index-unique-expected.txt
LayoutTests/storage/indexeddb/mozilla/create-index-with-integer-keys-expected.txt
LayoutTests/storage/indexeddb/mozilla/create-objectstore-basics-expected.txt
LayoutTests/storage/indexeddb/mozilla/create-objectstore-null-name-expected.txt
LayoutTests/storage/indexeddb/mozilla/cursor-mutation-objectstore-only-expected.txt
LayoutTests/storage/indexeddb/mozilla/cursor-update-updates-indexes-expected.txt
LayoutTests/storage/indexeddb/mozilla/cursors-expected.txt
LayoutTests/storage/indexeddb/mozilla/delete-result-expected.txt
LayoutTests/storage/indexeddb/mozilla/event-source-expected.txt
LayoutTests/storage/indexeddb/mozilla/global-data-expected.txt
LayoutTests/storage/indexeddb/mozilla/index-prev-no-duplicate-expected.txt
LayoutTests/storage/indexeddb/mozilla/index-prev-no-duplicate.html
LayoutTests/storage/indexeddb/mozilla/indexes-expected.txt
LayoutTests/storage/indexeddb/mozilla/key-requirements-delete-null-key-expected.txt
LayoutTests/storage/indexeddb/mozilla/key-requirements-expected.txt
LayoutTests/storage/indexeddb/mozilla/key-requirements-inline-and-passed-expected.txt
LayoutTests/storage/indexeddb/mozilla/key-requirements-put-no-key-expected.txt
LayoutTests/storage/indexeddb/mozilla/key-requirements-put-null-key-expected.txt
LayoutTests/storage/indexeddb/mozilla/object-cursors-expected.txt
LayoutTests/storage/indexeddb/mozilla/object-identity-expected.txt
LayoutTests/storage/indexeddb/mozilla/object-store-inline-autoincrement-key-added-on-put-expected.txt
LayoutTests/storage/indexeddb/mozilla/object-store-remove-values-expected.txt
LayoutTests/storage/indexeddb/mozilla/objectstorenames-expected.txt
LayoutTests/storage/indexeddb/mozilla/odd-result-order-expected.txt
LayoutTests/storage/indexeddb/mozilla/put-get-values-expected.txt
LayoutTests/storage/indexeddb/mozilla/readonly-transactions-expected.txt
LayoutTests/storage/indexeddb/mozilla/readwrite-transactions-expected.txt
LayoutTests/storage/indexeddb/mozilla/readyState-expected.txt
LayoutTests/storage/indexeddb/mozilla/remove-index-expected.txt
LayoutTests/storage/indexeddb/mozilla/remove-objectstore-expected.txt
LayoutTests/storage/indexeddb/mozilla/resources/add-twice-failure.js
LayoutTests/storage/indexeddb/mozilla/resources/autoincrement-indexes.js
LayoutTests/storage/indexeddb/mozilla/resources/bad-keypath.js
LayoutTests/storage/indexeddb/mozilla/resources/clear.js
LayoutTests/storage/indexeddb/mozilla/resources/create-index-unique.js
LayoutTests/storage/indexeddb/mozilla/resources/create-index-with-integer-keys.js
LayoutTests/storage/indexeddb/mozilla/resources/create-objectstore-basics.js
LayoutTests/storage/indexeddb/mozilla/resources/create-objectstore-null-name.js
LayoutTests/storage/indexeddb/mozilla/resources/cursor-mutation-objectstore-only.js
LayoutTests/storage/indexeddb/mozilla/resources/cursor-update-updates-indexes.js
LayoutTests/storage/indexeddb/mozilla/resources/cursors.js
LayoutTests/storage/indexeddb/mozilla/resources/delete-result.js
LayoutTests/storage/indexeddb/mozilla/resources/event-source.js
LayoutTests/storage/indexeddb/mozilla/resources/global-data.js
LayoutTests/storage/indexeddb/mozilla/resources/indexes.js
LayoutTests/storage/indexeddb/mozilla/resources/key-requirements-delete-null-key.js
LayoutTests/storage/indexeddb/mozilla/resources/key-requirements-inline-and-passed.js
LayoutTests/storage/indexeddb/mozilla/resources/key-requirements-put-no-key.js
LayoutTests/storage/indexeddb/mozilla/resources/key-requirements-put-null-key.js
LayoutTests/storage/indexeddb/mozilla/resources/key-requirements.js
LayoutTests/storage/indexeddb/mozilla/resources/object-cursors.js
LayoutTests/storage/indexeddb/mozilla/resources/object-identity.js
LayoutTests/storage/indexeddb/mozilla/resources/object-store-inline-autoincrement-key-added-on-put.js
LayoutTests/storage/indexeddb/mozilla/resources/object-store-remove-values.js
LayoutTests/storage/indexeddb/mozilla/resources/objectstorenames.js
LayoutTests/storage/indexeddb/mozilla/resources/odd-result-order.js
LayoutTests/storage/indexeddb/mozilla/resources/open-database-null-name.js
LayoutTests/storage/indexeddb/mozilla/resources/put-get-values.js
LayoutTests/storage/indexeddb/mozilla/resources/readonly-transactions.js
LayoutTests/storage/indexeddb/mozilla/resources/readwrite-transactions.js
LayoutTests/storage/indexeddb/mozilla/resources/readyState.js
LayoutTests/storage/indexeddb/mozilla/resources/remove-index.js
LayoutTests/storage/indexeddb/mozilla/resources/remove-objectstore.js
LayoutTests/storage/indexeddb/mozilla/resources/versionchange-abort.js
LayoutTests/storage/indexeddb/mozilla/resources/versionchange.js
LayoutTests/storage/indexeddb/mozilla/versionchange-abort-expected.txt
LayoutTests/storage/indexeddb/mozilla/versionchange-expected.txt

index 1dda03d..c17b983 100644 (file)
@@ -1,3 +1,121 @@
+2012-06-15  David Grogan  <dgrogan@chromium.org>
+
+        IndexedDB: Remove obsolete description parameter from factory.open calls
+        https://bugs.webkit.org/show_bug.cgi?id=89047
+
+        Reviewed by Tony Chang.
+
+        This parameter has been obsolete for 18 months and is getting replaced
+        with a version parameter.
+
+        * storage/indexeddb/mozilla/add-twice-failure-expected.txt:
+        * storage/indexeddb/mozilla/autoincrement-indexes-expected.txt:
+        * storage/indexeddb/mozilla/bad-keypath-expected.txt:
+        * storage/indexeddb/mozilla/clear-expected.txt:
+        * storage/indexeddb/mozilla/create-index-unique-expected.txt:
+        * storage/indexeddb/mozilla/create-index-with-integer-keys-expected.txt:
+        * storage/indexeddb/mozilla/create-objectstore-basics-expected.txt:
+        * storage/indexeddb/mozilla/create-objectstore-null-name-expected.txt:
+        * storage/indexeddb/mozilla/cursor-mutation-objectstore-only-expected.txt:
+        * storage/indexeddb/mozilla/cursor-update-updates-indexes-expected.txt:
+        * storage/indexeddb/mozilla/cursors-expected.txt:
+        * storage/indexeddb/mozilla/delete-result-expected.txt:
+        * storage/indexeddb/mozilla/event-source-expected.txt:
+        * storage/indexeddb/mozilla/global-data-expected.txt:
+        * storage/indexeddb/mozilla/index-prev-no-duplicate-expected.txt:
+        * storage/indexeddb/mozilla/index-prev-no-duplicate.html:
+        * storage/indexeddb/mozilla/indexes-expected.txt:
+        * storage/indexeddb/mozilla/key-requirements-delete-null-key-expected.txt:
+        * storage/indexeddb/mozilla/key-requirements-expected.txt:
+        * storage/indexeddb/mozilla/key-requirements-inline-and-passed-expected.txt:
+        * storage/indexeddb/mozilla/key-requirements-put-no-key-expected.txt:
+        * storage/indexeddb/mozilla/key-requirements-put-null-key-expected.txt:
+        * storage/indexeddb/mozilla/object-cursors-expected.txt:
+        * storage/indexeddb/mozilla/object-identity-expected.txt:
+        * storage/indexeddb/mozilla/object-store-inline-autoincrement-key-added-on-put-expected.txt:
+        * storage/indexeddb/mozilla/object-store-remove-values-expected.txt:
+        * storage/indexeddb/mozilla/objectstorenames-expected.txt:
+        * storage/indexeddb/mozilla/odd-result-order-expected.txt:
+        * storage/indexeddb/mozilla/put-get-values-expected.txt:
+        * storage/indexeddb/mozilla/readonly-transactions-expected.txt:
+        * storage/indexeddb/mozilla/readwrite-transactions-expected.txt:
+        * storage/indexeddb/mozilla/readyState-expected.txt:
+        * storage/indexeddb/mozilla/remove-index-expected.txt:
+        * storage/indexeddb/mozilla/remove-objectstore-expected.txt:
+        * storage/indexeddb/mozilla/resources/add-twice-failure.js:
+        (test):
+        * storage/indexeddb/mozilla/resources/autoincrement-indexes.js:
+        (test):
+        * storage/indexeddb/mozilla/resources/bad-keypath.js:
+        (test):
+        * storage/indexeddb/mozilla/resources/clear.js:
+        (test):
+        * storage/indexeddb/mozilla/resources/create-index-unique.js:
+        (test):
+        * storage/indexeddb/mozilla/resources/create-index-with-integer-keys.js:
+        (test):
+        * storage/indexeddb/mozilla/resources/create-objectstore-basics.js:
+        (test):
+        * storage/indexeddb/mozilla/resources/create-objectstore-null-name.js:
+        (test):
+        * storage/indexeddb/mozilla/resources/cursor-mutation-objectstore-only.js:
+        (test):
+        * storage/indexeddb/mozilla/resources/cursor-update-updates-indexes.js:
+        (test):
+        * storage/indexeddb/mozilla/resources/cursors.js:
+        (test):
+        * storage/indexeddb/mozilla/resources/delete-result.js:
+        (test):
+        * storage/indexeddb/mozilla/resources/event-source.js:
+        (test):
+        * storage/indexeddb/mozilla/resources/global-data.js:
+        (test):
+        (cleanDatabase):
+        * storage/indexeddb/mozilla/resources/indexes.js:
+        (test):
+        * storage/indexeddb/mozilla/resources/key-requirements-delete-null-key.js:
+        (test):
+        * storage/indexeddb/mozilla/resources/key-requirements-inline-and-passed.js:
+        (test):
+        * storage/indexeddb/mozilla/resources/key-requirements-put-no-key.js:
+        (test):
+        * storage/indexeddb/mozilla/resources/key-requirements-put-null-key.js:
+        (test):
+        * storage/indexeddb/mozilla/resources/key-requirements.js:
+        (test):
+        * storage/indexeddb/mozilla/resources/object-cursors.js:
+        (test):
+        * storage/indexeddb/mozilla/resources/object-identity.js:
+        (test):
+        * storage/indexeddb/mozilla/resources/object-store-inline-autoincrement-key-added-on-put.js:
+        (test):
+        * storage/indexeddb/mozilla/resources/object-store-remove-values.js:
+        (test):
+        * storage/indexeddb/mozilla/resources/objectstorenames.js:
+        (test):
+        * storage/indexeddb/mozilla/resources/odd-result-order.js:
+        (test):
+        * storage/indexeddb/mozilla/resources/put-get-values.js:
+        (test):
+        * storage/indexeddb/mozilla/resources/readonly-transactions.js:
+        (test):
+        * storage/indexeddb/mozilla/resources/readwrite-transactions.js:
+        (test):
+        * storage/indexeddb/mozilla/resources/readyState.js:
+        (test):
+        * storage/indexeddb/mozilla/resources/remove-index.js:
+        (test):
+        * storage/indexeddb/mozilla/resources/remove-objectstore.js:
+        (test):
+        * storage/indexeddb/mozilla/resources/versionchange-abort.js:
+        (test):
+        * storage/indexeddb/mozilla/resources/versionchange.js:
+        (test):
+        (openSuccess):
+        (postSetVersion):
+        * storage/indexeddb/mozilla/versionchange-abort-expected.txt:
+        * storage/indexeddb/mozilla/versionchange-expected.txt:
+
 2012-06-15  Joshua Bell  <jsbell@chromium.org>
 
         IndexedDB: Raise exceptions when methods are called on deleted objects
index a65c5fa..518cca9 100644 (file)
@@ -5,7 +5,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 
 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
 
-indexedDB.open(name, description)
+indexedDB.open(name)
 db = event.target.result
 request = db.setVersion('1')
 Deleted all object stores.
index 4f3d880..f945374 100644 (file)
@@ -5,7 +5,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 
 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
 
-indexedDB.open(name, description)
+indexedDB.open(name)
 db = event.target.result
 request = db.setVersion('1')
 Deleted all object stores.
index 110e716..8318137 100644 (file)
@@ -5,7 +5,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 
 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
 
-indexedDB.open(name, description)
+indexedDB.open(name)
 db = event.target.result
 request = db.setVersion('1')
 Deleted all object stores.
index d22d862..7d480ee 100644 (file)
@@ -5,7 +5,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 
 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
 
-indexedDB.open(name, description)
+indexedDB.open(name)
 db = event.target.result
 request = db.setVersion('1')
 Deleted all object stores.
index aa09c4b..7fd8b26 100644 (file)
@@ -5,7 +5,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 
 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
 
-indexedDB.open(name, description)
+indexedDB.open(name)
 db = event.target.result
 request = db.setVersion('1')
 Deleted all object stores.
index a3a8739..5e484d2 100644 (file)
@@ -5,7 +5,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 
 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
 
-indexedDB.open(name, description)
+indexedDB.open(name)
 db = event.target.result
 request = db.setVersion('1')
 Deleted all object stores.
index 1641192..2fb0d0e 100644 (file)
@@ -5,7 +5,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 
 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
 
-indexedDB.open(name, description)
+indexedDB.open(name)
 db = event.target.result
 request = db.setVersion('1')
 Deleted all object stores.
index a306061..32c9d20 100644 (file)
@@ -5,7 +5,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 
 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
 
-indexedDB.open(name, description)
+indexedDB.open(name)
 db = event.target.result
 request = db.setVersion('1')
 Deleted all object stores.
index d14898b..68de83f 100644 (file)
@@ -5,7 +5,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 
 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
 
-indexedDB.open(name, description)
+indexedDB.open(name)
 openSuccess():
 db = event.target.result
 request = db.setVersion('1')
index 65a89ad..4110d4c 100644 (file)
@@ -5,7 +5,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 
 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
 
-indexedDB.open(name, description)
+indexedDB.open(name)
 openSuccess():
 db = event.target.result
 firstValue = 'hi';
index 09c3528..2b83fac 100644 (file)
@@ -5,7 +5,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 
 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
 
-indexedDB.open(name, description)
+indexedDB.open(name)
 db = event.target.result
 request = db.setVersion('1')
 Deleted all object stores.
index 4fbc0e0..fc1a336 100644 (file)
@@ -5,7 +5,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 
 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
 
-indexedDB.open(name, description)
+indexedDB.open(name)
 db = event.target.result
 request = db.setVersion('1')
 Deleted all object stores.
index 2cf2586..9cf35e0 100644 (file)
@@ -5,7 +5,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 
 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
 
-indexedDB.open(name, description)
+indexedDB.open(name)
 source = event.target.source;
 PASS source is indexedDB
 db = event.target.result
index 1ffdff6..a47e384 100644 (file)
@@ -5,12 +5,12 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 
 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
 
-indexedDB.open(name, description)
+indexedDB.open(name)
 db1 = event.target.result
 request = db1.setVersion('1')
 Deleted all object stores.
 db1.createObjectStore(objectStoreName, objectStoreOptions);
-indexedDB.open(name, description);
+indexedDB.open(name);
 db2 = event.target.result
 PASS db1 !== db2 is true
 PASS db1.objectStoreNames.length is 1
index 690d8ae..7c7ee6a 100644 (file)
@@ -13,7 +13,7 @@ IDBCursor = window.IDBCursor || window.webkitIDBCursor;
 PASS IDBCursor == null is false
 IDBKeyRange = window.IDBKeyRange || window.webkitIDBKeyRange;
 PASS IDBKeyRange == null is false
-indexedDB.open(name, description)
+indexedDB.open(name)
 openSuccess():
 db = event.target.result
 request = db.setVersion('1')
index 7a7b642..fb99f94 100644 (file)
@@ -34,8 +34,7 @@ function test()
     shouldBeFalse("IDBKeyRange == null");
 
     name = window.location.pathname;
-    description = "My Test Database";
-    request = evalAndLog("indexedDB.open(name, description)");
+    request = evalAndLog("indexedDB.open(name)");
     request.onsuccess = openSuccess;
     request.onerror = unexpectedErrorCallback;
 }
index 262c04a..b08cb04 100644 (file)
@@ -5,7 +5,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 
 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
 
-indexedDB.open(name, description)
+indexedDB.open(name)
 openSuccess():
 db = event.target.result
 request = db.setVersion('1')
index 97f1287..1b20c0e 100644 (file)
@@ -5,7 +5,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 
 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
 
-indexedDB.open(name, description)
+indexedDB.open(name)
 db = event.target.result
 request = db.setVersion('version 1')
 Deleted all object stores.
index 46ed675..3645690 100644 (file)
@@ -5,7 +5,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 
 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
 
-indexedDB.open(name, description)
+indexedDB.open(name)
 db = event.target.result
 request = db.setVersion('1')
 Deleted all object stores.
index 4c44561..552ad0c 100644 (file)
@@ -5,7 +5,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 
 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
 
-indexedDB.open(name, description)
+indexedDB.open(name)
 openSuccess():
 db = event.target.result
 request = db.setVersion('version 1')
index b98993b..426f3cf 100644 (file)
@@ -5,7 +5,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 
 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
 
-indexedDB.open(name, description)
+indexedDB.open(name)
 db = event.target.result
 request = db.setVersion('1')
 Deleted all object stores.
index 02cf3e6..beb2edc 100644 (file)
@@ -5,7 +5,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 
 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
 
-indexedDB.open(name, description)
+indexedDB.open(name)
 db = event.target.result
 request = db.setVersion('1')
 Deleted all object stores.
index 3ce44e0..c4e6c6d 100644 (file)
@@ -5,7 +5,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 
 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
 
-indexedDB.open(name, description)
+indexedDB.open(name)
 db = event.target.result
 request = db.setVersion('1')
 Deleted all object stores.
index 418a1cb..476fbec 100644 (file)
@@ -5,7 +5,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 
 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
 
-indexedDB.open(name, description)
+indexedDB.open(name)
 db = event.target.result
 request = db.setVersion('1')
 transaction = event.target.transaction;
index fd68505..5ac16cd 100644 (file)
@@ -5,7 +5,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 
 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
 
-indexedDB.open(name, description)
+indexedDB.open(name)
 db = event.target.result
 request = db.setVersion('1')
 Deleted all object stores.
index 40cf8f0..64bcda8 100644 (file)
@@ -5,7 +5,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 
 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
 
-indexedDB.open(name, description)
+indexedDB.open(name)
 db = event.target.result
 data = [
         { name: 'inline key; key generator',
index 281ed5c..a403dbc 100644 (file)
@@ -5,7 +5,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 
 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
 
-indexedDB.open(name, description)
+indexedDB.open(name)
 db = event.target.result
 request = db.setVersion('1')
 Deleted all object stores.
index 0ab1021..faa9f80 100644 (file)
@@ -5,7 +5,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 
 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
 
-indexedDB.open(name, description)
+indexedDB.open(name)
 openSuccess():
 db = null;
 db = request.result;
index e238ab7..a9f2cec 100644 (file)
@@ -5,7 +5,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 
 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
 
-indexedDB.open(name, description)
+indexedDB.open(name)
 db = event.target.result
 request = db.setVersion('1')
 Deleted all object stores.
index 89e6150..e8cc8fb 100644 (file)
@@ -5,7 +5,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 
 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
 
-indexedDB.open(name, description)
+indexedDB.open(name)
 db = event.target.result
 request = db.setVersion('1')
 Deleted all object stores.
index abf0164..4227762 100644 (file)
@@ -5,7 +5,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 
 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
 
-indexedDB.open(name, description)
+indexedDB.open(name)
 db = event.target.result
 request = db.setVersion('1')
 Deleted all object stores.
index 08779c0..442972f 100644 (file)
@@ -5,7 +5,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 
 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
 
-indexedDB.open(name, description)
+indexedDB.open(name)
 PASS request.readyState is 'pending'
 openSuccess():
 PASS request.readyState is 'done'
index 8ec3fb0..6a42cdb 100644 (file)
@@ -5,7 +5,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 
 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
 
-indexedDB.open(name, description)
+indexedDB.open(name)
 db = event.target.result
 request = db.setVersion('1')
 Deleted all object stores.
index ce83451..f818913 100644 (file)
@@ -5,7 +5,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 
 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
 
-indexedDB.open(name, description)
+indexedDB.open(name)
 db = event.target.result
 PASS db.objectStoreNames.length is 0
 request = db.setVersion('1')
index baef392..29e3d58 100644 (file)
@@ -16,8 +16,7 @@ function test()
     removeVendorPrefixes();
 
     name = self.location.pathname;
-    description = "My Test Database";
-    request = evalAndLog("indexedDB.open(name, description)");
+    request = evalAndLog("indexedDB.open(name)");
     request.onsuccess = openSuccess;
     request.onerror = unexpectedErrorCallback;
 }
index 0212f09..1c85984 100644 (file)
@@ -16,8 +16,7 @@ function test()
     removeVendorPrefixes();
 
     name = self.location.pathname;
-    description = "My Test Database";
-    request = evalAndLog("indexedDB.open(name, description)");
+    request = evalAndLog("indexedDB.open(name)");
     request.onsuccess = openSuccess;
     request.onerror = unexpectedErrorCallback;
 }
index da0650f..d3eb0b2 100644 (file)
@@ -16,8 +16,7 @@ function test()
     removeVendorPrefixes();
 
     name = self.location.pathname;
-    description = "My Test Database";
-    request = evalAndLog("indexedDB.open(name, description)");
+    request = evalAndLog("indexedDB.open(name)");
     request.onsuccess = openSuccess;
     request.onerror = unexpectedErrorCallback;
 }
index 24ca753..2b1bb9c 100644 (file)
@@ -16,8 +16,7 @@ function test()
     removeVendorPrefixes();
 
     name = self.location.pathname;
-    description = "My Test Database";
-    request = evalAndLog("indexedDB.open(name, description)");
+    request = evalAndLog("indexedDB.open(name)");
     request.onsuccess = openSuccess;
     request.onerror = unexpectedErrorCallback;
 }
index a6fd289..e6a0e19 100644 (file)
@@ -16,8 +16,7 @@ function test()
     removeVendorPrefixes();
 
     name = self.location.pathname;
-    description = "My Test Database";
-    request = evalAndLog("indexedDB.open(name, description)");
+    request = evalAndLog("indexedDB.open(name)");
     request.onsuccess = openSuccess;
     request.onerror = unexpectedErrorCallback;
 }
index 343e4c5..c0d8ab1 100644 (file)
@@ -16,8 +16,7 @@ function test()
     removeVendorPrefixes();
 
     name = self.location.pathname;
-    description = "My Test Database";
-    request = evalAndLog("indexedDB.open(name, description)");
+    request = evalAndLog("indexedDB.open(name)");
     request.onsuccess = openSuccess;
     request.onerror = unexpectedErrorCallback;
 }
index 0bac0d5..4a78788 100644 (file)
@@ -16,8 +16,7 @@ function test()
     removeVendorPrefixes();
 
     name = self.location.pathname;
-    description = "My Test Database";
-    request = evalAndLog("indexedDB.open(name, description)");
+    request = evalAndLog("indexedDB.open(name)");
     request.onsuccess = openSuccess;
     request.onerror = unexpectedErrorCallback;
 }
index 3c26690..cb1bd20 100644 (file)
@@ -16,8 +16,7 @@ function test()
     removeVendorPrefixes();
 
     name = self.location.pathname;
-    description = "My Test Database";
-    request = evalAndLog("indexedDB.open(name, description)");
+    request = evalAndLog("indexedDB.open(name)");
     request.onsuccess = openSuccess;
     request.onerror = unexpectedErrorCallback;
 }
index cf9d6ad..247c0d2 100644 (file)
@@ -16,8 +16,7 @@ function test()
     removeVendorPrefixes();
 
     name = self.location.pathname;
-    description = "My Test Database";
-    request = evalAndLog("indexedDB.open(name, description)");
+    request = evalAndLog("indexedDB.open(name)");
     request.onsuccess = openSuccess;
     request.onerror = unexpectedErrorCallback;
 }
index 95b039a..c9b9341 100644 (file)
@@ -16,8 +16,7 @@ function test()
     removeVendorPrefixes();
 
     name = self.location.pathname;
-    description = "My Test Database";
-    request = evalAndLog("indexedDB.open(name, description)");
+    request = evalAndLog("indexedDB.open(name)");
     request.onsuccess = openSuccess;
     request.onerror = unexpectedErrorCallback;
 }
index b755e5d..18897da 100644 (file)
@@ -16,8 +16,7 @@ function test()
     removeVendorPrefixes();
 
     name = self.location.pathname;
-    description = "My Test Database";
-    request = evalAndLog("indexedDB.open(name, description)");
+    request = evalAndLog("indexedDB.open(name)");
     request.onsuccess = openSuccess;
     request.onerror = unexpectedErrorCallback;
 }
index bf6fd20..6faa240 100644 (file)
@@ -16,8 +16,7 @@ function test()
     removeVendorPrefixes();
 
     name = self.location.pathname;
-    description = "My Test Database";
-    request = evalAndLog("indexedDB.open(name, description)");
+    request = evalAndLog("indexedDB.open(name)");
     request.onsuccess = openSuccess;
     request.onerror = unexpectedErrorCallback;
 }
index 4a796c5..c7493c6 100644 (file)
@@ -16,8 +16,7 @@ function test()
     removeVendorPrefixes();
 
     name = self.location.pathname;
-    description = "My Test Database";
-    request = evalAndLog("indexedDB.open(name, description)");
+    request = evalAndLog("indexedDB.open(name)");
     request.onsuccess = openSuccess;
     request.onerror = unexpectedErrorCallback;
 }
index c0e9bae..00fdca1 100644 (file)
@@ -16,8 +16,7 @@ function test()
     removeVendorPrefixes();
 
     name = self.location.pathname;
-    description = "My Test Database";
-    request = evalAndLog("indexedDB.open(name, description)");
+    request = evalAndLog("indexedDB.open(name)");
     request.onsuccess = openSuccess;
     request.onerror = unexpectedErrorCallback;
 }
@@ -39,7 +38,7 @@ function cleanDatabase()
     objectStoreOptions = { keyPath: 'id', autoIncrement: true };
     evalAndLog("db1.createObjectStore(objectStoreName, objectStoreOptions);");
 
-    request = evalAndLog("indexedDB.open(name, description);");
+    request = evalAndLog("indexedDB.open(name);");
     request.onsuccess = open2Success;
     request.onerror = unexpectedErrorCallback;
 }
index 226b818..4f75c2d 100644 (file)
@@ -16,8 +16,7 @@ function test()
     removeVendorPrefixes();
 
     name = self.location.pathname;
-    description = "My Test Database";
-    request = evalAndLog("indexedDB.open(name, description)");
+    request = evalAndLog("indexedDB.open(name)");
     request.onsuccess = openSuccess;
     request.onerror = unexpectedErrorCallback;
 }
index f9dda92..ff062c3 100644 (file)
@@ -16,8 +16,7 @@ function test()
     removeVendorPrefixes();
 
     name = self.location.pathname;
-    description = "My Test Database";
-    request = evalAndLog("indexedDB.open(name, description)");
+    request = evalAndLog("indexedDB.open(name)");
     request.onsuccess = openSuccess;
     request.onerror = unexpectedErrorCallback;
 }
index 3b24ed2..287a800 100644 (file)
@@ -16,8 +16,7 @@ function test()
     removeVendorPrefixes();
 
     name = self.location.pathname;
-    description = "My Test Database";
-    request = evalAndLog("indexedDB.open(name, description)");
+    request = evalAndLog("indexedDB.open(name)");
     request.onsuccess = openSuccess;
     request.onerror = unexpectedErrorCallback;
 }
index 3af147d..46764ce 100644 (file)
@@ -16,8 +16,7 @@ function test()
     removeVendorPrefixes();
 
     name = self.location.pathname;
-    description = "My Test Database";
-    request = evalAndLog("indexedDB.open(name, description)");
+    request = evalAndLog("indexedDB.open(name)");
     request.onsuccess = openSuccess;
     request.onerror = unexpectedErrorCallback;
 }
index dab588c..8e0e747 100644 (file)
@@ -16,8 +16,7 @@ function test()
     removeVendorPrefixes();
 
     name = self.location.pathname;
-    description = "My Test Database";
-    request = evalAndLog("indexedDB.open(name, description)");
+    request = evalAndLog("indexedDB.open(name)");
     request.onsuccess = openSuccess;
     request.onerror = unexpectedErrorCallback;
 }
index b92086a..072c54f 100644 (file)
@@ -16,8 +16,7 @@ function test()
     removeVendorPrefixes();
 
     name = self.location.pathname;
-    description = "My Test Database";
-    request = evalAndLog("indexedDB.open(name, description)");
+    request = evalAndLog("indexedDB.open(name)");
     request.onsuccess = openSuccess;
     request.onerror = unexpectedErrorCallback;
 }
index ddfc4f5..93da208 100644 (file)
@@ -16,8 +16,7 @@ function test()
     removeVendorPrefixes();
 
     name = self.location.pathname;
-    description = "My Test Database";
-    request = evalAndLog("indexedDB.open(name, description)");
+    request = evalAndLog("indexedDB.open(name)");
     request.onsuccess = openSuccess;
     request.onerror = unexpectedErrorCallback;
 }
index a5b3335..b39cda4 100644 (file)
@@ -16,8 +16,7 @@ function test()
     removeVendorPrefixes();
 
     name = self.location.pathname;
-    description = "My Test Database";
-    request = evalAndLog("indexedDB.open(name, description)");
+    request = evalAndLog("indexedDB.open(name)");
     request.onsuccess = openSuccess;
     request.onerror = unexpectedErrorCallback;
 }
index e7fda06..d79a77f 100644 (file)
@@ -16,8 +16,7 @@ function test()
     removeVendorPrefixes();
 
     name = self.location.pathname;
-    description = "My Test Database";
-    request = evalAndLog("indexedDB.open(name, description)");
+    request = evalAndLog("indexedDB.open(name)");
     request.onsuccess = openSuccess;
     request.onerror = unexpectedErrorCallback;
 }
index d66111f..40df339 100644 (file)
@@ -16,8 +16,7 @@ function test()
     removeVendorPrefixes();
 
     name = self.location.pathname;
-    description = "My Test Database";
-    request = evalAndLog("indexedDB.open(name, description)");
+    request = evalAndLog("indexedDB.open(name)");
     request.onsuccess = openSuccess;
     request.onerror = unexpectedErrorCallback;
 }
index 95452ee..3f5a102 100644 (file)
@@ -16,8 +16,7 @@ function test()
     removeVendorPrefixes();
 
     name = self.location.pathname;
-    description = "My Test Database";
-    request = evalAndLog("indexedDB.open(name, description)");
+    request = evalAndLog("indexedDB.open(name)");
     request.onsuccess = openSuccess;
     request.onerror = unexpectedErrorCallback;
 }
index 47b10fc..36f85cb 100644 (file)
@@ -16,8 +16,7 @@ function test()
     removeVendorPrefixes();
 
     name = self.location.pathname;
-    description = "My Test Database";
-    request = evalAndLog("indexedDB.open(name, description)");
+    request = evalAndLog("indexedDB.open(name)");
     request.onsuccess = openSuccess;
     request.onerror = unexpectedErrorCallback;
 }
index 48d0c33..6e5b890 100644 (file)
@@ -15,7 +15,6 @@ function test()
 {
     removeVendorPrefixes();
 
-    description = "My Test Database";
     request = evalAndLog("indexedDB.open(null);");
     request.onsuccess = openSuccess;
     request.onerror = unexpectedErrorCallback;
index d84c8e6..e4306bb 100644 (file)
@@ -16,8 +16,7 @@ function test()
     removeVendorPrefixes();
 
     name = self.location.pathname;
-    description = "My Test Database";
-    request = evalAndLog("indexedDB.open(name, description)");
+    request = evalAndLog("indexedDB.open(name)");
     request.onsuccess = openSuccess;
     request.onerror = unexpectedErrorCallback;
 }
index e92ede7..4a943be 100644 (file)
@@ -16,8 +16,7 @@ function test()
     removeVendorPrefixes();
 
     name = self.location.pathname;
-    description = "My Test Database";
-    request = evalAndLog("indexedDB.open(name, description)");
+    request = evalAndLog("indexedDB.open(name)");
     request.onsuccess = openSuccess;
     request.onerror = unexpectedErrorCallback;
 }
index 2978406..aafa6f3 100644 (file)
@@ -16,8 +16,7 @@ function test()
     removeVendorPrefixes();
 
     name = self.location.pathname;
-    description = "My Test Database";
-    request = evalAndLog("indexedDB.open(name, description)");
+    request = evalAndLog("indexedDB.open(name)");
     request.onsuccess = openSuccess;
     request.onerror = unexpectedErrorCallback;
 }
index 46c5b84..b44e55f 100644 (file)
@@ -16,8 +16,7 @@ function test()
     removeVendorPrefixes();
 
     name = self.location.pathname;
-    description = "My Test Database";
-    request = evalAndLog("indexedDB.open(name, description)");
+    request = evalAndLog("indexedDB.open(name)");
     shouldBe("request.readyState", "'pending'");
     request.onsuccess = openSuccess;
     request.onerror = unexpectedErrorCallback;
index 1dcc848..496dda6 100644 (file)
@@ -16,8 +16,7 @@ function test()
     removeVendorPrefixes();
 
     name = self.location.pathname;
-    description = "My Test Database";
-    request = evalAndLog("indexedDB.open(name, description)");
+    request = evalAndLog("indexedDB.open(name)");
     request.onsuccess = openSuccess;
     request.onerror = unexpectedErrorCallback;
 }
index 9c8569a..fb8c0f1 100644 (file)
@@ -16,8 +16,7 @@ function test()
     removeVendorPrefixes();
 
     name = self.location.pathname;
-    description = "My Test Database";
-    request = evalAndLog("indexedDB.open(name, description)");
+    request = evalAndLog("indexedDB.open(name)");
     request.onsuccess = openSuccess;
     request.onerror = unexpectedErrorCallback;
 }
index 43ea2cc..e036a05 100644 (file)
@@ -16,8 +16,7 @@ function test()
     removeVendorPrefixes();
 
     name = self.location.pathname;
-    description = "My Test Database";
-    request = evalAndLog("indexedDB.open(name, description)");
+    request = evalAndLog("indexedDB.open(name)");
     request.onsuccess = openSuccess;
     request.onerror = unexpectedErrorCallback;
 }
index bde2b90..f01909f 100644 (file)
@@ -16,8 +16,7 @@ function test()
     removeVendorPrefixes();
 
     name = self.location.pathname;
-    description = "My Test Database";
-    request = evalAndLog("indexedDB.open(name, description)");
+    request = evalAndLog("indexedDB.open(name)");
     request.onsuccess = openSuccess;
     request.onerror = unexpectedErrorCallback;
 }
@@ -35,7 +34,7 @@ function openSuccess()
         debug("close db1 now so versionchange doesn't trigger on db1 again when we call db3.setVersion");
         evalAndLog("db1.close();");
     };
-    request = evalAndLog("indexedDB.open(name, description)");
+    request = evalAndLog("indexedDB.open(name)");
     request.onerror = unexpectedErrorCallback;
     request.onsuccess = openSuccess2;
 }
@@ -67,7 +66,7 @@ function postSetVersion()
     shouldBe("event.target.transaction.mode", "'versionchange'");
     shouldBe("db2.version", "'1'");
 
-    request = evalAndLog("request = indexedDB.open(name, description);");
+    request = evalAndLog("request = indexedDB.open(name);");
     request.onerror = unexpectedErrorCallback;
     request.onsuccess = openSuccess3;
 }
index 6d98390..9f202bf 100644 (file)
@@ -5,7 +5,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 
 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
 
-indexedDB.open(name, description)
+indexedDB.open(name)
 db = event.target.result
 initialVersion = db.version;
 request = db.setVersion('2')
index 5e06d9f..2e0596e 100644 (file)
@@ -5,11 +5,11 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 
 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
 
-indexedDB.open(name, description)
+indexedDB.open(name)
 db1 = event.target.result
 versionChangeEventCount = 0;
 db1 will be open when we call db2.setVersion, which will trigger versionchange on db1
-indexedDB.open(name, description)
+indexedDB.open(name)
 db2 = event.target.result
 db2 will be open when we call db3.setVersion, which will trigger versionchange on db2
 request = db2.setVersion('1')
@@ -22,7 +22,7 @@ PASS db2 received blocked event
 PASS event.target.result is event.target.transaction
 PASS event.target.transaction.mode is 'versionchange'
 PASS db2.version is '1'
-request = indexedDB.open(name, description);
+request = indexedDB.open(name);
 db3 = event.target.result;
 request = db3.setVersion('2');
 this request will block because db2 is still open