Bug 1507426 [wpt PR 14068] - Remove timeout in async_test for IndexedDB tests, a=testonly
authorqiuzhong <zhongx.qiu@intel.com>
Mon, 19 Nov 2018 18:45:06 +0000
changeset 447537 3354122584d671840a0710dc7cd84aaa100a5bf0
parent 447536 8b973a18f396fa7b6daa8635684ef494b6523ccd
child 447538 46472549acb6dbe8d195bb7c7364f0db31f4144e
push id35082
push userccoroiu@mozilla.com
push dateWed, 21 Nov 2018 21:44:21 +0000
treeherdermozilla-central@fbd97100c83c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1507426, 14068, 11120
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1507426 [wpt PR 14068] - Remove timeout in async_test for IndexedDB tests, a=testonly Automatic update from web-platform-testsRemove timeout in async_test for IndexedDB tests Remove all the timeout parameters in async_test for IndexedDB tests. Affected tests: 44, Pass: 44, Failed: 0 Related: #11120 -- wpt-commits: c7c8c373d49baba4721e7800525b1699bf67ac7e wpt-pr: 14068
testing/web-platform/tests/IndexedDB/idbcursor_advance_index2.htm
testing/web-platform/tests/IndexedDB/idbcursor_advance_index3.htm
testing/web-platform/tests/IndexedDB/idbcursor_advance_index5.htm
testing/web-platform/tests/IndexedDB/idbcursor_continue_index5.htm
testing/web-platform/tests/IndexedDB/idbcursor_continue_index6.htm
testing/web-platform/tests/IndexedDB/idbcursor_continue_invalid.htm
testing/web-platform/tests/IndexedDB/idbcursor_iterating.htm
testing/web-platform/tests/IndexedDB/idbcursor_iterating_index.htm
testing/web-platform/tests/IndexedDB/idbcursor_iterating_index2.htm
testing/web-platform/tests/IndexedDB/idbcursor_iterating_objectstore.htm
testing/web-platform/tests/IndexedDB/idbcursor_iterating_objectstore2.htm
testing/web-platform/tests/IndexedDB/idbcursor_update_objectstore4.htm
testing/web-platform/tests/IndexedDB/idbdatabase_createObjectStore10-1000ends.htm
testing/web-platform/tests/IndexedDB/idbdatabase_createObjectStore7.htm
testing/web-platform/tests/IndexedDB/idbdatabase_deleteObjectStore4-not_reused.htm
testing/web-platform/tests/IndexedDB/idbdatabase_transaction4.htm
testing/web-platform/tests/IndexedDB/idbfactory_deleteDatabase3.htm
testing/web-platform/tests/IndexedDB/idbfactory_open10.htm
testing/web-platform/tests/IndexedDB/idbfactory_open11.htm
testing/web-platform/tests/IndexedDB/idbfactory_open12.htm
testing/web-platform/tests/IndexedDB/idbindex-multientry-arraykeypath.htm
testing/web-platform/tests/IndexedDB/idbindex-multientry-big.htm
testing/web-platform/tests/IndexedDB/idbindex-multientry.htm
testing/web-platform/tests/IndexedDB/idbindex_indexNames.htm
testing/web-platform/tests/IndexedDB/idbobjectstore_createIndex3-usable-right-away.htm
testing/web-platform/tests/IndexedDB/idbobjectstore_createIndex4-deleteIndex-event_order.htm
testing/web-platform/tests/IndexedDB/idbobjectstore_createIndex5-emptykeypath.htm
testing/web-platform/tests/IndexedDB/idbobjectstore_createIndex6-event_order.htm
testing/web-platform/tests/IndexedDB/idbobjectstore_createIndex7-event_order.htm
testing/web-platform/tests/IndexedDB/idbobjectstore_createIndex8-valid_keys.htm
testing/web-platform/tests/IndexedDB/idbobjectstore_deleted.htm
testing/web-platform/tests/IndexedDB/idbtransaction-oncomplete.htm
testing/web-platform/tests/IndexedDB/idbtransaction_abort.htm
testing/web-platform/tests/IndexedDB/idbversionchangeevent.htm
testing/web-platform/tests/IndexedDB/keygenerator-constrainterror.htm
testing/web-platform/tests/IndexedDB/keygenerator-overflow.htm
testing/web-platform/tests/IndexedDB/keyorder.htm
testing/web-platform/tests/IndexedDB/keypath_maxsize.htm
testing/web-platform/tests/IndexedDB/request_bubble-and-capture.htm
testing/web-platform/tests/IndexedDB/transaction-lifetime-blocked.htm
testing/web-platform/tests/IndexedDB/transaction-lifetime.htm
testing/web-platform/tests/IndexedDB/transaction-requestqueue.htm
testing/web-platform/tests/IndexedDB/transaction_bubble-and-capture.htm
testing/web-platform/tests/IndexedDB/writer-starvation.htm
--- a/testing/web-platform/tests/IndexedDB/idbcursor_advance_index2.htm
+++ b/testing/web-platform/tests/IndexedDB/idbcursor_advance_index2.htm
@@ -5,17 +5,17 @@
 <link rel=assert title="The value passed into the count parameter was zero or a negative number.">
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <script src="support.js"></script>
 
 <script>
 
     var db,
-      t = async_test(document.title, {timeout: 10000}),
+      t = async_test(document.title),
       records = [ { pKey: "primaryKey_0", iKey: "indexKey_0" },
                   { pKey: "primaryKey_1", iKey: "indexKey_1" } ];
 
     var open_rq = createdb(t);
     open_rq.onupgradeneeded = function(e) {
         db = e.target.result;
         var objStore = db.createObjectStore("test", {keyPath:"pKey"});
 
--- a/testing/web-platform/tests/IndexedDB/idbcursor_advance_index3.htm
+++ b/testing/web-platform/tests/IndexedDB/idbcursor_advance_index3.htm
@@ -5,17 +5,17 @@
 <link rel=assert title="The value passed into the count parameter was zero or a negative number.">
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <script src="support.js"></script>
 
 <script type="text/javascript">
 
     var db,
-      t = async_test(document.title, {timeout: 10000}),
+      t = async_test(document.title),
       records = [ { pKey: "primaryKey_0", iKey: "indexKey_0" },
                   { pKey: "primaryKey_1", iKey: "indexKey_1" } ];
 
     var open_rq = createdb(t);
     open_rq.onupgradeneeded = function(e) {
         db = e.target.result;
         var objStore = db.createObjectStore("test", { keyPath:"pKey" });
 
--- a/testing/web-platform/tests/IndexedDB/idbcursor_advance_index5.htm
+++ b/testing/web-platform/tests/IndexedDB/idbcursor_advance_index5.htm
@@ -6,17 +6,17 @@
 <link rel=assert title="The number of advances forward the cursor should make.">
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <script src="support.js"></script>
 
 <script>
     var db,
       count = 0,
-      t = async_test(document.title, {timeout: 10000}),
+      t = async_test(document.title),
       records = [ { pKey: "primaryKey_0",   iKey: "indexKey_0" },
                   { pKey: "primaryKey_1",   iKey: "indexKey_1" },
                   { pKey: "primaryKey_1-2", iKey: "indexKey_1" } ],
       expected = [ { pKey: "primaryKey_0",   iKey: "indexKey_0" },
                    { pKey: "primaryKey_1-2", iKey: "indexKey_1" } ];
 
     var open_rq = createdb(t);
     open_rq.onupgradeneeded = function(e) {
--- a/testing/web-platform/tests/IndexedDB/idbcursor_continue_index5.htm
+++ b/testing/web-platform/tests/IndexedDB/idbcursor_continue_index5.htm
@@ -6,17 +6,17 @@
 <link rel=assert title="If position is defined, the record's key is less than position.">
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <script src="support.js"></script>
 
 <script>
 
     var db,
-      t = async_test(document.title, {timeout: 10000}),
+      t = async_test(document.title),
       records = [ { pKey: "primaryKey_0",   iKey: "indexKey_0" },
                   { pKey: "primaryKey_1",   iKey: "indexKey_1" },
                   { pKey: "primaryKey_1-2", iKey: "indexKey_1" },
                   { pKey: "primaryKey_2",   iKey: "indexKey_2" } ],
 
       expected = [ { pKey: "primaryKey_2",   iKey: "indexKey_2" },
                  { pKey: "primaryKey_1",   iKey: "indexKey_1" },
                  { pKey: "primaryKey_0",   iKey: "indexKey_0" } ];
--- a/testing/web-platform/tests/IndexedDB/idbcursor_continue_index6.htm
+++ b/testing/web-platform/tests/IndexedDB/idbcursor_continue_index6.htm
@@ -6,17 +6,17 @@
 <link rel=assert title="If position is defined, the record's key is greater than position.">
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <script src="support.js"></script>
 
 <script>
 
     var db,
-      t = async_test(document.title, {timeout: 10000}),
+      t = async_test(document.title),
       records = [ { pKey: "primaryKey_0",   iKey: "indexKey_0" },
                   { pKey: "primaryKey_1",   iKey: "indexKey_1" },
                   { pKey: "primaryKey_1-2", iKey: "indexKey_1" },
                   { pKey: "primaryKey_2",   iKey: "indexKey_2" } ],
 
       expected = [ { pKey: "primaryKey_0",   iKey: "indexKey_0" },
                  { pKey: "primaryKey_1",   iKey: "indexKey_1" },
                  { pKey: "primaryKey_2",   iKey: "indexKey_2" } ];
--- a/testing/web-platform/tests/IndexedDB/idbcursor_continue_invalid.htm
+++ b/testing/web-platform/tests/IndexedDB/idbcursor_continue_invalid.htm
@@ -3,17 +3,17 @@
 <link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal">
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <script src="support.js"></script>
 
 <script>
 
     var db,
-      t = async_test(document.title, {timeout: 10000});
+      t = async_test(document.title);
 
     var open_rq = createdb(t);
     open_rq.onupgradeneeded = function(e) {
         db = e.target.result;
         var objStore = db.createObjectStore("test");
 
         objStore.createIndex("index", "");
 
--- a/testing/web-platform/tests/IndexedDB/idbcursor_iterating.htm
+++ b/testing/web-platform/tests/IndexedDB/idbcursor_iterating.htm
@@ -3,17 +3,17 @@
 <link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal">
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <script src="support.js"></script>
 
 <script>
     var db,
       count = 0,
-      t = async_test(document.title, {timeout: 10000});
+      t = async_test(document.title);
 
     var open_rq = createdb(t);
     open_rq.onupgradeneeded = function(e) {
         db = e.target.result;
         t.add_cleanup(function() { db.close(); indexedDB.deleteDatabase(db.name); });
         var objStore = db.createObjectStore("test", { keyPath: "key" });
 
         for (var i = 0; i < 500; i++)
--- a/testing/web-platform/tests/IndexedDB/idbcursor_iterating_index.htm
+++ b/testing/web-platform/tests/IndexedDB/idbcursor_iterating_index.htm
@@ -3,17 +3,17 @@
 <link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal">
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <script src="support.js"></script>
 
 <script>
     var db,
       count = 0,
-      t = async_test(document.title, {timeout: 10000}),
+      t = async_test(document.title),
       records = [ { pKey: "primaryKey_0", obj: { iKey: "iKey_0" }},
                   { pKey: "primaryKey_1", obj: { iKey: "iKey_1" }},
                   { pKey: "primaryKey_2", obj: { iKey: "iKey_2" }} ],
 
       expected = [ [ "primaryKey_2", "iKey_2" ],
                    [ "primaryKey_0", "iKey_0" ] ];
 
     var open_rq = createdb(t);
--- a/testing/web-platform/tests/IndexedDB/idbcursor_iterating_index2.htm
+++ b/testing/web-platform/tests/IndexedDB/idbcursor_iterating_index2.htm
@@ -3,17 +3,17 @@
 <link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal">
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <script src="support.js"></script>
 
 <script>
     var db,
       count = 0,
-      t = async_test(document.title, {timeout: 10000}),
+      t = async_test(document.title),
       records = [ { pKey: "primaryKey_0", obj: { iKey: "iKey_0" }},
                   { pKey: "primaryKey_2", obj: { iKey: "iKey_2" }} ],
 
       expected = [ [ "primaryKey_2", "iKey_2" ],
                    [ "primaryKey_1", "iKey_1" ],
                    [ "primaryKey_0", "iKey_0" ] ];
 
     var open_rq = createdb(t);
--- a/testing/web-platform/tests/IndexedDB/idbcursor_iterating_objectstore.htm
+++ b/testing/web-platform/tests/IndexedDB/idbcursor_iterating_objectstore.htm
@@ -3,17 +3,17 @@
 <link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal">
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <script src="support.js"></script>
 
 <script>
     var db,
       count = 0,
-      t = async_test(document.title, {timeout: 10000}),
+      t = async_test(document.title),
       records = [ { pKey: "primaryKey_0" },
                   { pKey: "primaryKey_1" },
                   { pKey: "primaryKey_2" } ],
       expected_records = [ { pKey: "primaryKey_0" },
                            { pKey: "primaryKey_2" }];
 
     var open_rq = createdb(t);
     open_rq.onupgradeneeded = function(e) {
--- a/testing/web-platform/tests/IndexedDB/idbcursor_iterating_objectstore2.htm
+++ b/testing/web-platform/tests/IndexedDB/idbcursor_iterating_objectstore2.htm
@@ -3,17 +3,17 @@
 <link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal">
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <script src="support.js"></script>
 
 <script>
     var db,
       count = 0,
-      t = async_test(document.title, {timeout: 10000}),
+      t = async_test(document.title),
       records = [ { pKey: "primaryKey_0" },
                   { pKey: "primaryKey_2" } ],
       expected_records = [ { pKey: "primaryKey_0" },
                            { pKey: "primaryKey_1" },
                            { pKey: "primaryKey_2" } ];
 
     var open_rq = createdb(t);
     open_rq.onupgradeneeded = function(e) {
--- a/testing/web-platform/tests/IndexedDB/idbcursor_update_objectstore4.htm
+++ b/testing/web-platform/tests/IndexedDB/idbcursor_update_objectstore4.htm
@@ -3,17 +3,17 @@
 <link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal">
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <script src="support.js"></script>
 
 <script>
 
     var db,
-      t = async_test(document.title, {timeout: 10000})
+      t = async_test(document.title)
 
     var open_rq = createdb(t);
     open_rq.onupgradeneeded = function(e) {
         db = e.target.result;
         var objStore = db.createObjectStore("test");
 
         objStore.add("data", "key");
     };
--- a/testing/web-platform/tests/IndexedDB/idbdatabase_createObjectStore10-1000ends.htm
+++ b/testing/web-platform/tests/IndexedDB/idbdatabase_createObjectStore10-1000ends.htm
@@ -2,17 +2,17 @@
 <title>IDBDatabase.createObjectStore() - create 1000 object stores, add one item and delete</title>
 <meta name=timeout content=long>
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <script src="support.js"></script>
 
 <script>
 var db,
-    t = async_test(document.title, {timeout: 600000}),
+    t = async_test(document.title),
     open_rq = createdb(t)
 
 open_rq.onupgradeneeded = function(e) {
     db = e.target.result
     var st, i;
     for (i = 0; i < 1000; i++)
     {
         st = db.createObjectStore("object_store_" + i)
--- a/testing/web-platform/tests/IndexedDB/idbdatabase_createObjectStore7.htm
+++ b/testing/web-platform/tests/IndexedDB/idbdatabase_createObjectStore7.htm
@@ -2,17 +2,17 @@
 <title>IDBDatabase.createObjectStore() - create an object store with an unknown optional parameter </title>
 <link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal">
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <script src="support.js"></script>
 
 <script>
 
-var t = async_test(document.title, {timeout: 10000}),
+var t = async_test(document.title),
     open_rq = createdb(t)
 
 open_rq.onupgradeneeded = function(e) {
     var db = e.target.result
     db.createObjectStore("with unknown param", { parameter: 0 });
 
     t.done()
 }
--- a/testing/web-platform/tests/IndexedDB/idbdatabase_deleteObjectStore4-not_reused.htm
+++ b/testing/web-platform/tests/IndexedDB/idbdatabase_deleteObjectStore4-not_reused.htm
@@ -3,17 +3,17 @@
 <title>IDBDatabase.deleteObjectStore() - the object store is not reused</title>
 <link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal">
 <script src=/resources/testharness.js></script>
 <script src=/resources/testharnessreport.js></script>
 <script src=support.js></script>
 
 <script>
 
-var t = async_test(document.title, {timeout: 10000}),
+var t = async_test(document.title),
     keys = [],
     open_rq = createdb(t)
 
 open_rq.onupgradeneeded = function(e) {
     var db = e.target.result
 
     var objStore = db.createObjectStore("resurrected", { autoIncrement: true, keyPath: "k" });
     objStore.add({k:5}).onsuccess = function(e) { keys.push(e.target.result); }
--- a/testing/web-platform/tests/IndexedDB/idbdatabase_transaction4.htm
+++ b/testing/web-platform/tests/IndexedDB/idbdatabase_transaction4.htm
@@ -2,17 +2,17 @@
 <title>IDBDatabase.transaction() - attempt to open a transaction with invalid mode </title>
 <link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal">
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <script src="support.js"></script>
 
 <script>
     var db,
-      t = async_test(document.title, {timeout: 10000}),
+      t = async_test(document.title),
       open_rq = createdb(t);
 
     open_rq.onupgradeneeded = function(e) {
         db = e.target.result;
         db.createObjectStore('test');
     };
 
     open_rq.onsuccess = function(e) {
--- a/testing/web-platform/tests/IndexedDB/idbfactory_deleteDatabase3.htm
+++ b/testing/web-platform/tests/IndexedDB/idbfactory_deleteDatabase3.htm
@@ -4,17 +4,17 @@
 <link rel=help href="http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#widl-IDBFactory-deleteDatabase-IDBOpenDBRequest-DOMString-name">
 <meta name=assert title="If the steps above are successful, the implementation must set the result of the request to undefined and fire a success event at the request. The event must implement the IDBVersionChangeEvent interface and have oldVersion set to database version and have the newVersion property set to null.">
 <script src=/resources/testharness.js></script>
 <script src=/resources/testharnessreport.js></script>
 <script src=support.js></script>
 
 <script>
     var db
-    var open_rq = createdb(async_test(document.title, {timeout: 10000}), undefined, 9)
+    var open_rq = createdb(async_test(document.title), undefined, 9)
 
     open_rq.onupgradeneeded = function(e) {
         db = e.target.result
         db.createObjectStore('os')
     }
     open_rq.onsuccess = function(e) {
         db.close()
 
--- a/testing/web-platform/tests/IndexedDB/idbfactory_open10.htm
+++ b/testing/web-platform/tests/IndexedDB/idbfactory_open10.htm
@@ -2,17 +2,17 @@
 <title>IDBFactory.open() - error in upgradeneeded resets db</title>
 <link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal">
 <script src=/resources/testharness.js></script>
 <script src=/resources/testharnessreport.js></script>
 <script src=support.js></script>
 
 <script>
     var db, db2;
-    var open_rq = createdb(async_test(document.title, {timeout: 10000}), undefined, 9);
+    var open_rq = createdb(async_test(document.title), undefined, 9);
 
     open_rq.onupgradeneeded = function(e) {
         db = e.target.result;
 
         var st = db.createObjectStore("store");
         st.createIndex("index", "i");
 
         assert_equals(db.version, 9, "first db.version");
--- a/testing/web-platform/tests/IndexedDB/idbfactory_open11.htm
+++ b/testing/web-platform/tests/IndexedDB/idbfactory_open11.htm
@@ -3,17 +3,17 @@
 <link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal">
 <script src=/resources/testharness.js></script>
 <script src=/resources/testharnessreport.js></script>
 <script src=support.js></script>
 
 <script>
     var db;
     var count_done = 0;
-    var open_rq = createdb(async_test(document.title, {timeout: 10000}));
+    var open_rq = createdb(async_test(document.title));
 
     open_rq.onupgradeneeded = function(e) {
         db = e.target.result;
 
         db.createObjectStore("store");
         assert_true(db.objectStoreNames.contains("store"), "objectStoreNames contains store");
 
         var store = e.target.transaction.objectStore("store");
--- a/testing/web-platform/tests/IndexedDB/idbfactory_open12.htm
+++ b/testing/web-platform/tests/IndexedDB/idbfactory_open12.htm
@@ -2,17 +2,17 @@
 <title>IDBFactory.open() - upgradeneeded gets VersionChangeEvent</title>
 <link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal">
 <script src=/resources/testharness.js></script>
 <script src=/resources/testharnessreport.js></script>
 <script src=support.js></script>
 
 <script>
     var db;
-    var open_rq = createdb(async_test(document.title, {timeout: 10000}), undefined, 9);
+    var open_rq = createdb(async_test(document.title), undefined, 9);
     var open2_t = async_test(document.title + " - second upgrade");
 
     open_rq.onupgradeneeded = function(e) {
         db = e.target.result;
 
         assert_true(e instanceof IDBVersionChangeEvent, "e instanceof IDBVersionChangeEvent");
         assert_equals(e.oldVersion, 0, "oldVersion");
         assert_equals(e.newVersion, 9, "newVersion");
--- a/testing/web-platform/tests/IndexedDB/idbindex-multientry-arraykeypath.htm
+++ b/testing/web-platform/tests/IndexedDB/idbindex-multientry-arraykeypath.htm
@@ -4,17 +4,17 @@
 <link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal">
 <link rel=help href="http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#key-construct">
 <link rel=assert title="XXX">
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <script src="support.js"></script>
 
 <script>
-    createdb(async_test(document.title, {timeout: 10000})).onupgradeneeded = function(e) {
+    createdb(async_test(document.title)).onupgradeneeded = function(e) {
         var store = e.target.result.createObjectStore("store");
 
         assert_throws('InvalidAccessError', function() {
             store.createIndex('actors', ['name'], { multiEntry: true })
         });
 
         this.done();
     };
--- a/testing/web-platform/tests/IndexedDB/idbindex-multientry-big.htm
+++ b/testing/web-platform/tests/IndexedDB/idbindex-multientry-big.htm
@@ -5,18 +5,18 @@
 <link rel=help href="http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#key-construct">
 <link rel=assert title="XXX">
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <script src="support.js"></script>
 
 <script>
     var db,
-        t_add = async_test("Adding one item with 1000 multiEntry keys", { timeout: 10000 }),
-        t_get = async_test("Getting the one item by 1000 indeced keys ", { timeout: 10000 });
+        t_add = async_test("Adding one item with 1000 multiEntry keys"),
+        t_get = async_test("Getting the one item by 1000 indeced keys ");
 
     var open_rq = createdb(t_add);
     var obj = { test: 'yo', idxkeys: [] };
 
     for (var i = 0; i < 1000; i++)
         obj.idxkeys.push('index_no_' + i);
 
 
--- a/testing/web-platform/tests/IndexedDB/idbindex-multientry.htm
+++ b/testing/web-platform/tests/IndexedDB/idbindex-multientry.htm
@@ -7,17 +7,17 @@
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <script src="support.js"></script>
 
 <script>
     var db,
         expected_keys = [1, 2, 2, 3, 3];
 
-    var open_rq = createdb(async_test(document.title, {timeout: 10000}))
+    var open_rq = createdb(async_test(document.title))
 
     open_rq.onupgradeneeded = function(e) {
         db = e.target.result;
 
         var store = db.createObjectStore("store")
 
         store.createIndex('actors', 'name', { multiEntry: true })
 
--- a/testing/web-platform/tests/IndexedDB/idbindex_indexNames.htm
+++ b/testing/web-platform/tests/IndexedDB/idbindex_indexNames.htm
@@ -3,17 +3,17 @@
 <title>IDBIndex.getKey() - returns the record's primary key</title>
 <link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal">
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <script src="support.js"></script>
 
 <script>
     var db,
-      t = async_test(document.title, {timeout: 10000});
+      t = async_test(document.title);
 
     var open_rq = createdb(t);
     open_rq.onupgradeneeded = function(e) {
         db = e.target.result;
         var objStore = db.createObjectStore("test", { keyPath: "key" });
         objStore.createIndex("index", "data");
 
         assert_equals(objStore.indexNames[0], "index", "indexNames");
--- a/testing/web-platform/tests/IndexedDB/idbobjectstore_createIndex3-usable-right-away.htm
+++ b/testing/web-platform/tests/IndexedDB/idbobjectstore_createIndex3-usable-right-away.htm
@@ -4,17 +4,17 @@
 <link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal">
 <meta name=timeout content=long>
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <script src="support.js"></script>
 
 <script>
     var db, aborted,
-      t = async_test(document.title, {timeout:19000})
+      t = async_test(document.title)
 
     var open_rq = createdb(t);
     open_rq.onupgradeneeded = function(e) {
         db = e.target.result;
         var txn = e.target.transaction,
           objStore = db.createObjectStore("store", { keyPath: 'key' });
 
         for (var i = 0; i < 100; i++)
--- a/testing/web-platform/tests/IndexedDB/idbobjectstore_createIndex4-deleteIndex-event_order.htm
+++ b/testing/web-platform/tests/IndexedDB/idbobjectstore_createIndex4-deleteIndex-event_order.htm
@@ -4,17 +4,17 @@
 <link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal">
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <script src="support.js"></script>
 
 <script>
     var db,
       events = [],
-      t = async_test(document.title, {timeout: 10000})
+      t = async_test(document.title)
 
     var open_rq = createdb(t);
     open_rq.onupgradeneeded = function(e) {
         db = e.target.result;
         e.target.transaction.oncomplete = log("transaction.complete");
 
         var txn = e.target.transaction,
           objStore = db.createObjectStore("store");
--- a/testing/web-platform/tests/IndexedDB/idbobjectstore_createIndex5-emptykeypath.htm
+++ b/testing/web-platform/tests/IndexedDB/idbobjectstore_createIndex5-emptykeypath.htm
@@ -3,17 +3,17 @@
 <title>IDBObjectStore.createIndex() - empty keyPath</title>
 <link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal">
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <script src="support.js"></script>
 
 <script>
     var db, aborted,
-      t = async_test(document.title, {timeout: 10000})
+      t = async_test(document.title)
 
     var open_rq = createdb(t);
     open_rq.onupgradeneeded = function(e) {
         db = e.target.result;
         var txn = e.target.transaction,
           objStore = db.createObjectStore("store");
 
         for (var i = 0; i < 5; i++)
--- a/testing/web-platform/tests/IndexedDB/idbobjectstore_createIndex6-event_order.htm
+++ b/testing/web-platform/tests/IndexedDB/idbobjectstore_createIndex6-event_order.htm
@@ -11,17 +11,17 @@
 <script src=support.js></script>
 
 <script>
     // Transaction may fire window.onerror in some implementations.
     setup({allow_uncaught_exception:true});
 
     var db,
       events = [],
-      t = async_test(document.title, {timeout: 10000})
+      t = async_test(document.title)
 
     var open_rq = createdb(t);
     open_rq.onupgradeneeded = function(e) {
         db = e.target.result;
         db.onerror = log("db.error");
         db.onabort = log("db.abort");
         e.target.transaction.onabort = log("transaction.abort")
         e.target.transaction.onerror = log("transaction.error")
--- a/testing/web-platform/tests/IndexedDB/idbobjectstore_createIndex7-event_order.htm
+++ b/testing/web-platform/tests/IndexedDB/idbobjectstore_createIndex7-event_order.htm
@@ -13,17 +13,17 @@
 <script src="support.js"></script>
 
 <script>
     // Transaction may fire window.onerror in some implementations.
     setup({allow_uncaught_exception:true});
 
     var db,
       events = [],
-      t = async_test(document.title, {timeout: 10000})
+      t = async_test(document.title)
 
     var open_rq = createdb(t);
     open_rq.onupgradeneeded = function(e) {
         db = e.target.result;
         var txn = e.target.transaction;
         db.onerror = log("db.error");
         db.onabort = log("db.abort");
         txn.onabort = log("transaction.abort")
--- a/testing/web-platform/tests/IndexedDB/idbobjectstore_createIndex8-valid_keys.htm
+++ b/testing/web-platform/tests/IndexedDB/idbobjectstore_createIndex8-valid_keys.htm
@@ -4,17 +4,17 @@
 <link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal">
 <meta name=timeout content=long>
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <script src="support.js"></script>
 
 <script>
     var db,
-      t = async_test(document.title, {timeout:19000}),
+      t = async_test(document.title),
       now = new Date(),
       mar18 = new Date(1111111111111),
       ar = ["Yay", 2, -Infinity],
       num = 1337
 
     var open_rq = createdb(t);
     open_rq.onupgradeneeded = function(e) {
         db = e.target.result;
--- a/testing/web-platform/tests/IndexedDB/idbobjectstore_deleted.htm
+++ b/testing/web-platform/tests/IndexedDB/idbobjectstore_deleted.htm
@@ -6,17 +6,17 @@
 <link rel=author href="mailto:odinho@opera.com" title="Odin Hørthe Omdal">
 <script src=/resources/testharness.js></script>
 <script src=/resources/testharnessreport.js></script>
 <script src=support.js></script>
 
 <script>
     var db,
       add_success = false,
-      t = async_test(document.title, {timeout: 10000})
+      t = async_test(document.title)
 
     var open_rq = createdb(t);
     open_rq.onupgradeneeded = function(e) {
         db = e.target.result;
 
         var objStore = db.createObjectStore("store", { autoIncrement: true });
         assert_equals(db.objectStoreNames[0], "store", "objectStoreNames");
 
--- a/testing/web-platform/tests/IndexedDB/idbtransaction-oncomplete.htm
+++ b/testing/web-platform/tests/IndexedDB/idbtransaction-oncomplete.htm
@@ -2,17 +2,17 @@
 <title>IDBTransaction - complete event</title>
 <link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal">
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <script src="support.js"></script>
 
 <script>
     var db, store,
-      t = async_test(document.title, {timeout: 10000}),
+      t = async_test(document.title),
       open_rq = createdb(t),
       stages = [];
 
     open_rq.onupgradeneeded = function(e) {
         stages.push("upgradeneeded");
 
         db = e.target.result;
         store = db.createObjectStore('store');
--- a/testing/web-platform/tests/IndexedDB/idbtransaction_abort.htm
+++ b/testing/web-platform/tests/IndexedDB/idbtransaction_abort.htm
@@ -3,17 +3,17 @@
 <title>IDBTransaction - abort</title>
 <link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal">
 <script src=/resources/testharness.js></script>
 <script src=/resources/testharnessreport.js></script>
 <script src=support.js></script>
 
 <script>
     var db, aborted,
-      t = async_test(document.title, {timeout: 10000}),
+      t = async_test(document.title),
       record = { indexedProperty: "bar" };
 
     var open_rq = createdb(t);
     open_rq.onupgradeneeded = function(e) {
         db = e.target.result;
         var txn = e.target.transaction,
           objStore = db.createObjectStore("store");
 
--- a/testing/web-platform/tests/IndexedDB/idbversionchangeevent.htm
+++ b/testing/web-platform/tests/IndexedDB/idbversionchangeevent.htm
@@ -8,17 +8,17 @@
 <script src="/resources/testharnessreport.js"></script>
 <script src="support.js"></script>
 
 <div id="log"></div>
 
 <script>
 
     var db,
-        t = async_test(document.title, {timeout: 10000});
+        t = async_test(document.title);
 
     t.step(function() {
         var openrq = indexedDB.open('db', 3);
 
         openrq.onupgradeneeded = t.step_func(function(e) {
             assert_equals(e.oldVersion, 0, "old version (upgradeneeded)");
             assert_equals(e.newVersion, 3, "new version (upgradeneeded)");
             assert_true(e instanceof IDBVersionChangeEvent, "upgradeneeded instanceof IDBVersionChangeEvent");
--- a/testing/web-platform/tests/IndexedDB/keygenerator-constrainterror.htm
+++ b/testing/web-platform/tests/IndexedDB/keygenerator-constrainterror.htm
@@ -4,17 +4,17 @@
 <link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal">
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <script src="support.js"></script>
 
 <script>
 
     var db,
-      t = async_test(document.title, {timeout: 10000}),
+      t = async_test(document.title),
       objects = [1, null, {id: 2}, null, 2.00001, 5, null, {id: 6} ],
       expected = [1, 2, 2.00001, 3, 5, 6],
       errors = 0;
 
     var open_rq = createdb(t);
     open_rq.onupgradeneeded = function(e) {
         db = e.target.result;
         var objStore = db.createObjectStore("store", { keyPath: "id", autoIncrement: true });
--- a/testing/web-platform/tests/IndexedDB/keygenerator-overflow.htm
+++ b/testing/web-platform/tests/IndexedDB/keygenerator-overflow.htm
@@ -6,17 +6,17 @@
 <link rel=assert title="When the current number of a key generator reaches above the value 2^53 (9007199254740992) any attempts to use the key generator to generate a new key will result in an error. It's still possible to insert records into the object store by specifying an explicit key, however the only way to use a key generator again for the object store is to delete the object store and create a new one.">
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <script src="support.js"></script>
 
 <script>
 
     var db,
-      t = async_test(document.title, {timeout: 10000}),
+      t = async_test(document.title),
       overflow_error_fired = false,
       objects =  [9007199254740991, null, "error", 2, "error" ],
       expected_keys = [2, 9007199254740991, 9007199254740992];
 
     var open_rq = createdb(t);
     open_rq.onupgradeneeded = function(e) {
         db = e.target.result;
         var objStore = db.createObjectStore("store", { keyPath: "id", autoIncrement: true });
--- a/testing/web-platform/tests/IndexedDB/keyorder.htm
+++ b/testing/web-platform/tests/IndexedDB/keyorder.htm
@@ -17,17 +17,17 @@ 8. If A's length is less than B's length
 <script src="/resources/testharnessreport.js"></script>
 <script src="support.js"></script>
 
 <script>
     var global_db = createdb_for_multiple_tests();
 
     function keysort(desc, unsorted, expected) {
         var db,
-            t = async_test("Database readback sort - " + desc, { timeout: 10000 }),
+            t = async_test("Database readback sort - " + desc),
             store_name = 'store-' + Date.now() + Math.random();
 
         // The database test
         var open_rq = global_db.setTest(t);
         open_rq.onupgradeneeded = function(e) {
             db = e.target.result;
             var objStore = db.createObjectStore(store_name);
 
--- a/testing/web-platform/tests/IndexedDB/keypath_maxsize.htm
+++ b/testing/web-platform/tests/IndexedDB/keypath_maxsize.htm
@@ -6,17 +6,17 @@
 <meta name=timeout content=long>
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <script src="support.js"></script>
 
 <script>
     function keypath(keypath, objects, expected_keys, desc) {
         var db,
-            t = async_test(document.title + " - " + (desc ? desc : keypath), { timeout: 10000 }),
+            t = async_test(document.title + " - " + (desc ? desc : keypath)),
             open_rq = createdb(t);
 
         open_rq.onupgradeneeded = function(e) {
             db = e.target.result;
             var objStore = db.createObjectStore("store", { keyPath: keypath });
 
             for (var i = 0; i < objects.length; i++)
                 objStore.add(objects[i]);
--- a/testing/web-platform/tests/IndexedDB/request_bubble-and-capture.htm
+++ b/testing/web-platform/tests/IndexedDB/request_bubble-and-capture.htm
@@ -4,17 +4,17 @@
 <link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal">
 <script src=/resources/testharness.js></script>
 <script src=/resources/testharnessreport.js></script>
 <script src=support.js></script>
 
 <script>
     var events = [];
 
-    var open_rq = createdb(async_test(document.title, {timeout: 10000}));
+    var open_rq = createdb(async_test(document.title));
     open_rq.onupgradeneeded = function(e) {
         var db = e.target.result;
         var txn = e.target.transaction;
         var store = db.createObjectStore("s");
         var rq1 = store.add("", 1);
         var rq2 = store.add("", 1);
         db.onerror = function(){};
 
--- a/testing/web-platform/tests/IndexedDB/transaction-lifetime-blocked.htm
+++ b/testing/web-platform/tests/IndexedDB/transaction-lifetime-blocked.htm
@@ -6,17 +6,17 @@
 <script src="support.js"></script>
 
 <div id="log"></div>
 
 <script>
 
     var db, db_got_versionchange, db2,
         events = [],
-        t = async_test(document.title, {timeout: 10000});
+        t = async_test(document.title);
 
     t.step(function() {
         var openrq = indexedDB.open('db', 3);
 
         // 1
         openrq.onupgradeneeded = t.step_func(function(e) {
             events.push("open." + e.type);
             e.target.result.createObjectStore('store');
--- a/testing/web-platform/tests/IndexedDB/transaction-lifetime.htm
+++ b/testing/web-platform/tests/IndexedDB/transaction-lifetime.htm
@@ -6,17 +6,17 @@
 <script src="support.js"></script>
 
 <div id="log"></div>
 
 <script>
 
     var db, db_got_versionchange, db2,
         events = [],
-        t = async_test(document.title, {timeout: 10000});
+        t = async_test(document.title);
 
     t.step(function() {
         var openrq = indexedDB.open('db', 3);
 
         // 1
         openrq.onupgradeneeded = t.step_func(function(e) {
             events.push("open." + e.type);
             e.target.result.createObjectStore('store');
--- a/testing/web-platform/tests/IndexedDB/transaction-requestqueue.htm
+++ b/testing/web-platform/tests/IndexedDB/transaction-requestqueue.htm
@@ -3,17 +3,17 @@
 <title>Transactions have a request queue</title>
 <link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal">
 <script src=/resources/testharness.js></script>
 <script src=/resources/testharnessreport.js></script>
 <script src=support.js></script>
 
 <script>
 
-var db, t = async_test(document.title, {timeout: 10000}),
+var db, t = async_test(document.title),
     keys = { txn: [], txn2: [] },
     open_rq = createdb(t)
 
 open_rq.onupgradeneeded = function(e) {
     var i, os;
     db = e.target.result;
 
     for (i = 1; i < 6; i++)
--- a/testing/web-platform/tests/IndexedDB/transaction_bubble-and-capture.htm
+++ b/testing/web-platform/tests/IndexedDB/transaction_bubble-and-capture.htm
@@ -4,17 +4,17 @@
 <link rel="author" href="mailto:odinho@opera.com" title="Odin Hørthe Omdal">
 <script src=/resources/testharness.js></script>
 <script src=/resources/testharnessreport.js></script>
 <script src=support.js></script>
 
 <script>
     var events = [];
 
-    var open_rq = createdb(async_test(document.title, {timeout: 10000}));
+    var open_rq = createdb(async_test(document.title));
     open_rq.onupgradeneeded = function(e) {
         var db = e.target.result;
         var txn = e.target.transaction;
         var store = db.createObjectStore("store");
         var rq1 = store.add("", 1);
         var rq2 = store.add("", 1);
 
         db.onerror = undefined; // We will run db.error, but don't let that fail the test
--- a/testing/web-platform/tests/IndexedDB/writer-starvation.htm
+++ b/testing/web-platform/tests/IndexedDB/writer-starvation.htm
@@ -7,17 +7,17 @@
 <script src=/resources/testharnessreport.js></script>
 <script src=support.js></script>
 
 <script>
     var db, read_request_count = 0, read_success_count = 0;
     var write_request_count = 0, write_success_count = 0;
     var RQ_COUNT = 25;
 
-    var open_rq = createdb(async_test(undefined, {timeout: 20000}));
+    var open_rq = createdb(async_test(undefined));
     open_rq.onupgradeneeded = function(e) {
         db = e.target.result;
         db.createObjectStore("s")
           .add("1", 1);
     }
 
     open_rq.onsuccess = function(e) {
         var i = 0, continue_reading = true;