Bug 1509797 [wpt PR 14232] - Rewrite `async_test(document.title)` to just `async_test()`, a=testonly
authorPhilip Jägenstedt <philip@foolip.org>
Fri, 30 Nov 2018 18:03:36 +0000
changeset 450039 ff48ed58aced950420ec3f786f632e74c5a4bbeb
parent 450038 6975360abe74f201ed03b83bc3e3396d10b465cf
child 450040 cd6eab4e55654caef337a66775ab660a20f25e54
push id35189
push userccoroiu@mozilla.com
push dateTue, 11 Dec 2018 21:33:05 +0000
treeherdermozilla-central@ac7f3beb6333 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1509797, 14232
milestone66.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 1509797 [wpt PR 14232] - Rewrite `async_test(document.title)` to just `async_test()`, a=testonly Automatic update from web-platform-tests Rewrite `async_test(document.title)` to just `async_test()` (#14232) If no test name is given, `document.title` is effectively already used in testharness.js: https://github.com/web-platform-tests/wpt/blob/0ddb31913184805fa3725e22e5b88046e961996b/resources/testharness.js#L3218-L3224 -- wpt-commits: 3573ce8c3157628989bc2657dc4c9646198ba5ea wpt-pr: 14232
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/idbindex-multientry-arraykeypath.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/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/css/css-backgrounds/border-image-repeat_repeatnegx_none_50px.html
testing/web-platform/tests/css/css-flexbox/display_flex_exist.html
testing/web-platform/tests/css/css-flexbox/display_inline-flex_exist.html
testing/web-platform/tests/css/css-flexbox/order_value.html
testing/web-platform/tests/eventsource/event-data.html
testing/web-platform/tests/eventsource/format-field-retry-bogus.htm
testing/web-platform/tests/eventsource/format-field-retry.htm
testing/web-platform/tests/html/semantics/embedded-content/media-elements/track/track-element/cors/support/common.js
testing/web-platform/tests/orientation-event/free-fall-manual.html
testing/web-platform/tests/orientation-event/screen-upmost-manual.html
testing/web-platform/tests/orientation-event/screen-upright-manual.html
testing/web-platform/tests/xhr/timeout-cors-async.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),
+      t = async_test(),
       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),
+      t = async_test(),
       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),
+      t = async_test(),
       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),
+      t = async_test(),
       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),
+      t = async_test(),
       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);
+      t = async_test();
 
     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);
+      t = async_test();
 
     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),
+      t = async_test(),
       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),
+      t = async_test(),
       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),
+      t = async_test(),
       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),
+      t = async_test(),
       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)
+      t = async_test()
 
     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),
+    t = async_test(),
     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),
+var t = async_test(),
     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),
+var t = async_test(),
     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),
+      t = async_test(),
       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), undefined, 9)
+    var open_rq = createdb(async_test(), 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), undefined, 9);
+    var open_rq = createdb(async_test(), 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));
+    var open_rq = createdb(async_test());
 
     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/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)).onupgradeneeded = function(e) {
+    createdb(async_test()).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.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))
+    var open_rq = createdb(async_test())
 
     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);
+      t = async_test();
 
     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)
+      t = async_test()
 
     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)
+      t = async_test()
 
     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)
+      t = async_test()
 
     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)
+      t = async_test()
 
     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)
+      t = async_test()
 
     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),
+      t = async_test(),
       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)
+      t = async_test()
 
     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),
+      t = async_test(),
       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),
+      t = async_test(),
       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);
+        t = async_test();
 
     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),
+      t = async_test(),
       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),
+      t = async_test(),
       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/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));
+    var open_rq = createdb(async_test());
     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);
+        t = async_test();
 
     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);
+        t = async_test();
 
     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),
+var db, t = async_test(),
     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));
+    var open_rq = createdb(async_test());
     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/css/css-backgrounds/border-image-repeat_repeatnegx_none_50px.html
+++ b/testing/web-platform/tests/css/css-backgrounds/border-image-repeat_repeatnegx_none_50px.html
@@ -17,17 +17,17 @@
         }
     </style>
 </head>
 <body>
     <div id="log"></div>
     <div id="test"></div>
     <script type="text/javascript">
         var div = document.querySelector("#test");
-        var t = async_test(document.title);
+        var t = async_test();
         t.step(function () {
             div.style[headProp("border-image-repeat")] = "repeat-x";
             div.style[headProp("height")] = "200px";
             div.style[headProp("width")] = "200px";
             div.style[headProp("border-image-source")] = "none";
             div.style[headProp("border-image-width")] = "50px";
             var propvalue = GetCurrentStyle("border-image-repeat");
             var prop = propvalue.indexOf("repeat-x")!=-1;
--- a/testing/web-platform/tests/css/css-flexbox/display_flex_exist.html
+++ b/testing/web-platform/tests/css/css-flexbox/display_flex_exist.html
@@ -13,16 +13,16 @@
     </style>
     <script src="/resources/testharness.js"></script>
     <script src="/resources/testharnessreport.js"></script>
   </head>
   <body>
     <div id=log></div>
     <div id=test></div>
     <script type="text/javascript">
-        var t = async_test(document.title);
+        var t = async_test();
         t.step(function () {
             assert_equals(window.getComputedStyle(document.querySelector('div#test')).display, "flex", "Display value is");
         });
         t.done();
     </script>
   </body>
 </html>
--- a/testing/web-platform/tests/css/css-flexbox/display_inline-flex_exist.html
+++ b/testing/web-platform/tests/css/css-flexbox/display_inline-flex_exist.html
@@ -13,16 +13,16 @@
     </style>
     <script src="/resources/testharness.js"></script>
     <script src="/resources/testharnessreport.js"></script>
   </head>
   <body>
     <div id=log></div>
     <div id=test></div>
     <script type="text/javascript">
-        var t = async_test(document.title);
+        var t = async_test();
         t.step(function () {
             assert_equals(window.getComputedStyle(document.querySelector('div#test')).display, "inline-flex", "Display value is");
         });
         t.done();
     </script>
   </body>
 </html>
--- a/testing/web-platform/tests/css/css-flexbox/order_value.html
+++ b/testing/web-platform/tests/css/css-flexbox/order_value.html
@@ -19,17 +19,17 @@
     </style>
     <script src="/resources/testharness.js"></script>
     <script src="/resources/testharnessreport.js"></script>
   </head>
   <body>
     <div id=log></div>
     <div id=test><div id=test01>1</div><div id=test02>2</div><div id=test03>3</div></div>
     <script type="text/javascript">
-        var t = async_test(document.title);
+        var t = async_test();
         t.step(function () {
             assert_equals(document.getElementById("test01").offsetTop, document.getElementById("test02").offsetTop, "Rectangle 1 and 2 have the same offsetTop value");
             assert_equals((document.getElementById("test02").offsetLeft >= document.getElementById("test01").offsetLeft), false, "Rectangle 2 have a smaller offsetLeft value than 1.");
         });
         t.done();
     </script>
   </body>
 </html>
--- a/testing/web-platform/tests/eventsource/event-data.html
+++ b/testing/web-platform/tests/eventsource/event-data.html
@@ -15,17 +15,17 @@ Process the field using the steps descri
   ">
 
     <script src="/resources/testharness.js"></script>
     <script src="/resources/testharnessreport.js"></script>
   </head>
   <body>
     <div id="log"></div>
     <script>
-      var test = async_test(document.title);
+      var test = async_test();
       test.step(function() {
         var source = new EventSource("resources/message2.py"),
             counter = 0;
         source.onmessage = test.step_func(function(e) {
           if(counter == 0) {
             assert_equals(e.data,"msg\nmsg");
           } else if(counter == 1) {
             assert_equals(e.data,"");
--- a/testing/web-platform/tests/eventsource/format-field-retry-bogus.htm
+++ b/testing/web-platform/tests/eventsource/format-field-retry-bogus.htm
@@ -3,17 +3,17 @@
   <head>
     <title>EventSource: "retry" field (bogus)</title>
     <script src="/resources/testharness.js"></script>
     <script src="/resources/testharnessreport.js"></script>
   </head>
   <body>
     <div id="log"></div>
     <script>
-      var test = async_test(document.title)
+      var test = async_test()
       test.step(function() {
         var timeoutms = 3000,
             source = new EventSource("resources/message.py?message=retry%3A3000%0Aretry%3A1000x%0Adata%3Ax"),
             opened = 0
         source.onopen = function() {
           test.step(function() {
             if(opened == 0)
               opened = new Date().getTime()
--- a/testing/web-platform/tests/eventsource/format-field-retry.htm
+++ b/testing/web-platform/tests/eventsource/format-field-retry.htm
@@ -3,17 +3,17 @@
   <head>
     <title>EventSource: "retry" field</title>
     <script src="/resources/testharness.js"></script>
     <script src="/resources/testharnessreport.js"></script>
   </head>
   <body>
     <div id="log"></div>
     <script>
-      var test = async_test(document.title);
+      var test = async_test();
       test.step(function() {
         var timeoutms = 3000,
             timeoutstr = "03000", // 1536 in octal, but should be 3000
             source = new EventSource("resources/message.py?message=retry%3A" + timeoutstr + "%0Adata%3Ax"),
             opened = 0
         source.onopen = function() {
           test.step(function() {
             if(opened == 0)
--- a/testing/web-platform/tests/html/semantics/embedded-content/media-elements/track/track-element/cors/support/common.js
+++ b/testing/web-platform/tests/html/semantics/embedded-content/media-elements/track/track-element/cors/support/common.js
@@ -7,17 +7,17 @@ setup(function(){
     window.errors = [];
     window.origin = location.protocol+'//'+location.host;
     window.escapedOrigin = encodeURIComponent(origin);
     window.sameOriginURL = "http://{{domains[]}}:{{ports[http][0]}}" + location.pathname.replace(/\/[^\/]+$/, '/');
     window.otherOriginURL = "http://{{domains[www1]}}:{{ports[http][0]}}" + location.pathname.replace(/\/[^\/]+$/, '/');
 }, {timeout:10000, explicit_done:true});
 
 onload = function() {
-    (async_test(document.title)).step(function() {
+    (async_test()).step(function() {
         // fail early if track isn't supported
         assert_true('HTMLTrackElement' in window, 'track not supported');
         window.corsMode = document.title.match(/^track CORS: (No CORS|Anonymous|Use Credentials)/)[1];
         var requests_tmp = document.title.substr(('track CORS: '+corsMode+', ').length).split(/, redirects to /g);
         window.requests = [];
         requests_tmp.forEach(function(r) {
             var parts = r.split(', ');
             requests.push({sameOrigin:parts[0] == 'same-origin', withHeaders:parts[1] == 'with headers'});
--- a/testing/web-platform/tests/orientation-event/free-fall-manual.html
+++ b/testing/web-platform/tests/orientation-event/free-fall-manual.html
@@ -6,17 +6,17 @@
     <script src="/resources/testharnessreport.js"></script>
     <link rel="author' title='Mosquito FP7">
     <link rel="reviewer author" title="Zhiqiang Zhang" href="mailto:zhiqiang.zhang@intel.com"> <!-- 2013-10-14 -->
   </head>
   <body>
     <p>Free fall the device to run the test, with the screen horizontal and upmost.</p>
     <div id="log"></div>
     <script>
-      var t = async_test(document.title);
+      var t = async_test();
       var run = false;
 
       /*
        * A device in free-fall, with the screen horizontal and upmost,
        * has an accelerationIncludingGravity of zero and
        * the following value for acceleration:
        * {
        *   x: 0,
--- a/testing/web-platform/tests/orientation-event/screen-upmost-manual.html
+++ b/testing/web-platform/tests/orientation-event/screen-upmost-manual.html
@@ -6,17 +6,17 @@
     <script src="/resources/testharnessreport.js"></script>
     <link rel="author' title='Mosquito FP7">
     <link rel="reviewer author" title="Zhiqiang Zhang" href="mailto:zhiqiang.zhang@intel.com"> <!-- 2013-10-14 -->
   </head>
   <body>
     <p>Put the device on a horizontal surface with the screen upmost.</p>
     <div id="log"></div>
     <script>
-      var t = async_test(document.title);
+      var t = async_test();
       var run = false;
 
       /*
        * A device lying flat on a horizontal surface with the screen upmost
        * has an acceleration of zero and the following value for
        * accelerationIncludingGravity:
        * {
        *   x: 0,
--- a/testing/web-platform/tests/orientation-event/screen-upright-manual.html
+++ b/testing/web-platform/tests/orientation-event/screen-upright-manual.html
@@ -6,17 +6,17 @@
     <script src="/resources/testharnessreport.js"></script>
     <link rel="author' title='Mosquito FP7">
     <link rel="reviewer author" title="Zhiqiang Zhang" href="mailto:zhiqiang.zhang@intel.com"> <!-- 2013-10-14 -->
   </head>
   <body>
     <p>Put the device with the screen upright.</p>
     <div id="log"></div>
     <script>
-      var t = async_test(document.title);
+      var t = async_test();
       var run = false;
 
       /*
        * A device with the screen upright has an acceleration of zero
        * and the following value for accelerationIncludingGravity:
        * {
        *   x: 0,
        *   y: -9.81,
--- a/testing/web-platform/tests/xhr/timeout-cors-async.htm
+++ b/testing/web-platform/tests/xhr/timeout-cors-async.htm
@@ -8,17 +8,17 @@
     <link rel="help" href="https://xhr.spec.whatwg.org/#handler-xhr-ontimeout" data-tested-assertations="../.."/>
     <link rel="help" href="https://xhr.spec.whatwg.org/#timeout-error" data-tested-assertations=".."/>
     <link rel="help" href="https://xhr.spec.whatwg.org/#request-error" data-tested-assertations="following::ol[1]/li[4] following::ol[1]/li[9]"/>
     <link rel="help" href="https://xhr.spec.whatwg.org/#cross-origin-request-event-rules" data-tested-assertations="following::dl//code[contains(@title,'dom-XMLHttpRequest-timeout')]/.. following::dl//code[contains(@title,'dom-XMLHttpRequest-timeout')]/../following-sibling::dd following::dt[1] following::dd[1]" />
   </head>
   <body>
     <div id="log"></div>
     <script>
-      var test = async_test(document.title)
+      var test = async_test()
       var client = new XMLHttpRequest()
       var gotTimeout = false
       client.open("GET", "http://www2." + location.hostname + (location.port ? ":" + location.port : "") +(location.pathname.replace(/[^\/]+$/, '')+'resources/corsenabled.py')+"?delay=2&code=200")
       client.timeout = 100
       client.addEventListener('timeout', function (e) {
         test.step(function() {
           assert_equals(e.type, 'timeout')
           assert_equals(client.status, 0)