Bug 1464897 [wpt PR 11186] - Make order of subtests stable in /workers/name-property.html, a=testonly
authorSimon Pieters <zcorpan@gmail.com>
Wed, 06 Jun 2018 16:11:09 +0000
changeset 422186 03d22d890f2b758117ea8191662e72a5bbdb3e3d
parent 422185 f73bcc6899d60785ddc66f78c63ab537ee9b984b
child 422187 b6571347a9ba1dbe2e1cedaffc95a091304699c6
push id34122
push userebalazs@mozilla.com
push dateMon, 11 Jun 2018 09:37:00 +0000
treeherdermozilla-central@9941eb8c3b29 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1464897, 11186, 11185
milestone62.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 1464897 [wpt PR 11186] - Make order of subtests stable in /workers/name-property.html, a=testonly Automatic update from web-platform-testsMake order of subtests stable in /workers/name-property.html Fixes #11185. -- wpt-commits: 30f15165fd105117acf3eb86bf118e5782f2e83d wpt-pr: 11186
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/workers/name-property.html
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -618462,17 +618462,17 @@
    "e8e1f0aedcc780aac742af01387dd151b10104bc",
    "support"
   ],
   "workers/modules/resources/static-import-worker.js": [
    "6d5fb2c553d2f32cdd16722a85bd65e0a172768c",
    "support"
   ],
   "workers/name-property.html": [
-   "1c53fc1fdc2d6c8ed5592d832a18bdbd3bca541b",
+   "782f980596535125995d91c678d94fe98169b7da",
    "testharness"
   ],
   "workers/nested_worker.worker.js": [
    "04898c40ac4ff943cc83674ca6126464513abbd6",
    "testharness"
   ],
   "workers/non-automated/application-cache-dedicated.html": [
    "73258fa7c4803f0d5035d5593354af41d3119c78",
--- a/testing/web-platform/tests/workers/name-property.html
+++ b/testing/web-platform/tests/workers/name-property.html
@@ -5,21 +5,26 @@
 <link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-sharedworkerglobalscope-name">
 <link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-dedicatedworkerglobalscope-name">
 <link rel="author" title="Domenic Denicola" href="mailto:d@domenic.me">
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 
 <script>
 "use strict";
+setup({explicit_done: true});
 
-const worker = new Worker("support/name.js", { name: "my name" });
-fetch_tests_from_worker(worker);
+(async function() {
+  const worker = new Worker("support/name.js", { name: "my name" });
+  await fetch_tests_from_worker(worker);
 
-const worker2 = new Worker("support/name-as-accidental-global.js");
-fetch_tests_from_worker(worker2);
+  const worker2 = new Worker("support/name-as-accidental-global.js");
+  await fetch_tests_from_worker(worker2);
 
-const sharedWorker = new SharedWorker("support/name.js", { name: "my name" });
-fetch_tests_from_worker(sharedWorker);
+  const sharedWorker = new SharedWorker("support/name.js", { name: "my name" });
+  await fetch_tests_from_worker(sharedWorker);
 
-const sharedWorker2 = new SharedWorker("support/name-as-accidental-global.js");
-fetch_tests_from_worker(sharedWorker2);
+  const sharedWorker2 = new SharedWorker("support/name-as-accidental-global.js");
+  await fetch_tests_from_worker(sharedWorker2);
+
+  done();
+})();
 </script>