+
+
From 3510d30981523beaff31e0c1eadb4025dedac180 Mon Sep 17 00:00:00 2001
From: Brian Birtles
Date: Fri, 30 Nov 2018 16:53:00 +0000
Subject: [PATCH 014/143] Bug 1509355 [wpt PR 14189] - Add scroll-animations
reviewers, a=testonly
Automatic update from web-platform-testsAdd scroll-animations reviewers
Antoine and Stephen have recently been added as editors of the spec
--
wpt-commits: c34207cd731d8aebfb6a8b7eb706259149b6240b
wpt-pr: 14189
---
testing/web-platform/tests/scroll-animations/META.yml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/testing/web-platform/tests/scroll-animations/META.yml b/testing/web-platform/tests/scroll-animations/META.yml
index 0123b6b0e333e..20f3c7e6c9301 100644
--- a/testing/web-platform/tests/scroll-animations/META.yml
+++ b/testing/web-platform/tests/scroll-animations/META.yml
@@ -2,3 +2,5 @@ spec: https://wicg.github.io/scroll-animations/
suggested_reviewers:
- birtles
- theres-waldo
+ - graouts
+ - stephenmcgruer
From fcbd5cc3b96b304b00a71b950ae874750a46f200 Mon Sep 17 00:00:00 2001
From: kaixinjxq
Date: Fri, 30 Nov 2018 16:53:02 +0000
Subject: [PATCH 015/143] Bug 1507797 [wpt PR 14091] - Test getUserMedia
non-applicable constraints are ignored, a=testonly
Automatic update from web-platform-testsTest getUserMedia non-applicable constraints are ignored
--
Merge pull request #14091 from kaixinjxq/issue_13363_getUserMedia_ignore_constraints
Test getUserMedia non-applicable constraints are ignored
--
wpt-commits: 96a20b4937d9fc4d8489d4f96b39343fa3e39722, 0419df7b64914c5ff8c0b24fd361f86555bab24e
wpt-pr: 14091
---
.../GUM-non-applicable-constraint.https.html | 72 +++++++++++++++++++
1 file changed, 72 insertions(+)
create mode 100644 testing/web-platform/tests/mediacapture-streams/GUM-non-applicable-constraint.https.html
diff --git a/testing/web-platform/tests/mediacapture-streams/GUM-non-applicable-constraint.https.html b/testing/web-platform/tests/mediacapture-streams/GUM-non-applicable-constraint.https.html
new file mode 100644
index 0000000000000..8423c56b9a3cb
--- /dev/null
+++ b/testing/web-platform/tests/mediacapture-streams/GUM-non-applicable-constraint.https.html
@@ -0,0 +1,72 @@
+
+non-applicable constraint in getUserMedia
+
+
+
+
+
+
When prompted, accept to share your audio and video stream.
+
+
From f676db4b1976620da4d8dd4323935dc4a583a4eb Mon Sep 17 00:00:00 2001
From: Matt Falkenhagen
Date: Fri, 30 Nov 2018 16:53:04 +0000
Subject: [PATCH 016/143] Bug 1509335 [wpt PR 14183] - WPT: service worker:
canvas tainting with two images from the same URL, a=testonly
Automatic update from web-platform-testsWPT: service worker: canvas tainting with two images from the same URL
This adds a test that does the following:
- Writes to a canvas with a cors same-origin image
- Writes to a canvas with a cors cross-origin image from the same URL
- Tests that the canvas is tainted after the second step.
Bug: 907047
Change-Id: Ie231b442eb9b55c642b3957c065555e6f4997a83
Reviewed-on: https://chromium-review.googlesource.com/c/1347952
Commit-Queue: Matt Falkenhagen
Reviewed-by: Makoto Shimazu
Cr-Commit-Position: refs/heads/master@{#610356}
--
wpt-commits: d65f24c346dff3b5dce2983b413805b97c223417
wpt-pr: 14183
---
...ch-canvas-tainting-double-write.https.html | 57 +++++++++++++++++++
...tch-canvas-tainting-double-write-worker.js | 7 +++
2 files changed, 64 insertions(+)
create mode 100644 testing/web-platform/tests/service-workers/service-worker/fetch-canvas-tainting-double-write.https.html
create mode 100644 testing/web-platform/tests/service-workers/service-worker/resources/fetch-canvas-tainting-double-write-worker.js
diff --git a/testing/web-platform/tests/service-workers/service-worker/fetch-canvas-tainting-double-write.https.html b/testing/web-platform/tests/service-workers/service-worker/fetch-canvas-tainting-double-write.https.html
new file mode 100644
index 0000000000000..4e233053729c4
--- /dev/null
+++ b/testing/web-platform/tests/service-workers/service-worker/fetch-canvas-tainting-double-write.https.html
@@ -0,0 +1,57 @@
+
+
+
+
+
+
+canvas tainting when written twice
+
diff --git a/testing/web-platform/tests/service-workers/service-worker/resources/fetch-canvas-tainting-double-write-worker.js b/testing/web-platform/tests/service-workers/service-worker/resources/fetch-canvas-tainting-double-write-worker.js
new file mode 100644
index 0000000000000..17723dcdda2f2
--- /dev/null
+++ b/testing/web-platform/tests/service-workers/service-worker/resources/fetch-canvas-tainting-double-write-worker.js
@@ -0,0 +1,7 @@
+self.addEventListener('fetch', (event) => {
+ url = new URL(event.request.url);
+ if (url.search == '?PNGIMAGE') {
+ localUrl = new URL(url.pathname + url.search, self.location);
+ event.respondWith(fetch(localUrl));
+ }
+});
From 890d37fb8c25117a585e44a11ab7387b7abd186c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fredrik=20S=C3=B6derquist?=
Date: Fri, 30 Nov 2018 16:53:06 +0000
Subject: [PATCH 017/143] Bug 1508871 [wpt PR 14148] - Expose all constants on
SVGFEBlendElement, a=testonly
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Automatic update from web-platform-testsExpose all constants on SVGFEBlendElement
Per:
https://drafts.fxtf.org/filter-effects/#InterfaceSVGFEBlendElement
All other browsers expose these already.
Bug: 906612
Change-Id: I4be6185d4832d980a5d7c6518dcb0b2ccca2ce82
Reviewed-on: https://chromium-review.googlesource.com/c/1341846
Reviewed-by: Philip Jägenstedt
Commit-Queue: Philip Jägenstedt
Cr-Commit-Position: refs/heads/master@{#610379}
--
wpt-commits: 21705cd7f9e2319c8e0bdb7f315f4217707fbe76
wpt-pr: 14148
---
.../svgfeblendelement-mode-001.html | 82 +++++++++++++++++++
...AnimatedEnumeration-SVGFEBlendElement.html | 61 --------------
2 files changed, 82 insertions(+), 61 deletions(-)
create mode 100644 testing/web-platform/tests/css/filter-effects/svgfeblendelement-mode-001.html
delete mode 100644 testing/web-platform/tests/svg/types/scripted/SVGAnimatedEnumeration-SVGFEBlendElement.html
diff --git a/testing/web-platform/tests/css/filter-effects/svgfeblendelement-mode-001.html b/testing/web-platform/tests/css/filter-effects/svgfeblendelement-mode-001.html
new file mode 100644
index 0000000000000..8c9e3ea05805a
--- /dev/null
+++ b/testing/web-platform/tests/css/filter-effects/svgfeblendelement-mode-001.html
@@ -0,0 +1,82 @@
+
+SVGFEBlendElement.prototype.mode
+
+
+
+
+
diff --git a/testing/web-platform/tests/svg/types/scripted/SVGAnimatedEnumeration-SVGFEBlendElement.html b/testing/web-platform/tests/svg/types/scripted/SVGAnimatedEnumeration-SVGFEBlendElement.html
deleted file mode 100644
index b399264a8d2ba..0000000000000
--- a/testing/web-platform/tests/svg/types/scripted/SVGAnimatedEnumeration-SVGFEBlendElement.html
+++ /dev/null
@@ -1,61 +0,0 @@
-
-Use of SVGAnimatedEnumeration within SVGFEBlendElement
-
-
-
\ No newline at end of file
From 30b84a55be968c9aade0e839dc99776eb7151a43 Mon Sep 17 00:00:00 2001
From: moz-wptsync-bot
Date: Thu, 22 Nov 2018 12:32:00 +0000
Subject: [PATCH 018/143] Bug 1508871 [wpt PR 14148] - Update wpt metadata,
a=testonly
wpt-pr: 14148
wpt-type: metadata
---
.../css/filter-effects/svgfeblendelement-mode-001.html.ini | 7 +++++++
.../SVGAnimatedEnumeration-SVGFEBlendElement.html.ini | 4 ----
2 files changed, 7 insertions(+), 4 deletions(-)
create mode 100644 testing/web-platform/meta/css/filter-effects/svgfeblendelement-mode-001.html.ini
delete mode 100644 testing/web-platform/meta/svg/types/scripted/SVGAnimatedEnumeration-SVGFEBlendElement.html.ini
diff --git a/testing/web-platform/meta/css/filter-effects/svgfeblendelement-mode-001.html.ini b/testing/web-platform/meta/css/filter-effects/svgfeblendelement-mode-001.html.ini
new file mode 100644
index 0000000000000..3deec71d570ca
--- /dev/null
+++ b/testing/web-platform/meta/css/filter-effects/svgfeblendelement-mode-001.html.ini
@@ -0,0 +1,7 @@
+[svgfeblendelement-mode-001.html]
+ [SVGFEBlendElement.prototype.mode, getter, invalid value]
+ expected: FAIL
+
+ [SVGFEBlendElement.prototype.mode, setter, numeric value for "normal"]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/svg/types/scripted/SVGAnimatedEnumeration-SVGFEBlendElement.html.ini b/testing/web-platform/meta/svg/types/scripted/SVGAnimatedEnumeration-SVGFEBlendElement.html.ini
deleted file mode 100644
index b87a612fde9fc..0000000000000
--- a/testing/web-platform/meta/svg/types/scripted/SVGAnimatedEnumeration-SVGFEBlendElement.html.ini
+++ /dev/null
@@ -1,4 +0,0 @@
-[SVGAnimatedEnumeration-SVGFEBlendElement.html]
- [Use of SVGAnimatedEnumeration within SVGFEBlendElement]
- expected: FAIL
-
From 8c437bc22b564d0decdd06822dac539702bb1cb9 Mon Sep 17 00:00:00 2001
From: Hiroki Nakagawa
Date: Fri, 30 Nov 2018 16:53:11 +0000
Subject: [PATCH 019/143] Bug 1509360 [wpt PR 14190] - Worker: Add
[Replaceable] to SharedWorkerGlobalScope.name, a=testonly
Automatic update from web-platform-testsWorker: Add [Replaceable] to SharedWorkerGlobalScope.name
The HTML spec requires SharedWorkerGlobalScope.name has [Replaceable]:
https://html.spec.whatwg.org/multipage/workers.html#shared-workers-and-the-sharedworkerglobalscope-interface
This CL also fixes a test expectation of
wpt/workers/interfaces/SharedWorkerGlobalScope/name/setting.html. The name
attribute is now replaceable, so the result should be replaced. Firefox fails
the test because of this wrong expectation:
https://wpt.fyi/results/workers/interfaces/SharedWorkerGlobalScope/name/setting.html?label=stable&aligned&q=%2Fname%2Fsetting.html
Bug: 875714
Change-Id: Id04ae30895a2de4a07e30f49dc1189bb9742f6b9
Reviewed-on: https://chromium-review.googlesource.com/c/1347962
Reviewed-by: Kent Tamura
Reviewed-by: Matt Falkenhagen
Commit-Queue: Hiroki Nakagawa
Cr-Commit-Position: refs/heads/master@{#610383}
--
wpt-commits: 76781be440f9f54acd0c8edc48dc423d727b4bba
wpt-pr: 14190
---
.../interfaces/SharedWorkerGlobalScope/name/setting.html | 2 +-
testing/web-platform/tests/workers/support/name.js | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/testing/web-platform/tests/workers/interfaces/SharedWorkerGlobalScope/name/setting.html b/testing/web-platform/tests/workers/interfaces/SharedWorkerGlobalScope/name/setting.html
index 39cdf7b674bf0..a3511263d5e86 100644
--- a/testing/web-platform/tests/workers/interfaces/SharedWorkerGlobalScope/name/setting.html
+++ b/testing/web-platform/tests/workers/interfaces/SharedWorkerGlobalScope/name/setting.html
@@ -14,7 +14,7 @@
async_test(function() {
var w1 = new SharedWorker('#1', 'x');
w1.port.addEventListener('message', this.step_func(function(e) {
- assert_equals(e.data, 'x');
+ assert_equals(e.data, 1);
this.done();
}), false);
w1.port.start();
diff --git a/testing/web-platform/tests/workers/support/name.js b/testing/web-platform/tests/workers/support/name.js
index 7c42c780856a8..970578e425a31 100644
--- a/testing/web-platform/tests/workers/support/name.js
+++ b/testing/web-platform/tests/workers/support/name.js
@@ -2,8 +2,8 @@
importScripts("/resources/testharness.js");
test(() => {
- assert_true(self.hasOwnProperty("name"), "property exists on the global")
- assert_equals(self.name, "my name")
+ assert_true(self.hasOwnProperty("name"), "property exists on the global");
+ assert_equals(self.name, "my name");
}, `name property value for ${self.constructor.name}`);
test(() => {
From 4c62356c1f61af210c16bd901b7caa21115aae35 Mon Sep 17 00:00:00 2001
From: moz-wptsync-bot
Date: Fri, 23 Nov 2018 05:21:28 +0000
Subject: [PATCH 020/143] Bug 1509360 [wpt PR 14190] - Update wpt metadata,
a=testonly
wpt-pr: 14190
wpt-type: metadata
---
.../interfaces/SharedWorkerGlobalScope/name/setting.html.ini | 4 ----
1 file changed, 4 deletions(-)
delete mode 100644 testing/web-platform/meta/workers/interfaces/SharedWorkerGlobalScope/name/setting.html.ini
diff --git a/testing/web-platform/meta/workers/interfaces/SharedWorkerGlobalScope/name/setting.html.ini b/testing/web-platform/meta/workers/interfaces/SharedWorkerGlobalScope/name/setting.html.ini
deleted file mode 100644
index c5ca0c3420c5e..0000000000000
--- a/testing/web-platform/meta/workers/interfaces/SharedWorkerGlobalScope/name/setting.html.ini
+++ /dev/null
@@ -1,4 +0,0 @@
-[setting.html]
- [setting name]
- expected: FAIL
-
From 677223d412ce62a6333801d850420644aa086b13 Mon Sep 17 00:00:00 2001
From: Yutaka Hirano
Date: Fri, 30 Nov 2018 16:53:17 +0000
Subject: [PATCH 021/143] Bug 1509343 [wpt PR 14185] - Make ReadableStream
extendable, a=testonly
Automatic update from web-platform-testsMake ReadableStream extendable
IDL defined ReadableStream was not extendable because it didn't use
provided |info.Holder()| as its wrapper. Instead, it creates a new
wrapper in Create functions.
This CL solves the issue by making the constructor "custom". The custom
constructor creates a blink::ReadableStream first, then associates it
to the wrapper, and then calls the appropriate Init function.
Bug: 906476
Change-Id: I91a7fec1cf4ee5e08704a944b0af852584d1679e
Reviewed-on: https://chromium-review.googlesource.com/c/1347643
Commit-Queue: Yutaka Hirano
Reviewed-by: Yuki Shiino
Reviewed-by: Adam Rice
Cr-Commit-Position: refs/heads/master@{#610391}
--
wpt-commits: a51c2df43ad4491d9a778f0f93e83b596fe47c2b
wpt-pr: 14185
---
.../web-platform/tests/streams/readable-streams/general.js | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/testing/web-platform/tests/streams/readable-streams/general.js b/testing/web-platform/tests/streams/readable-streams/general.js
index 05382d47f7eb6..c3cb0a9fc22d2 100644
--- a/testing/web-platform/tests/streams/readable-streams/general.js
+++ b/testing/web-platform/tests/streams/readable-streams/general.js
@@ -774,6 +774,13 @@ test(() => {
});
}, 'ReadableStream: desiredSize when errored');
+test(() => {
+ class Extended extends ReadableStream {
+ newMethod() { return 'foo' };
+ };
+ assert_equals((new Extended()).newMethod(), 'foo');
+}, 'ReadableStream: ReadableStream is extendable');
+
test(() => {
let startCalled = false;
From 3862a352bbc4eca1fc61c8127f8fc3d1160d6f1d Mon Sep 17 00:00:00 2001
From: Mugdha Lakhani
Date: Fri, 30 Nov 2018 16:53:25 +0000
Subject: [PATCH 022/143] Bug 1507325 [wpt PR 14060] - Add a list of
BackgroundFetchRecord objects to BackgroundFetchRegistration., a=testonly
Automatic update from web-platform-testsAdd a list of BackgroundFetchRecord objects to BackgroundFetchRegistration.
When we allow access to active background fetches, BackgroundFetchRecords for
the fetch can be accessed from multiple places. It simplifies matters if
we return the same record for a request whenever it's accessed.
This CL adds a (private) list of BackgroundFetchRecords to the
BackgroundFetchRegistration object, and updates it every time match and
matchAll() are called.
The second change introduced here is to not immediately resolve
responseReady() if the fetch is active and a response for the request
isn't yet available. Once the fetch has completed, or there's a response
available for the request, we resolve pending promises. We also make sure to
return the same promise (resolved or unresolved) for a given record,
every time responseReady is called.
For a more detailed discussion, see the following doc:
https://docs.google.com/document/d/1CrbWrnnshhyp_SfiAeuODpnQX36GK3Bsi19rXQGez6Q/edit?usp=sharing
Bug: 875201
Change-Id: I8cb386efd19086c0993ad2be2fb2691ad90597ec
Reviewed-on: https://chromium-review.googlesource.com/c/1336151
Commit-Queue: Mugdha Lakhani
Reviewed-by: Rayan Kanso
Reviewed-by: Peter Beverloo
Cr-Commit-Position: refs/heads/master@{#610410}
--
wpt-commits: 12720fdc8914deec3e7cc627036a26217cc1e908
wpt-pr: 14060
---
.../background-fetch/fetch.https.window.js | 24 +++++++++++++++++++
.../background-fetch/service_workers/sw.js | 12 ++++++++--
2 files changed, 34 insertions(+), 2 deletions(-)
diff --git a/testing/web-platform/tests/background-fetch/fetch.https.window.js b/testing/web-platform/tests/background-fetch/fetch.https.window.js
index 52d29db5dc4fe..e256c973f3e31 100644
--- a/testing/web-platform/tests/background-fetch/fetch.https.window.js
+++ b/testing/web-platform/tests/background-fetch/fetch.https.window.js
@@ -300,3 +300,27 @@ backgroundFetchTest(async (test, backgroundFetch) => {
}, 'Matching to a non-existing request should work');
+backgroundFetchTest(async (test, backgroundFetch) => {
+ const registrationId = 'matchexistingrequesttwice';
+ const registration =
+ await backgroundFetch.fetch(registrationId, 'resources/feature-name.txt');
+
+ assert_equals(registration.id, registrationId);
+
+ const {type, eventRegistration, results} = await getMessageFromServiceWorker();
+ assert_equals('backgroundfetchsuccess', type);
+ assert_equals(results.length, 2);
+
+ assert_equals(eventRegistration.id, registration.id);
+ assert_equals(eventRegistration.result, 'success');
+ assert_equals(eventRegistration.failureReason, '');
+
+ assert_true(results[0].url.includes('resources/feature-name.txt'));
+ assert_equals(results[0].status, 200);
+ assert_equals(results[0].text, 'Background Fetch');
+
+ assert_true(results[1].url.includes('resources/feature-name.txt'));
+ assert_equals(results[1].status, 200);
+ assert_equals(results[1].text, 'error');
+
+}, 'Matching multiple times on the same request works as expected.');
diff --git a/testing/web-platform/tests/background-fetch/service_workers/sw.js b/testing/web-platform/tests/background-fetch/service_workers/sw.js
index 80b479291ea11..d61059d40a4a0 100644
--- a/testing/web-platform/tests/background-fetch/service_workers/sw.js
+++ b/testing/web-platform/tests/background-fetch/service_workers/sw.js
@@ -8,17 +8,25 @@ async function getFetchResult(record) {
return {
url: response.url,
status: response.status,
- text: await response.text(),
+ text: await response.text().catch(() => 'error'),
};
}
function handleBackgroundFetchEvent(event) {
let matchFunction = null;
+
switch (event.registration.id) {
case 'matchexistingrequest':
matchFunction = event.registration.match.bind(
event.registration, '/background-fetch/resources/feature-name.txt');
break;
+ case 'matchexistingrequesttwice':
+ matchFunction = (async () => {
+ const match1 = await event.registration.match('/background-fetch/resources/feature-name.txt');
+ const match2 = await event.registration.match('/background-fetch/resources/feature-name.txt');
+ return [match1, match2];
+ }).bind(event.registration);
+ break;
case 'matchmissingrequest':
matchFunction = event.registration.match.bind(
event.registration, '/background-fetch/resources/missing.txt');
@@ -38,7 +46,7 @@ function handleBackgroundFetchEvent(event) {
})
// Extract responses.
.then(records =>
- Promise.all(records.map(record => getFetchResult(record))))
+ Promise.all(records.map(record => getFetchResult(record))))
// Clone registration and send message.
.then(results => {
const registrationCopy = cloneRegistration(event.registration);
From b9c4659373c5d84eed0b5846fb4a7613904cc600 Mon Sep 17 00:00:00 2001
From: moz-wptsync-bot
Date: Thu, 15 Nov 2018 05:16:50 +0000
Subject: [PATCH 023/143] Bug 1507325 [wpt PR 14060] - Update wpt metadata,
a=testonly
wpt-pr: 14060
wpt-type: metadata
---
.../meta/background-fetch/fetch.https.window.js.ini | 3 +++
1 file changed, 3 insertions(+)
diff --git a/testing/web-platform/meta/background-fetch/fetch.https.window.js.ini b/testing/web-platform/meta/background-fetch/fetch.https.window.js.ini
index 39f387dd587bb..4bc0ebd50c941 100644
--- a/testing/web-platform/meta/background-fetch/fetch.https.window.js.ini
+++ b/testing/web-platform/meta/background-fetch/fetch.https.window.js.ini
@@ -47,3 +47,6 @@
[Matching to a non-existing request should work]
expected: FAIL
+ [Matching multiple times on the same request works as expected.]
+ expected: FAIL
+
From 7b53417044b8a3e4b0043f0cad1e1f75f370ce6b Mon Sep 17 00:00:00 2001
From: Mattias Buelens
Date: Fri, 30 Nov 2018 16:53:30 +0000
Subject: [PATCH 024/143] Bug 1509204 [wpt PR 14172] - [streams] Refactor to
multi-global test format, a=testonly
Automatic update from web-platform-tests[streams] Refactor to multi-global test format (#14172)
* Rename streams tests to .any.js
* Use metadata to import resources in streams tests
* Run streams tests in all scopes
* Delete old test wrappers
* Delete old test wrapper generator
* Replace setTimeout with step_timeout
* Use t.step_timeout in tests
* Remove obsolete done calls
--
wpt-commits: a89730a0f3638d709ccc42064c8f8eb8935b04f7
wpt-pr: 14172
---
testing/web-platform/tests/lint.whitelist | 7 --
testing/web-platform/tests/streams/README.md | 11 ---
...js => byte-length-queuing-strategy.any.js} | 7 +-
...ngth-queuing-strategy.dedicatedworker.html | 11 ---
.../streams/byte-length-queuing-strategy.html | 10 --
...-queuing-strategy.serviceworker.https.html | 12 ---
...-length-queuing-strategy.sharedworker.html | 11 ---
...ategy.js => count-queuing-strategy.any.js} | 7 +-
...ount-queuing-strategy.dedicatedworker.html | 11 ---
.../tests/streams/count-queuing-strategy.html | 10 --
...-queuing-strategy.serviceworker.https.html | 12 ---
.../count-queuing-strategy.sharedworker.html | 11 ---
.../tests/streams/generate-test-wrappers.js | 99 -------------------
.../streams/piping/{abort.js => abort.any.js} | 11 +--
.../streams/piping/abort.dedicatedworker.html | 11 ---
.../tests/streams/piping/abort.html | 11 ---
.../piping/abort.serviceworker.https.html | 12 ---
.../streams/piping/abort.sharedworker.html | 11 ---
...d.js => close-propagation-backward.any.js} | 9 +-
...-propagation-backward.dedicatedworker.html | 11 ---
.../piping/close-propagation-backward.html | 10 --
...pagation-backward.serviceworker.https.html | 12 ---
...ose-propagation-backward.sharedworker.html | 11 ---
...rd.js => close-propagation-forward.any.js} | 47 ++++-----
...e-propagation-forward.dedicatedworker.html | 11 ---
.../piping/close-propagation-forward.html | 11 ---
...opagation-forward.serviceworker.https.html | 12 ---
...lose-propagation-forward.sharedworker.html | 11 ---
...d.js => error-propagation-backward.any.js} | 23 ++---
...-propagation-backward.dedicatedworker.html | 11 ---
.../piping/error-propagation-backward.html | 11 ---
...pagation-backward.serviceworker.https.html | 12 ---
...ror-propagation-backward.sharedworker.html | 11 ---
...rd.js => error-propagation-forward.any.js} | 47 ++++-----
...r-propagation-forward.dedicatedworker.html | 11 ---
.../piping/error-propagation-forward.html | 11 ---
...opagation-forward.serviceworker.https.html | 12 ---
...rror-propagation-forward.sharedworker.html | 11 ---
.../{flow-control.js => flow-control.any.js} | 13 +--
.../piping/flow-control.dedicatedworker.html | 11 ---
.../tests/streams/piping/flow-control.html | 12 ---
.../flow-control.serviceworker.https.html | 12 ---
.../piping/flow-control.sharedworker.html | 11 ---
.../piping/{general.js => general.any.js} | 17 ++--
.../piping/general.dedicatedworker.html | 11 ---
.../tests/streams/piping/general.html | 11 ---
.../piping/general.serviceworker.https.html | 12 ---
.../streams/piping/general.sharedworker.html | 11 ---
...agation.js => multiple-propagation.any.js} | 11 +--
.../multiple-propagation.dedicatedworker.html | 11 ---
.../streams/piping/multiple-propagation.html | 11 ---
...tiple-propagation.serviceworker.https.html | 12 ---
.../multiple-propagation.sharedworker.html | 11 ---
.../{pipe-through.js => pipe-through.any.js} | 11 +--
.../piping/pipe-through.dedicatedworker.html | 11 ---
.../tests/streams/piping/pipe-through.html | 11 ---
.../pipe-through.serviceworker.https.html | 12 ---
.../piping/pipe-through.sharedworker.html | 11 ---
...terception.js => then-interception.any.js} | 11 +--
.../then-interception.dedicatedworker.html | 11 ---
.../streams/piping/then-interception.html | 11 ---
...then-interception.serviceworker.https.html | 12 ---
.../then-interception.sharedworker.html | 11 ---
...rm-streams.js => transform-streams.any.js} | 7 +-
.../transform-streams.dedicatedworker.html | 11 ---
.../streams/piping/transform-streams.html | 10 --
...transform-streams.serviceworker.https.html | 12 ---
.../transform-streams.sharedworker.html | 11 ---
.../{brand-checks.js => brand-checks.any.js} | 9 +-
.../brand-checks.dedicatedworker.html | 11 ---
.../readable-byte-streams/brand-checks.html | 10 --
.../brand-checks.serviceworker.https.html | 12 ---
.../brand-checks.sharedworker.html | 11 ---
...quest.js => construct-byob-request.any.js} | 7 +-
...onstruct-byob-request.dedicatedworker.html | 11 ---
.../construct-byob-request.html | 10 --
...ruct-byob-request.serviceworker.https.html | 12 ---
.../construct-byob-request.sharedworker.html | 11 ---
.../{constructor.js => constructor.any.js} | 9 +-
.../constructor.dedicatedworker.html | 11 ---
.../readable-byte-streams/constructor.html | 10 --
.../constructor.serviceworker.https.html | 12 ---
.../constructor.sharedworker.html | 11 ---
...hed-buffers.js => detached-buffers.any.js} | 7 +-
.../detached-buffers.dedicatedworker.html | 11 ---
.../detached-buffers.html | 10 --
.../detached-buffers.serviceworker.https.html | 12 ---
.../detached-buffers.sharedworker.html | 11 ---
.../{general.js => general.any.js} | 11 +--
.../general.dedicatedworker.html | 11 ---
.../readable-byte-streams/general.html | 11 ---
.../general.serviceworker.https.html | 12 ---
.../general.sharedworker.html | 11 ---
.../{properties.js => properties.any.js} | 9 +-
.../properties.dedicatedworker.html | 11 ---
.../readable-byte-streams/properties.html | 10 --
.../properties.serviceworker.https.html | 12 ---
.../properties.sharedworker.html | 11 ---
...ad-strategies.js => bad-strategies.any.js} | 7 +-
.../bad-strategies.dedicatedworker.html | 11 ---
.../readable-streams/bad-strategies.html | 10 --
.../bad-strategies.serviceworker.https.html | 12 ---
.../bad-strategies.sharedworker.html | 11 ---
...urces.js => bad-underlying-sources.any.js} | 7 +-
...ad-underlying-sources.dedicatedworker.html | 11 ---
.../bad-underlying-sources.html | 10 --
...nderlying-sources.serviceworker.https.html | 12 ---
.../bad-underlying-sources.sharedworker.html | 11 ---
.../{brand-checks.js => brand-checks.any.js} | 9 +-
.../brand-checks.dedicatedworker.html | 11 ---
.../readable-streams/brand-checks.html | 10 --
.../brand-checks.serviceworker.https.html | 12 ---
.../brand-checks.sharedworker.html | 11 ---
.../{cancel.js => cancel.any.js} | 23 ++---
.../cancel.dedicatedworker.html | 11 ---
.../streams/readable-streams/cancel.html | 11 ---
.../cancel.serviceworker.https.html | 12 ---
.../readable-streams/cancel.sharedworker.html | 11 ---
.../{constructor.js => constructor.any.js} | 9 +-
.../constructor.dedicatedworker.html | 11 ---
.../streams/readable-streams/constructor.html | 10 --
.../constructor.serviceworker.https.html | 12 ---
.../constructor.sharedworker.html | 11 ---
...count-queuing-strategy-integration.any.js} | 7 +-
...-strategy-integration.dedicatedworker.html | 11 ---
.../count-queuing-strategy-integration.html | 10 --
...ategy-integration.serviceworker.https.html | 12 ---
...ing-strategy-integration.sharedworker.html | 11 ---
...efault-reader.js => default-reader.any.js} | 9 +-
.../default-reader.dedicatedworker.html | 11 ---
.../readable-streams/default-reader.html | 10 --
.../default-reader.serviceworker.https.html | 12 ---
.../default-reader.sharedworker.html | 11 ---
...=> floating-point-total-queue-size.any.js} | 7 +-
...oint-total-queue-size.dedicatedworker.html | 11 ---
.../floating-point-total-queue-size.html | 10 --
...-total-queue-size.serviceworker.https.html | 12 ---
...g-point-total-queue-size.sharedworker.html | 11 ---
...ollection.js => garbage-collection.any.js} | 9 +-
.../garbage-collection.dedicatedworker.html | 11 ---
.../readable-streams/garbage-collection.html | 10 --
...arbage-collection.serviceworker.https.html | 12 ---
.../garbage-collection.sharedworker.html | 11 ---
.../{general.js => general.any.js} | 11 +--
.../general.dedicatedworker.html | 11 ---
.../streams/readable-streams/general.html | 11 ---
.../general.serviceworker.https.html | 12 ---
.../general.sharedworker.html | 11 ---
...atched-global.js => patched-global.any.js} | 7 +-
.../patched-global.dedicatedworker.html | 11 ---
.../readable-streams/patched-global.html | 10 --
.../patched-global.serviceworker.https.html | 12 ---
.../patched-global.sharedworker.html | 11 ---
...ategies.js => reentrant-strategies.any.js} | 13 +--
.../reentrant-strategies.dedicatedworker.html | 11 ---
.../reentrant-strategies.html | 12 ---
...ntrant-strategies.serviceworker.https.html | 12 ---
.../reentrant-strategies.sharedworker.html | 11 ---
.../readable-streams/{tee.js => tee.any.js} | 9 +-
.../readable-streams/tee.dedicatedworker.html | 11 ---
.../tests/streams/readable-streams/tee.html | 10 --
.../tee.serviceworker.https.html | 12 ---
.../readable-streams/tee.sharedworker.html | 11 ---
.../{templated.js => templated.any.js} | 11 +--
.../templated.dedicatedworker.html | 11 ---
.../streams/readable-streams/templated.html | 11 ---
.../templated.serviceworker.https.html | 12 ---
.../templated.sharedworker.html | 11 ---
.../tests/streams/resources/rs-utils.js | 2 +-
.../{backpressure.js => backpressure.any.js} | 11 +--
.../backpressure.dedicatedworker.html | 11 ---
.../transform-streams/backpressure.html | 11 ---
.../backpressure.serviceworker.https.html | 12 ---
.../backpressure.sharedworker.html | 11 ---
.../{brand-checks.js => brand-checks.any.js} | 9 +-
.../brand-checks.dedicatedworker.html | 11 ---
.../transform-streams/brand-checks.html | 10 --
.../brand-checks.serviceworker.https.html | 12 ---
.../brand-checks.sharedworker.html | 11 ---
.../{constructor.js => constructor.any.js} | 9 +-
.../constructor.dedicatedworker.html | 11 ---
.../transform-streams/constructor.html | 10 --
.../constructor.serviceworker.https.html | 12 ---
.../constructor.sharedworker.html | 11 ---
.../{errors.js => errors.any.js} | 9 +-
.../errors.dedicatedworker.html | 11 ---
.../streams/transform-streams/errors.html | 10 --
.../errors.serviceworker.https.html | 12 ---
.../errors.sharedworker.html | 11 ---
.../{flush.js => flush.any.js} | 9 +-
.../flush.dedicatedworker.html | 11 ---
.../streams/transform-streams/flush.html | 10 --
.../flush.serviceworker.https.html | 12 ---
.../transform-streams/flush.sharedworker.html | 11 ---
.../{general.js => general.any.js} | 11 +--
.../general.dedicatedworker.html | 11 ---
.../streams/transform-streams/general.html | 11 ---
.../general.serviceworker.https.html | 12 ---
.../general.sharedworker.html | 11 ---
.../{lipfuzz.js => lipfuzz.any.js} | 7 +-
.../lipfuzz.dedicatedworker.html | 11 ---
.../streams/transform-streams/lipfuzz.html | 10 --
.../lipfuzz.serviceworker.https.html | 12 ---
.../lipfuzz.sharedworker.html | 11 ---
...atched-global.js => patched-global.any.js} | 7 +-
.../patched-global.dedicatedworker.html | 11 ---
.../transform-streams/patched-global.html | 10 --
.../patched-global.serviceworker.https.html | 12 ---
.../patched-global.sharedworker.html | 11 ---
.../{properties.js => properties.any.js} | 7 +-
.../properties.dedicatedworker.html | 11 ---
.../streams/transform-streams/properties.html | 10 --
.../properties.serviceworker.https.html | 12 ---
.../properties.sharedworker.html | 11 ---
...ategies.js => reentrant-strategies.any.js} | 13 +--
.../reentrant-strategies.dedicatedworker.html | 11 ---
.../reentrant-strategies.html | 12 ---
...ntrant-strategies.serviceworker.https.html | 12 ---
.../reentrant-strategies.sharedworker.html | 11 ---
.../{strategies.js => strategies.any.js} | 11 +--
.../strategies.dedicatedworker.html | 11 ---
.../streams/transform-streams/strategies.html | 11 ---
.../strategies.serviceworker.https.html | 12 ---
.../strategies.sharedworker.html | 11 ---
.../{terminate.js => terminate.any.js} | 11 +--
.../terminate.dedicatedworker.html | 11 ---
.../streams/transform-streams/terminate.html | 11 ---
.../terminate.serviceworker.https.html | 12 ---
.../terminate.sharedworker.html | 11 ---
.../{aborting.js => aborting.any.js} | 11 +--
.../aborting.dedicatedworker.html | 11 ---
.../streams/writable-streams/aborting.html | 11 ---
.../aborting.serviceworker.https.html | 12 ---
.../aborting.sharedworker.html | 11 ---
...ad-strategies.js => bad-strategies.any.js} | 7 +-
.../bad-strategies.dedicatedworker.html | 11 ---
.../writable-streams/bad-strategies.html | 10 --
.../bad-strategies.serviceworker.https.html | 12 ---
.../bad-strategies.sharedworker.html | 11 ---
...g-sinks.js => bad-underlying-sinks.any.js} | 11 +--
.../bad-underlying-sinks.dedicatedworker.html | 11 ---
.../bad-underlying-sinks.html | 11 ---
...-underlying-sinks.serviceworker.https.html | 12 ---
.../bad-underlying-sinks.sharedworker.html | 11 ---
.../{brand-checks.js => brand-checks.any.js} | 9 +-
.../brand-checks.dedicatedworker.html | 11 ---
.../writable-streams/brand-checks.html | 10 --
.../brand-checks.serviceworker.https.html | 12 ---
.../brand-checks.sharedworker.html | 11 ---
...js => byte-length-queuing-strategy.any.js} | 11 +--
...ngth-queuing-strategy.dedicatedworker.html | 11 ---
.../byte-length-queuing-strategy.html | 10 --
...-queuing-strategy.serviceworker.https.html | 12 ---
...-length-queuing-strategy.sharedworker.html | 11 ---
.../{close.js => close.any.js} | 11 +--
.../close.dedicatedworker.html | 11 ---
.../tests/streams/writable-streams/close.html | 11 ---
.../close.serviceworker.https.html | 12 ---
.../writable-streams/close.sharedworker.html | 11 ---
.../{constructor.js => constructor.any.js} | 9 +-
.../constructor.dedicatedworker.html | 11 ---
.../streams/writable-streams/constructor.html | 10 --
.../constructor.serviceworker.https.html | 12 ---
.../constructor.sharedworker.html | 11 ---
...ategy.js => count-queuing-strategy.any.js} | 7 +-
...ount-queuing-strategy.dedicatedworker.html | 11 ---
.../count-queuing-strategy.html | 10 --
...-queuing-strategy.serviceworker.https.html | 12 ---
.../count-queuing-strategy.sharedworker.html | 11 ---
.../{error.js => error.any.js} | 7 +-
.../error.dedicatedworker.html | 11 ---
.../tests/streams/writable-streams/error.html | 10 --
.../error.serviceworker.https.html | 12 ---
.../writable-streams/error.sharedworker.html | 11 ---
...=> floating-point-total-queue-size.any.js} | 7 +-
...oint-total-queue-size.dedicatedworker.html | 11 ---
.../floating-point-total-queue-size.html | 10 --
...-total-queue-size.serviceworker.https.html | 12 ---
...g-point-total-queue-size.sharedworker.html | 11 ---
.../{general.js => general.any.js} | 7 +-
.../general.dedicatedworker.html | 11 ---
.../streams/writable-streams/general.html | 10 --
.../general.serviceworker.https.html | 12 ---
.../general.sharedworker.html | 11 ---
.../{properties.js => properties.any.js} | 7 +-
.../properties.dedicatedworker.html | 11 ---
.../streams/writable-streams/properties.html | 10 --
.../properties.serviceworker.https.html | 12 ---
.../properties.sharedworker.html | 11 ---
...-strategy.js => reentrant-strategy.any.js} | 11 +--
.../reentrant-strategy.dedicatedworker.html | 11 ---
.../writable-streams/reentrant-strategy.html | 11 ---
...eentrant-strategy.serviceworker.https.html | 12 ---
.../reentrant-strategy.sharedworker.html | 11 ---
.../{start.js => start.any.js} | 11 +--
.../start.dedicatedworker.html | 11 ---
.../tests/streams/writable-streams/start.html | 11 ---
.../start.serviceworker.https.html | 12 ---
.../writable-streams/start.sharedworker.html | 11 ---
.../{write.js => write.any.js} | 11 +--
.../write.dedicatedworker.html | 11 ---
.../tests/streams/writable-streams/write.html | 11 ---
.../write.serviceworker.https.html | 12 ---
.../writable-streams/write.sharedworker.html | 11 ---
304 files changed, 183 insertions(+), 3266 deletions(-)
rename testing/web-platform/tests/streams/{byte-length-queuing-strategy.js => byte-length-queuing-strategy.any.js} (97%)
delete mode 100644 testing/web-platform/tests/streams/byte-length-queuing-strategy.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/byte-length-queuing-strategy.html
delete mode 100644 testing/web-platform/tests/streams/byte-length-queuing-strategy.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/byte-length-queuing-strategy.sharedworker.html
rename testing/web-platform/tests/streams/{count-queuing-strategy.js => count-queuing-strategy.any.js} (97%)
delete mode 100644 testing/web-platform/tests/streams/count-queuing-strategy.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/count-queuing-strategy.html
delete mode 100644 testing/web-platform/tests/streams/count-queuing-strategy.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/count-queuing-strategy.sharedworker.html
delete mode 100644 testing/web-platform/tests/streams/generate-test-wrappers.js
rename testing/web-platform/tests/streams/piping/{abort.js => abort.any.js} (98%)
delete mode 100644 testing/web-platform/tests/streams/piping/abort.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/piping/abort.html
delete mode 100644 testing/web-platform/tests/streams/piping/abort.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/piping/abort.sharedworker.html
rename testing/web-platform/tests/streams/piping/{close-propagation-backward.js => close-propagation-backward.any.js} (96%)
delete mode 100644 testing/web-platform/tests/streams/piping/close-propagation-backward.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/piping/close-propagation-backward.html
delete mode 100644 testing/web-platform/tests/streams/piping/close-propagation-backward.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/piping/close-propagation-backward.sharedworker.html
rename testing/web-platform/tests/streams/piping/{close-propagation-forward.js => close-propagation-forward.any.js} (95%)
delete mode 100644 testing/web-platform/tests/streams/piping/close-propagation-forward.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/piping/close-propagation-forward.html
delete mode 100644 testing/web-platform/tests/streams/piping/close-propagation-forward.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/piping/close-propagation-forward.sharedworker.html
rename testing/web-platform/tests/streams/piping/{error-propagation-backward.js => error-propagation-backward.any.js} (97%)
delete mode 100644 testing/web-platform/tests/streams/piping/error-propagation-backward.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/piping/error-propagation-backward.html
delete mode 100644 testing/web-platform/tests/streams/piping/error-propagation-backward.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/piping/error-propagation-backward.sharedworker.html
rename testing/web-platform/tests/streams/piping/{error-propagation-forward.js => error-propagation-forward.any.js} (94%)
delete mode 100644 testing/web-platform/tests/streams/piping/error-propagation-forward.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/piping/error-propagation-forward.html
delete mode 100644 testing/web-platform/tests/streams/piping/error-propagation-forward.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/piping/error-propagation-forward.sharedworker.html
rename testing/web-platform/tests/streams/piping/{flow-control.js => flow-control.any.js} (97%)
delete mode 100644 testing/web-platform/tests/streams/piping/flow-control.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/piping/flow-control.html
delete mode 100644 testing/web-platform/tests/streams/piping/flow-control.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/piping/flow-control.sharedworker.html
rename testing/web-platform/tests/streams/piping/{general.js => general.any.js} (94%)
delete mode 100644 testing/web-platform/tests/streams/piping/general.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/piping/general.html
delete mode 100644 testing/web-platform/tests/streams/piping/general.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/piping/general.sharedworker.html
rename testing/web-platform/tests/streams/piping/{multiple-propagation.js => multiple-propagation.any.js} (97%)
delete mode 100644 testing/web-platform/tests/streams/piping/multiple-propagation.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/piping/multiple-propagation.html
delete mode 100644 testing/web-platform/tests/streams/piping/multiple-propagation.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/piping/multiple-propagation.sharedworker.html
rename testing/web-platform/tests/streams/piping/{pipe-through.js => pipe-through.any.js} (97%)
delete mode 100644 testing/web-platform/tests/streams/piping/pipe-through.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/piping/pipe-through.html
delete mode 100644 testing/web-platform/tests/streams/piping/pipe-through.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/piping/pipe-through.sharedworker.html
rename testing/web-platform/tests/streams/piping/{then-interception.js => then-interception.any.js} (88%)
delete mode 100644 testing/web-platform/tests/streams/piping/then-interception.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/piping/then-interception.html
delete mode 100644 testing/web-platform/tests/streams/piping/then-interception.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/piping/then-interception.sharedworker.html
rename testing/web-platform/tests/streams/piping/{transform-streams.js => transform-streams.any.js} (84%)
delete mode 100644 testing/web-platform/tests/streams/piping/transform-streams.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/piping/transform-streams.html
delete mode 100644 testing/web-platform/tests/streams/piping/transform-streams.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/piping/transform-streams.sharedworker.html
rename testing/web-platform/tests/streams/readable-byte-streams/{brand-checks.js => brand-checks.any.js} (97%)
delete mode 100644 testing/web-platform/tests/streams/readable-byte-streams/brand-checks.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/readable-byte-streams/brand-checks.html
delete mode 100644 testing/web-platform/tests/streams/readable-byte-streams/brand-checks.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/readable-byte-streams/brand-checks.sharedworker.html
rename testing/web-platform/tests/streams/readable-byte-streams/{construct-byob-request.js => construct-byob-request.any.js} (95%)
delete mode 100644 testing/web-platform/tests/streams/readable-byte-streams/construct-byob-request.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/readable-byte-streams/construct-byob-request.html
delete mode 100644 testing/web-platform/tests/streams/readable-byte-streams/construct-byob-request.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/readable-byte-streams/construct-byob-request.sharedworker.html
rename testing/web-platform/tests/streams/readable-byte-streams/{constructor.js => constructor.any.js} (91%)
delete mode 100644 testing/web-platform/tests/streams/readable-byte-streams/constructor.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/readable-byte-streams/constructor.html
delete mode 100644 testing/web-platform/tests/streams/readable-byte-streams/constructor.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/readable-byte-streams/constructor.sharedworker.html
rename testing/web-platform/tests/streams/readable-byte-streams/{detached-buffers.js => detached-buffers.any.js} (98%)
delete mode 100644 testing/web-platform/tests/streams/readable-byte-streams/detached-buffers.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/readable-byte-streams/detached-buffers.html
delete mode 100644 testing/web-platform/tests/streams/readable-byte-streams/detached-buffers.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/readable-byte-streams/detached-buffers.sharedworker.html
rename testing/web-platform/tests/streams/readable-byte-streams/{general.js => general.any.js} (99%)
delete mode 100644 testing/web-platform/tests/streams/readable-byte-streams/general.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/readable-byte-streams/general.html
delete mode 100644 testing/web-platform/tests/streams/readable-byte-streams/general.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/readable-byte-streams/general.sharedworker.html
rename testing/web-platform/tests/streams/readable-byte-streams/{properties.js => properties.any.js} (97%)
delete mode 100644 testing/web-platform/tests/streams/readable-byte-streams/properties.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/readable-byte-streams/properties.html
delete mode 100644 testing/web-platform/tests/streams/readable-byte-streams/properties.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/readable-byte-streams/properties.sharedworker.html
rename testing/web-platform/tests/streams/readable-streams/{bad-strategies.js => bad-strategies.any.js} (97%)
delete mode 100644 testing/web-platform/tests/streams/readable-streams/bad-strategies.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/bad-strategies.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/bad-strategies.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/bad-strategies.sharedworker.html
rename testing/web-platform/tests/streams/readable-streams/{bad-underlying-sources.js => bad-underlying-sources.any.js} (99%)
delete mode 100644 testing/web-platform/tests/streams/readable-streams/bad-underlying-sources.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/bad-underlying-sources.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/bad-underlying-sources.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/bad-underlying-sources.sharedworker.html
rename testing/web-platform/tests/streams/readable-streams/{brand-checks.js => brand-checks.any.js} (97%)
delete mode 100644 testing/web-platform/tests/streams/readable-streams/brand-checks.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/brand-checks.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/brand-checks.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/brand-checks.sharedworker.html
rename testing/web-platform/tests/streams/readable-streams/{cancel.js => cancel.any.js} (94%)
delete mode 100644 testing/web-platform/tests/streams/readable-streams/cancel.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/cancel.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/cancel.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/cancel.sharedworker.html
rename testing/web-platform/tests/streams/readable-streams/{constructor.js => constructor.any.js} (87%)
delete mode 100644 testing/web-platform/tests/streams/readable-streams/constructor.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/constructor.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/constructor.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/constructor.sharedworker.html
rename testing/web-platform/tests/streams/readable-streams/{count-queuing-strategy-integration.js => count-queuing-strategy-integration.any.js} (98%)
delete mode 100644 testing/web-platform/tests/streams/readable-streams/count-queuing-strategy-integration.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/count-queuing-strategy-integration.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/count-queuing-strategy-integration.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/count-queuing-strategy-integration.sharedworker.html
rename testing/web-platform/tests/streams/readable-streams/{default-reader.js => default-reader.any.js} (99%)
delete mode 100644 testing/web-platform/tests/streams/readable-streams/default-reader.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/default-reader.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/default-reader.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/default-reader.sharedworker.html
rename testing/web-platform/tests/streams/readable-streams/{floating-point-total-queue-size.js => floating-point-total-queue-size.any.js} (98%)
delete mode 100644 testing/web-platform/tests/streams/readable-streams/floating-point-total-queue-size.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/floating-point-total-queue-size.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/floating-point-total-queue-size.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/floating-point-total-queue-size.sharedworker.html
rename testing/web-platform/tests/streams/readable-streams/{garbage-collection.js => garbage-collection.any.js} (92%)
delete mode 100644 testing/web-platform/tests/streams/readable-streams/garbage-collection.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/garbage-collection.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/garbage-collection.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/garbage-collection.sharedworker.html
rename testing/web-platform/tests/streams/readable-streams/{general.js => general.any.js} (99%)
delete mode 100644 testing/web-platform/tests/streams/readable-streams/general.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/general.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/general.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/general.sharedworker.html
rename testing/web-platform/tests/streams/readable-streams/{patched-global.js => patched-global.any.js} (95%)
delete mode 100644 testing/web-platform/tests/streams/readable-streams/patched-global.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/patched-global.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/patched-global.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/patched-global.sharedworker.html
rename testing/web-platform/tests/streams/readable-streams/{reentrant-strategies.js => reentrant-strategies.any.js} (96%)
delete mode 100644 testing/web-platform/tests/streams/readable-streams/reentrant-strategies.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/reentrant-strategies.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/reentrant-strategies.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/reentrant-strategies.sharedworker.html
rename testing/web-platform/tests/streams/readable-streams/{tee.js => tee.any.js} (98%)
delete mode 100644 testing/web-platform/tests/streams/readable-streams/tee.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/tee.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/tee.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/tee.sharedworker.html
rename testing/web-platform/tests/streams/readable-streams/{templated.js => templated.any.js} (94%)
delete mode 100644 testing/web-platform/tests/streams/readable-streams/templated.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/templated.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/templated.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/readable-streams/templated.sharedworker.html
rename testing/web-platform/tests/streams/transform-streams/{backpressure.js => backpressure.any.js} (97%)
delete mode 100644 testing/web-platform/tests/streams/transform-streams/backpressure.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/transform-streams/backpressure.html
delete mode 100644 testing/web-platform/tests/streams/transform-streams/backpressure.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/transform-streams/backpressure.sharedworker.html
rename testing/web-platform/tests/streams/transform-streams/{brand-checks.js => brand-checks.any.js} (94%)
delete mode 100644 testing/web-platform/tests/streams/transform-streams/brand-checks.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/transform-streams/brand-checks.html
delete mode 100644 testing/web-platform/tests/streams/transform-streams/brand-checks.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/transform-streams/brand-checks.sharedworker.html
rename testing/web-platform/tests/streams/transform-streams/{constructor.js => constructor.any.js} (91%)
delete mode 100644 testing/web-platform/tests/streams/transform-streams/constructor.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/transform-streams/constructor.html
delete mode 100644 testing/web-platform/tests/streams/transform-streams/constructor.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/transform-streams/constructor.sharedworker.html
rename testing/web-platform/tests/streams/transform-streams/{errors.js => errors.any.js} (98%)
delete mode 100644 testing/web-platform/tests/streams/transform-streams/errors.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/transform-streams/errors.html
delete mode 100644 testing/web-platform/tests/streams/transform-streams/errors.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/transform-streams/errors.sharedworker.html
rename testing/web-platform/tests/streams/transform-streams/{flush.js => flush.any.js} (96%)
delete mode 100644 testing/web-platform/tests/streams/transform-streams/flush.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/transform-streams/flush.html
delete mode 100644 testing/web-platform/tests/streams/transform-streams/flush.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/transform-streams/flush.sharedworker.html
rename testing/web-platform/tests/streams/transform-streams/{general.js => general.any.js} (98%)
delete mode 100644 testing/web-platform/tests/streams/transform-streams/general.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/transform-streams/general.html
delete mode 100644 testing/web-platform/tests/streams/transform-streams/general.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/transform-streams/general.sharedworker.html
rename testing/web-platform/tests/streams/transform-streams/{lipfuzz.js => lipfuzz.any.js} (97%)
delete mode 100644 testing/web-platform/tests/streams/transform-streams/lipfuzz.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/transform-streams/lipfuzz.html
delete mode 100644 testing/web-platform/tests/streams/transform-streams/lipfuzz.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/transform-streams/lipfuzz.sharedworker.html
rename testing/web-platform/tests/streams/transform-streams/{patched-global.js => patched-global.any.js} (95%)
delete mode 100644 testing/web-platform/tests/streams/transform-streams/patched-global.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/transform-streams/patched-global.html
delete mode 100644 testing/web-platform/tests/streams/transform-streams/patched-global.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/transform-streams/patched-global.sharedworker.html
rename testing/web-platform/tests/streams/transform-streams/{properties.js => properties.any.js} (98%)
delete mode 100644 testing/web-platform/tests/streams/transform-streams/properties.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/transform-streams/properties.html
delete mode 100644 testing/web-platform/tests/streams/transform-streams/properties.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/transform-streams/properties.sharedworker.html
rename testing/web-platform/tests/streams/transform-streams/{reentrant-strategies.js => reentrant-strategies.any.js} (97%)
delete mode 100644 testing/web-platform/tests/streams/transform-streams/reentrant-strategies.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/transform-streams/reentrant-strategies.html
delete mode 100644 testing/web-platform/tests/streams/transform-streams/reentrant-strategies.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/transform-streams/reentrant-strategies.sharedworker.html
rename testing/web-platform/tests/streams/transform-streams/{strategies.js => strategies.any.js} (96%)
delete mode 100644 testing/web-platform/tests/streams/transform-streams/strategies.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/transform-streams/strategies.html
delete mode 100644 testing/web-platform/tests/streams/transform-streams/strategies.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/transform-streams/strategies.sharedworker.html
rename testing/web-platform/tests/streams/transform-streams/{terminate.js => terminate.any.js} (94%)
delete mode 100644 testing/web-platform/tests/streams/transform-streams/terminate.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/transform-streams/terminate.html
delete mode 100644 testing/web-platform/tests/streams/transform-streams/terminate.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/transform-streams/terminate.sharedworker.html
rename testing/web-platform/tests/streams/writable-streams/{aborting.js => aborting.any.js} (99%)
delete mode 100644 testing/web-platform/tests/streams/writable-streams/aborting.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/aborting.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/aborting.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/aborting.sharedworker.html
rename testing/web-platform/tests/streams/writable-streams/{bad-strategies.js => bad-strategies.any.js} (96%)
delete mode 100644 testing/web-platform/tests/streams/writable-streams/bad-strategies.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/bad-strategies.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/bad-strategies.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/bad-strategies.sharedworker.html
rename testing/web-platform/tests/streams/writable-streams/{bad-underlying-sinks.js => bad-underlying-sinks.any.js} (96%)
delete mode 100644 testing/web-platform/tests/streams/writable-streams/bad-underlying-sinks.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/bad-underlying-sinks.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/bad-underlying-sinks.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/bad-underlying-sinks.sharedworker.html
rename testing/web-platform/tests/streams/writable-streams/{brand-checks.js => brand-checks.any.js} (96%)
delete mode 100644 testing/web-platform/tests/streams/writable-streams/brand-checks.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/brand-checks.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/brand-checks.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/brand-checks.sharedworker.html
rename testing/web-platform/tests/streams/writable-streams/{byte-length-queuing-strategy.js => byte-length-queuing-strategy.any.js} (81%)
delete mode 100644 testing/web-platform/tests/streams/writable-streams/byte-length-queuing-strategy.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/byte-length-queuing-strategy.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/byte-length-queuing-strategy.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/byte-length-queuing-strategy.sharedworker.html
rename testing/web-platform/tests/streams/writable-streams/{close.js => close.any.js} (98%)
delete mode 100644 testing/web-platform/tests/streams/writable-streams/close.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/close.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/close.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/close.sharedworker.html
rename testing/web-platform/tests/streams/writable-streams/{constructor.js => constructor.any.js} (97%)
delete mode 100644 testing/web-platform/tests/streams/writable-streams/constructor.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/constructor.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/constructor.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/constructor.sharedworker.html
rename testing/web-platform/tests/streams/writable-streams/{count-queuing-strategy.js => count-queuing-strategy.any.js} (97%)
delete mode 100644 testing/web-platform/tests/streams/writable-streams/count-queuing-strategy.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/count-queuing-strategy.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/count-queuing-strategy.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/count-queuing-strategy.sharedworker.html
rename testing/web-platform/tests/streams/writable-streams/{error.js => error.any.js} (94%)
delete mode 100644 testing/web-platform/tests/streams/writable-streams/error.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/error.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/error.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/error.sharedworker.html
rename testing/web-platform/tests/streams/writable-streams/{floating-point-total-queue-size.js => floating-point-total-queue-size.any.js} (97%)
delete mode 100644 testing/web-platform/tests/streams/writable-streams/floating-point-total-queue-size.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/floating-point-total-queue-size.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/floating-point-total-queue-size.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/floating-point-total-queue-size.sharedworker.html
rename testing/web-platform/tests/streams/writable-streams/{general.js => general.any.js} (98%)
delete mode 100644 testing/web-platform/tests/streams/writable-streams/general.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/general.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/general.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/general.sharedworker.html
rename testing/web-platform/tests/streams/writable-streams/{properties.js => properties.any.js} (98%)
delete mode 100644 testing/web-platform/tests/streams/writable-streams/properties.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/properties.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/properties.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/properties.sharedworker.html
rename testing/web-platform/tests/streams/writable-streams/{reentrant-strategy.js => reentrant-strategy.any.js} (96%)
delete mode 100644 testing/web-platform/tests/streams/writable-streams/reentrant-strategy.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/reentrant-strategy.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/reentrant-strategy.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/reentrant-strategy.sharedworker.html
rename testing/web-platform/tests/streams/writable-streams/{start.js => start.any.js} (96%)
delete mode 100644 testing/web-platform/tests/streams/writable-streams/start.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/start.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/start.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/start.sharedworker.html
rename testing/web-platform/tests/streams/writable-streams/{write.js => write.any.js} (97%)
delete mode 100644 testing/web-platform/tests/streams/writable-streams/write.dedicatedworker.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/write.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/write.serviceworker.https.html
delete mode 100644 testing/web-platform/tests/streams/writable-streams/write.sharedworker.html
diff --git a/testing/web-platform/tests/lint.whitelist b/testing/web-platform/tests/lint.whitelist
index dd90081c83eb6..c3ff66bc0cf78 100644
--- a/testing/web-platform/tests/lint.whitelist
+++ b/testing/web-platform/tests/lint.whitelist
@@ -206,13 +206,6 @@ SET TIMEOUT: shadow-dom/Document-prototype-currentScript.html
SET TIMEOUT: shadow-dom/scroll-to-the-fragment-in-shadow-tree.html
SET TIMEOUT: shadow-dom/slotchange-event.html
SET TIMEOUT: shadow-dom/untriaged/html-elements-in-shadow-trees/html-forms/test-003.html
-SET TIMEOUT: streams/piping/close-propagation-forward.js
-SET TIMEOUT: streams/piping/error-propagation-backward.js
-SET TIMEOUT: streams/piping/error-propagation-forward.js
-SET TIMEOUT: streams/piping/general.js
-SET TIMEOUT: streams/readable-streams/cancel.js
-SET TIMEOUT: streams/resources/rs-utils.js
-SET TIMEOUT: streams/writable-streams/byte-length-queuing-strategy.js
SET TIMEOUT: trusted-types/block-string-assignment-to-DOMWindowTimers-setTimeout-setInterval.tentative.html
SET TIMEOUT: trusted-types/DOMWindowTimers-setTimeout-setInterval.tentative.html
SET TIMEOUT: user-timing/*
diff --git a/testing/web-platform/tests/streams/README.md b/testing/web-platform/tests/streams/README.md
index 8868a858e5f49..fd964cf7e5b75 100644
--- a/testing/web-platform/tests/streams/README.md
+++ b/testing/web-platform/tests/streams/README.md
@@ -1,14 +1,3 @@
# Streams Tests
The work on the streams tests is closely tracked by the specification authors, who maintain a reference implementation intended to match the spec line-by-line while passing all of these tests. See [the whatwg/streams repository for details](https://github.com/whatwg/streams/tree/master/reference-implementation). Some tests may be in that repository while the spec sections they test are still undergoing heavy churn.
-
-## Generating wrapper files
-
-Because the streams feature is supposed to work in all global contexts, each test is written as a `.js` file, and then four `.html` files are generated around it. So for example, for `count-queueing-strategy.js`, we have the wrapper files:
-
-- `count-queueing-strategy.https.html`
-- `count-queueing-strategy.dedicatedworker.html`
-- `count-queueing-strategy-sharedworker.html`
-- `count-queueing-strategy-serviceworker.html`
-
-These are generated automatically by the Node.js script in `generate-test-wrappers.js`. See it for details, and please remember to use it whenever adding new tests.
diff --git a/testing/web-platform/tests/streams/byte-length-queuing-strategy.js b/testing/web-platform/tests/streams/byte-length-queuing-strategy.any.js
similarity index 97%
rename from testing/web-platform/tests/streams/byte-length-queuing-strategy.js
rename to testing/web-platform/tests/streams/byte-length-queuing-strategy.any.js
index e96e68ee406a5..e4ad144cbc37c 100644
--- a/testing/web-platform/tests/streams/byte-length-queuing-strategy.js
+++ b/testing/web-platform/tests/streams/byte-length-queuing-strategy.any.js
@@ -1,9 +1,6 @@
+// META: global=worker
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
-}
-
test(() => {
new ByteLengthQueuingStrategy({ highWaterMark: 4 });
@@ -110,5 +107,3 @@ test(() => {
'ByteLengthQueuingStrategy.name must be "ByteLengthQueuingStrategy"');
}, 'ByteLengthQueuingStrategy.name is correct');
-
-done();
diff --git a/testing/web-platform/tests/streams/byte-length-queuing-strategy.dedicatedworker.html b/testing/web-platform/tests/streams/byte-length-queuing-strategy.dedicatedworker.html
deleted file mode 100644
index ae8e7f729f451..0000000000000
--- a/testing/web-platform/tests/streams/byte-length-queuing-strategy.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-byte-length-queuing-strategy.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/byte-length-queuing-strategy.html b/testing/web-platform/tests/streams/byte-length-queuing-strategy.html
deleted file mode 100644
index e1eaa3bfa4d7b..0000000000000
--- a/testing/web-platform/tests/streams/byte-length-queuing-strategy.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-byte-length-queuing-strategy.js browser context wrapper file
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/byte-length-queuing-strategy.serviceworker.https.html b/testing/web-platform/tests/streams/byte-length-queuing-strategy.serviceworker.https.html
deleted file mode 100644
index 12ac856d2825a..0000000000000
--- a/testing/web-platform/tests/streams/byte-length-queuing-strategy.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-byte-length-queuing-strategy.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/byte-length-queuing-strategy.sharedworker.html b/testing/web-platform/tests/streams/byte-length-queuing-strategy.sharedworker.html
deleted file mode 100644
index 765878e3e6a65..0000000000000
--- a/testing/web-platform/tests/streams/byte-length-queuing-strategy.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-byte-length-queuing-strategy.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/count-queuing-strategy.js b/testing/web-platform/tests/streams/count-queuing-strategy.any.js
similarity index 97%
rename from testing/web-platform/tests/streams/count-queuing-strategy.js
rename to testing/web-platform/tests/streams/count-queuing-strategy.any.js
index 8da8eb679def3..00cba3cdc6cdd 100644
--- a/testing/web-platform/tests/streams/count-queuing-strategy.js
+++ b/testing/web-platform/tests/streams/count-queuing-strategy.any.js
@@ -1,9 +1,6 @@
+// META: global=worker
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
-}
-
test(() => {
new CountQueuingStrategy({ highWaterMark: 4 });
@@ -109,5 +106,3 @@ test(() => {
'CountQueuingStrategy.name must be "CountQueuingStrategy"');
}, 'CountQueuingStrategy.name is correct');
-
-done();
diff --git a/testing/web-platform/tests/streams/count-queuing-strategy.dedicatedworker.html b/testing/web-platform/tests/streams/count-queuing-strategy.dedicatedworker.html
deleted file mode 100644
index d0136ebdea3bc..0000000000000
--- a/testing/web-platform/tests/streams/count-queuing-strategy.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-count-queuing-strategy.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/count-queuing-strategy.html b/testing/web-platform/tests/streams/count-queuing-strategy.html
deleted file mode 100644
index 1bbed394b3f09..0000000000000
--- a/testing/web-platform/tests/streams/count-queuing-strategy.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-count-queuing-strategy.js browser context wrapper file
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/count-queuing-strategy.serviceworker.https.html b/testing/web-platform/tests/streams/count-queuing-strategy.serviceworker.https.html
deleted file mode 100644
index 613ae0e974842..0000000000000
--- a/testing/web-platform/tests/streams/count-queuing-strategy.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-count-queuing-strategy.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/count-queuing-strategy.sharedworker.html b/testing/web-platform/tests/streams/count-queuing-strategy.sharedworker.html
deleted file mode 100644
index 6d43612a8ebd7..0000000000000
--- a/testing/web-platform/tests/streams/count-queuing-strategy.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-count-queuing-strategy.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/generate-test-wrappers.js b/testing/web-platform/tests/streams/generate-test-wrappers.js
deleted file mode 100644
index 22e5c786bbc4d..0000000000000
--- a/testing/web-platform/tests/streams/generate-test-wrappers.js
+++ /dev/null
@@ -1,99 +0,0 @@
-"use strict";
-// Usage: `node generate-test-wrappers.js js-filename1.js [js-filename2.js ...]` will generate:
-// - js-filename1.html
-// - js-filename1.sharedworker.html
-// - js-filename1.dedicatedworker.html
-// - js-filename1.serviceworker.https.html
-// (for each passed filename)
-//
-// It will turn any importScripts inside the .js file into `)
- .join('\n');
-
- const basename = path.basename(jsFilename);
- const noExtension = path.basename(jsFilename, '.js');
-
- const outputs = {
- '.html': `
-
-${basename} browser context wrapper file
-
-
-
-
-${importedScriptTags}
-
-
-`,
- '.dedicatedworker.html': `
-
-${basename} dedicated worker wrapper file
-
-
-
-
-
-`,
- '.sharedworker.html': `
-
-${basename} shared worker wrapper file
-
-
-
-
-
-`,
- '.serviceworker.https.html': `
-
-${basename} service worker wrapper file
-
-
-
-
-
-
-`
- };
-
- for (const [key, value] of Object.entries(outputs)) {
- const destFilename = path.resolve(path.dirname(jsFilename), `${noExtension}${key}`);
- fs.writeFileSync(destFilename, value, { encoding: 'utf-8' });
- }
-}
-
-function findImportedScriptFilenames(inputFilename) {
- const scriptContents = fs.readFileSync(inputFilename, { encoding: 'utf-8' });
-
- const regExp = /self\.importScripts\('([^']+)'\);/g;
-
- let result = [];
- let match;
- while (match = regExp.exec(scriptContents)) {
- result.push(match[1]);
- }
-
- return result.filter(x => x !== '/resources/testharness.js');
-}
diff --git a/testing/web-platform/tests/streams/piping/abort.js b/testing/web-platform/tests/streams/piping/abort.any.js
similarity index 98%
rename from testing/web-platform/tests/streams/piping/abort.js
rename to testing/web-platform/tests/streams/piping/abort.any.js
index bb20ee30b396c..6282a154469cb 100644
--- a/testing/web-platform/tests/streams/piping/abort.js
+++ b/testing/web-platform/tests/streams/piping/abort.any.js
@@ -1,14 +1,11 @@
+// META: global=worker
+// META: script=../resources/recording-streams.js
+// META: script=../resources/test-utils.js
'use strict';
// Tests for the use of pipeTo with AbortSignal.
// There is some extra complexity to avoid timeouts in environments where abort is not implemented.
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
- self.importScripts('../resources/recording-streams.js');
- self.importScripts('../resources/test-utils.js');
-}
-
const error1 = new Error('error1');
error1.name = 'error1';
const error2 = new Error('error2');
@@ -361,5 +358,3 @@ promise_test(t => {
assert_array_equals(rs.events, ['pull'], 'cancel should not have been called');
});
}, 'abort should do nothing after the writable is errored');
-
-done();
diff --git a/testing/web-platform/tests/streams/piping/abort.dedicatedworker.html b/testing/web-platform/tests/streams/piping/abort.dedicatedworker.html
deleted file mode 100644
index 231c3543d5289..0000000000000
--- a/testing/web-platform/tests/streams/piping/abort.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-abort.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/abort.html b/testing/web-platform/tests/streams/piping/abort.html
deleted file mode 100644
index d55e6f7074e3d..0000000000000
--- a/testing/web-platform/tests/streams/piping/abort.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-abort.js browser context wrapper file
-
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/abort.serviceworker.https.html b/testing/web-platform/tests/streams/piping/abort.serviceworker.https.html
deleted file mode 100644
index 5c0809f0d0c1d..0000000000000
--- a/testing/web-platform/tests/streams/piping/abort.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-abort.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/abort.sharedworker.html b/testing/web-platform/tests/streams/piping/abort.sharedworker.html
deleted file mode 100644
index 8cdf8512c8112..0000000000000
--- a/testing/web-platform/tests/streams/piping/abort.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-abort.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/close-propagation-backward.js b/testing/web-platform/tests/streams/piping/close-propagation-backward.any.js
similarity index 96%
rename from testing/web-platform/tests/streams/piping/close-propagation-backward.js
rename to testing/web-platform/tests/streams/piping/close-propagation-backward.any.js
index 31207e99672ba..90f6412641f7e 100644
--- a/testing/web-platform/tests/streams/piping/close-propagation-backward.js
+++ b/testing/web-platform/tests/streams/piping/close-propagation-backward.any.js
@@ -1,10 +1,7 @@
+// META: global=worker
+// META: script=../resources/recording-streams.js
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
- self.importScripts('../resources/recording-streams.js');
-}
-
const error1 = new Error('error1!');
error1.name = 'error1';
@@ -154,5 +151,3 @@ promise_test(t => {
}, 'Closing must be propagated backward: starts closed; preventCancel = true, preventAbort = true, preventClose ' +
'= true');
-
-done();
diff --git a/testing/web-platform/tests/streams/piping/close-propagation-backward.dedicatedworker.html b/testing/web-platform/tests/streams/piping/close-propagation-backward.dedicatedworker.html
deleted file mode 100644
index 07f3875b2b028..0000000000000
--- a/testing/web-platform/tests/streams/piping/close-propagation-backward.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-close-propagation-backward.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/close-propagation-backward.html b/testing/web-platform/tests/streams/piping/close-propagation-backward.html
deleted file mode 100644
index 25239a33b15ab..0000000000000
--- a/testing/web-platform/tests/streams/piping/close-propagation-backward.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-close-propagation-backward.js browser context wrapper file
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/close-propagation-backward.serviceworker.https.html b/testing/web-platform/tests/streams/piping/close-propagation-backward.serviceworker.https.html
deleted file mode 100644
index 96b30406e9815..0000000000000
--- a/testing/web-platform/tests/streams/piping/close-propagation-backward.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-close-propagation-backward.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/close-propagation-backward.sharedworker.html b/testing/web-platform/tests/streams/piping/close-propagation-backward.sharedworker.html
deleted file mode 100644
index ed19b76888478..0000000000000
--- a/testing/web-platform/tests/streams/piping/close-propagation-backward.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-close-propagation-backward.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/close-propagation-forward.js b/testing/web-platform/tests/streams/piping/close-propagation-forward.any.js
similarity index 95%
rename from testing/web-platform/tests/streams/piping/close-propagation-forward.js
rename to testing/web-platform/tests/streams/piping/close-propagation-forward.any.js
index 9b1546d80c547..da249713d6d2f 100644
--- a/testing/web-platform/tests/streams/piping/close-propagation-forward.js
+++ b/testing/web-platform/tests/streams/piping/close-propagation-forward.any.js
@@ -1,11 +1,8 @@
+// META: global=worker
+// META: script=../resources/test-utils.js
+// META: script=../resources/recording-streams.js
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
- self.importScripts('../resources/test-utils.js');
- self.importScripts('../resources/recording-streams.js');
-}
-
const error1 = new Error('error1!');
error1.name = 'error1';
@@ -158,7 +155,7 @@ promise_test(() => {
}, 'Closing must be propagated forward: starts closed; preventClose = true, preventAbort = true, preventCancel = true');
-promise_test(() => {
+promise_test(t => {
const rs = recordingReadableStream();
@@ -166,7 +163,7 @@ promise_test(() => {
const pipePromise = rs.pipeTo(ws);
- setTimeout(() => rs.controller.close());
+ t.step_timeout(() => rs.controller.close());
return pipePromise.then(value => {
assert_equals(value, undefined, 'the promise must fulfill with undefined');
@@ -195,7 +192,7 @@ promise_test(t => {
const pipePromise = promise_rejects(t, error1, rs.pipeTo(ws), 'pipeTo must reject with the same error');
- setTimeout(() => rs.controller.close());
+ t.step_timeout(() => rs.controller.close());
return pipePromise.then(() => {
assert_array_equals(rs.eventsWithoutPulls, []);
@@ -209,7 +206,7 @@ promise_test(t => {
}, 'Closing must be propagated forward: becomes closed asynchronously; preventClose omitted; rejected close promise');
-promise_test(() => {
+promise_test(t => {
const rs = recordingReadableStream();
@@ -217,7 +214,7 @@ promise_test(() => {
const pipePromise = rs.pipeTo(ws, { preventClose: true });
- setTimeout(() => rs.controller.close());
+ t.step_timeout(() => rs.controller.close());
return pipePromise.then(value => {
assert_equals(value, undefined, 'the promise must fulfill with undefined');
@@ -231,7 +228,7 @@ promise_test(() => {
}, 'Closing must be propagated forward: becomes closed asynchronously; preventClose = true');
-promise_test(() => {
+promise_test(t => {
const rs = recordingReadableStream();
@@ -239,7 +236,7 @@ promise_test(() => {
const pipePromise = rs.pipeTo(ws);
- setTimeout(() => rs.controller.close());
+ t.step_timeout(() => rs.controller.close());
return pipePromise.then(value => {
assert_equals(value, undefined, 'the promise must fulfill with undefined');
@@ -269,7 +266,7 @@ promise_test(t => {
const pipePromise = promise_rejects(t, error1, rs.pipeTo(ws), 'pipeTo must reject with the same error');
- setTimeout(() => rs.controller.close());
+ t.step_timeout(() => rs.controller.close());
return pipePromise.then(() => {
assert_array_equals(rs.eventsWithoutPulls, []);
@@ -284,7 +281,7 @@ promise_test(t => {
}, 'Closing must be propagated forward: becomes closed asynchronously; dest never desires chunks; ' +
'preventClose omitted; rejected close promise');
-promise_test(() => {
+promise_test(t => {
const rs = recordingReadableStream();
@@ -292,7 +289,7 @@ promise_test(() => {
const pipePromise = rs.pipeTo(ws, { preventClose: true });
- setTimeout(() => rs.controller.close());
+ t.step_timeout(() => rs.controller.close());
return pipePromise.then(value => {
assert_equals(value, undefined, 'the promise must fulfill with undefined');
@@ -307,7 +304,7 @@ promise_test(() => {
}, 'Closing must be propagated forward: becomes closed asynchronously; dest never desires chunks; ' +
'preventClose = true');
-promise_test(() => {
+promise_test(t => {
const rs = recordingReadableStream();
@@ -315,9 +312,9 @@ promise_test(() => {
const pipePromise = rs.pipeTo(ws);
- setTimeout(() => {
+ t.step_timeout(() => {
rs.controller.enqueue('Hello');
- setTimeout(() => rs.controller.close());
+ t.step_timeout(() => rs.controller.close());
}, 10);
return pipePromise.then(value => {
@@ -347,9 +344,9 @@ promise_test(t => {
const pipePromise = promise_rejects(t, error1, rs.pipeTo(ws), 'pipeTo must reject with the same error');
- setTimeout(() => {
+ t.step_timeout(() => {
rs.controller.enqueue('Hello');
- setTimeout(() => rs.controller.close());
+ t.step_timeout(() => rs.controller.close());
}, 10);
return pipePromise.then(() => {
@@ -364,7 +361,7 @@ promise_test(t => {
}, 'Closing must be propagated forward: becomes closed after one chunk; preventClose omitted; rejected close promise');
-promise_test(() => {
+promise_test(t => {
const rs = recordingReadableStream();
@@ -372,9 +369,9 @@ promise_test(() => {
const pipePromise = rs.pipeTo(ws, { preventClose: true });
- setTimeout(() => {
+ t.step_timeout(() => {
rs.controller.enqueue('Hello');
- setTimeout(() => rs.controller.close());
+ t.step_timeout(() => rs.controller.close());
}, 10);
return pipePromise.then(value => {
@@ -590,5 +587,3 @@ promise_test(t => {
]);
});
}, 'Closing must be propagated forward: erroring the writable while flushing pending writes should error pipeTo');
-
-done();
diff --git a/testing/web-platform/tests/streams/piping/close-propagation-forward.dedicatedworker.html b/testing/web-platform/tests/streams/piping/close-propagation-forward.dedicatedworker.html
deleted file mode 100644
index 1c016ffe8efca..0000000000000
--- a/testing/web-platform/tests/streams/piping/close-propagation-forward.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-close-propagation-forward.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/close-propagation-forward.html b/testing/web-platform/tests/streams/piping/close-propagation-forward.html
deleted file mode 100644
index cf90fa7c2f533..0000000000000
--- a/testing/web-platform/tests/streams/piping/close-propagation-forward.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-close-propagation-forward.js browser context wrapper file
-
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/close-propagation-forward.serviceworker.https.html b/testing/web-platform/tests/streams/piping/close-propagation-forward.serviceworker.https.html
deleted file mode 100644
index ecfd47409757a..0000000000000
--- a/testing/web-platform/tests/streams/piping/close-propagation-forward.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-close-propagation-forward.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/close-propagation-forward.sharedworker.html b/testing/web-platform/tests/streams/piping/close-propagation-forward.sharedworker.html
deleted file mode 100644
index ef9e98572a781..0000000000000
--- a/testing/web-platform/tests/streams/piping/close-propagation-forward.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-close-propagation-forward.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/error-propagation-backward.js b/testing/web-platform/tests/streams/piping/error-propagation-backward.any.js
similarity index 97%
rename from testing/web-platform/tests/streams/piping/error-propagation-backward.js
rename to testing/web-platform/tests/streams/piping/error-propagation-backward.any.js
index dda5774e1c9ae..c822b80b643e5 100644
--- a/testing/web-platform/tests/streams/piping/error-propagation-backward.js
+++ b/testing/web-platform/tests/streams/piping/error-propagation-backward.any.js
@@ -1,11 +1,8 @@
+// META: global=worker
+// META: script=../resources/test-utils.js
+// META: script=../resources/recording-streams.js
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
- self.importScripts('../resources/test-utils.js');
- self.importScripts('../resources/recording-streams.js');
-}
-
const error1 = new Error('error1!');
error1.name = 'error1';
@@ -373,7 +370,7 @@ promise_test(t => {
const pipePromise = promise_rejects(t, error1, rs.pipeTo(ws), 'pipeTo must reject with the same error');
- setTimeout(() => ws.controller.error(error1), 10);
+ t.step_timeout(() => ws.controller.error(error1), 10);
return pipePromise.then(() => {
assert_array_equals(rs.eventsWithoutPulls, ['cancel', error1]);
@@ -394,7 +391,7 @@ promise_test(t => {
const pipePromise = promise_rejects(t, error2, rs.pipeTo(ws), 'pipeTo must reject with the cancel error');
- setTimeout(() => ws.controller.error(error1), 10);
+ t.step_timeout(() => ws.controller.error(error1), 10);
return pipePromise.then(() => {
assert_array_equals(rs.eventsWithoutPulls, ['cancel', error1]);
@@ -412,7 +409,7 @@ promise_test(t => {
const pipePromise = promise_rejects(t, error1, rs.pipeTo(ws, { preventCancel: true }),
'pipeTo must reject with the same error');
- setTimeout(() => ws.controller.error(error1), 10);
+ t.step_timeout(() => ws.controller.error(error1), 10);
return pipePromise.then(() => {
assert_array_equals(rs.eventsWithoutPulls, []);
@@ -486,7 +483,7 @@ promise_test(t => {
const pipePromise = promise_rejects(t, error1, rs.pipeTo(ws), 'pipeTo must reject with the same error');
- setTimeout(() => ws.controller.error(error1), 10);
+ t.step_timeout(() => ws.controller.error(error1), 10);
return pipePromise.then(() => {
assert_array_equals(rs.eventsWithoutPulls, ['cancel', error1]);
@@ -508,7 +505,7 @@ promise_test(t => {
const pipePromise = promise_rejects(t, error2, rs.pipeTo(ws), 'pipeTo must reject with the cancel error');
- setTimeout(() => ws.controller.error(error1), 10);
+ t.step_timeout(() => ws.controller.error(error1), 10);
return pipePromise.then(() => {
assert_array_equals(rs.eventsWithoutPulls, ['cancel', error1]);
@@ -527,7 +524,7 @@ promise_test(t => {
const pipePromise = promise_rejects(t, error1, rs.pipeTo(ws, { preventCancel: true }),
'pipeTo must reject with the same error');
- setTimeout(() => ws.controller.error(error1), 10);
+ t.step_timeout(() => ws.controller.error(error1), 10);
return pipePromise.then(() => {
assert_array_equals(rs.eventsWithoutPulls, []);
@@ -631,5 +628,3 @@ promise_test(t => {
});
}, 'Errors must be propagated backward: erroring via the controller errors once pending write completes');
-
-done();
diff --git a/testing/web-platform/tests/streams/piping/error-propagation-backward.dedicatedworker.html b/testing/web-platform/tests/streams/piping/error-propagation-backward.dedicatedworker.html
deleted file mode 100644
index 76e2f4ecd2d1e..0000000000000
--- a/testing/web-platform/tests/streams/piping/error-propagation-backward.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-error-propagation-backward.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/error-propagation-backward.html b/testing/web-platform/tests/streams/piping/error-propagation-backward.html
deleted file mode 100644
index dd4876865cc55..0000000000000
--- a/testing/web-platform/tests/streams/piping/error-propagation-backward.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-error-propagation-backward.js browser context wrapper file
-
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/error-propagation-backward.serviceworker.https.html b/testing/web-platform/tests/streams/piping/error-propagation-backward.serviceworker.https.html
deleted file mode 100644
index fcd04ba1d35f3..0000000000000
--- a/testing/web-platform/tests/streams/piping/error-propagation-backward.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-error-propagation-backward.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/error-propagation-backward.sharedworker.html b/testing/web-platform/tests/streams/piping/error-propagation-backward.sharedworker.html
deleted file mode 100644
index 7ea62627dc1aa..0000000000000
--- a/testing/web-platform/tests/streams/piping/error-propagation-backward.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-error-propagation-backward.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/error-propagation-forward.js b/testing/web-platform/tests/streams/piping/error-propagation-forward.any.js
similarity index 94%
rename from testing/web-platform/tests/streams/piping/error-propagation-forward.js
rename to testing/web-platform/tests/streams/piping/error-propagation-forward.any.js
index 983b92b9c3f8c..b04bf88a30ba6 100644
--- a/testing/web-platform/tests/streams/piping/error-propagation-forward.js
+++ b/testing/web-platform/tests/streams/piping/error-propagation-forward.any.js
@@ -1,11 +1,8 @@
+// META: global=worker
+// META: script=../resources/test-utils.js
+// META: script=../resources/recording-streams.js
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
- self.importScripts('../resources/test-utils.js');
- self.importScripts('../resources/recording-streams.js');
-}
-
const error1 = new Error('error1!');
error1.name = 'error1';
@@ -143,7 +140,7 @@ promise_test(t => {
const pipePromise = promise_rejects(t, error1, rs.pipeTo(ws), 'pipeTo must reject with the same error');
- setTimeout(() => rs.controller.error(error1), 10);
+ t.step_timeout(() => rs.controller.error(error1), 10);
return pipePromise.then(() => {
assert_array_equals(rs.eventsWithoutPulls, []);
@@ -164,7 +161,7 @@ promise_test(t => {
const pipePromise = promise_rejects(t, error2, rs.pipeTo(ws), 'pipeTo must reject with the abort error');
- setTimeout(() => rs.controller.error(error1), 10);
+ t.step_timeout(() => rs.controller.error(error1), 10);
return pipePromise.then(() => {
assert_array_equals(rs.eventsWithoutPulls, []);
@@ -182,7 +179,7 @@ promise_test(t => {
const pipePromise = promise_rejects(t, error1, rs.pipeTo(ws, { preventAbort: true }),
'pipeTo must reject with the same error');
- setTimeout(() => rs.controller.error(error1), 10);
+ t.step_timeout(() => rs.controller.error(error1), 10);
return pipePromise.then(() => {
assert_array_equals(rs.eventsWithoutPulls, []);
@@ -199,7 +196,7 @@ promise_test(t => {
const pipePromise = promise_rejects(t, error1, rs.pipeTo(ws), 'pipeTo must reject with the same error');
- setTimeout(() => rs.controller.error(error1), 10);
+ t.step_timeout(() => rs.controller.error(error1), 10);
return pipePromise.then(() => {
assert_array_equals(rs.eventsWithoutPulls, []);
@@ -221,7 +218,7 @@ promise_test(t => {
const pipePromise = promise_rejects(t, error2, rs.pipeTo(ws), 'pipeTo must reject with the abort error');
- setTimeout(() => rs.controller.error(error1), 10);
+ t.step_timeout(() => rs.controller.error(error1), 10);
return pipePromise.then(() => {
assert_array_equals(rs.eventsWithoutPulls, []);
@@ -240,7 +237,7 @@ promise_test(t => {
const pipePromise = promise_rejects(t, error1, rs.pipeTo(ws, { preventAbort: true }),
'pipeTo must reject with the same error');
- setTimeout(() => rs.controller.error(error1), 10);
+ t.step_timeout(() => rs.controller.error(error1), 10);
return pipePromise.then(() => {
assert_array_equals(rs.eventsWithoutPulls, []);
@@ -258,9 +255,9 @@ promise_test(t => {
const pipePromise = promise_rejects(t, error1, rs.pipeTo(ws), 'pipeTo must reject with the same error');
- setTimeout(() => {
+ t.step_timeout(() => {
rs.controller.enqueue('Hello');
- setTimeout(() => rs.controller.error(error1), 10);
+ t.step_timeout(() => rs.controller.error(error1), 10);
}, 10);
return pipePromise.then(() => {
@@ -282,9 +279,9 @@ promise_test(t => {
const pipePromise = promise_rejects(t, error2, rs.pipeTo(ws), 'pipeTo must reject with the abort error');
- setTimeout(() => {
+ t.step_timeout(() => {
rs.controller.enqueue('Hello');
- setTimeout(() => rs.controller.error(error1), 10);
+ t.step_timeout(() => rs.controller.error(error1), 10);
}, 10);
return pipePromise.then(() => {
@@ -303,9 +300,9 @@ promise_test(t => {
const pipePromise = promise_rejects(t, error1, rs.pipeTo(ws, { preventAbort: true }),
'pipeTo must reject with the same error');
- setTimeout(() => {
+ t.step_timeout(() => {
rs.controller.enqueue('Hello');
- setTimeout(() => rs.controller.error(error1), 10);
+ t.step_timeout(() => rs.controller.error(error1), 10);
}, 10);
return pipePromise.then(() => {
@@ -323,9 +320,9 @@ promise_test(t => {
const pipePromise = promise_rejects(t, error1, rs.pipeTo(ws), 'pipeTo must reject with the same error');
- setTimeout(() => {
+ t.step_timeout(() => {
rs.controller.enqueue('Hello');
- setTimeout(() => rs.controller.error(error1), 10);
+ t.step_timeout(() => rs.controller.error(error1), 10);
}, 10);
return pipePromise.then(() => {
@@ -348,9 +345,9 @@ promise_test(t => {
const pipePromise = promise_rejects(t, error2, rs.pipeTo(ws), 'pipeTo must reject with the abort error');
- setTimeout(() => {
+ t.step_timeout(() => {
rs.controller.enqueue('Hello');
- setTimeout(() => rs.controller.error(error1), 10);
+ t.step_timeout(() => rs.controller.error(error1), 10);
}, 10);
return pipePromise.then(() => {
@@ -370,9 +367,9 @@ promise_test(t => {
const pipePromise = promise_rejects(t, error1, rs.pipeTo(ws, { preventAbort: true }),
'pipeTo must reject with the same error');
- setTimeout(() => {
+ t.step_timeout(() => {
rs.controller.enqueue('Hello');
- setTimeout(() => rs.controller.error(error1), 10);
+ t.step_timeout(() => rs.controller.error(error1), 10);
}, 10);
return pipePromise.then(() => {
@@ -570,5 +567,3 @@ promise_test(t => {
});
}, 'Errors must be propagated forward: shutdown must not occur until the final write completes; becomes errored after first write; preventAbort = true');
-
-done();
diff --git a/testing/web-platform/tests/streams/piping/error-propagation-forward.dedicatedworker.html b/testing/web-platform/tests/streams/piping/error-propagation-forward.dedicatedworker.html
deleted file mode 100644
index 009468041e935..0000000000000
--- a/testing/web-platform/tests/streams/piping/error-propagation-forward.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-error-propagation-forward.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/error-propagation-forward.html b/testing/web-platform/tests/streams/piping/error-propagation-forward.html
deleted file mode 100644
index 998c547263129..0000000000000
--- a/testing/web-platform/tests/streams/piping/error-propagation-forward.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-error-propagation-forward.js browser context wrapper file
-
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/error-propagation-forward.serviceworker.https.html b/testing/web-platform/tests/streams/piping/error-propagation-forward.serviceworker.https.html
deleted file mode 100644
index e45f20b716b3c..0000000000000
--- a/testing/web-platform/tests/streams/piping/error-propagation-forward.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-error-propagation-forward.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/error-propagation-forward.sharedworker.html b/testing/web-platform/tests/streams/piping/error-propagation-forward.sharedworker.html
deleted file mode 100644
index 13d02c03f3465..0000000000000
--- a/testing/web-platform/tests/streams/piping/error-propagation-forward.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-error-propagation-forward.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/flow-control.js b/testing/web-platform/tests/streams/piping/flow-control.any.js
similarity index 97%
rename from testing/web-platform/tests/streams/piping/flow-control.js
rename to testing/web-platform/tests/streams/piping/flow-control.any.js
index 04c56ec40d0b4..ff1f81c05f0c9 100644
--- a/testing/web-platform/tests/streams/piping/flow-control.js
+++ b/testing/web-platform/tests/streams/piping/flow-control.any.js
@@ -1,12 +1,9 @@
+// META: global=worker
+// META: script=../resources/test-utils.js
+// META: script=../resources/rs-utils.js
+// META: script=../resources/recording-streams.js
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
- self.importScripts('../resources/test-utils.js');
- self.importScripts('../resources/rs-utils.js');
- self.importScripts('../resources/recording-streams.js');
-}
-
const error1 = new Error('error1!');
error1.name = 'error1';
@@ -302,5 +299,3 @@ promise_test(() => {
]);
});
}, 'Piping to a WritableStream that does not consume the writes fast enough exerts backpressure on the ReadableStream');
-
-done();
diff --git a/testing/web-platform/tests/streams/piping/flow-control.dedicatedworker.html b/testing/web-platform/tests/streams/piping/flow-control.dedicatedworker.html
deleted file mode 100644
index 6703183c1172b..0000000000000
--- a/testing/web-platform/tests/streams/piping/flow-control.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-flow-control.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/flow-control.html b/testing/web-platform/tests/streams/piping/flow-control.html
deleted file mode 100644
index 219e501187088..0000000000000
--- a/testing/web-platform/tests/streams/piping/flow-control.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-flow-control.js browser context wrapper file
-
-
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/flow-control.serviceworker.https.html b/testing/web-platform/tests/streams/piping/flow-control.serviceworker.https.html
deleted file mode 100644
index 7fa01d5c0d3b0..0000000000000
--- a/testing/web-platform/tests/streams/piping/flow-control.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-flow-control.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/flow-control.sharedworker.html b/testing/web-platform/tests/streams/piping/flow-control.sharedworker.html
deleted file mode 100644
index 2b84cefb997c5..0000000000000
--- a/testing/web-platform/tests/streams/piping/flow-control.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-flow-control.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/general.js b/testing/web-platform/tests/streams/piping/general.any.js
similarity index 94%
rename from testing/web-platform/tests/streams/piping/general.js
rename to testing/web-platform/tests/streams/piping/general.any.js
index 6bc6e9be58bd8..9ba494532a59c 100644
--- a/testing/web-platform/tests/streams/piping/general.js
+++ b/testing/web-platform/tests/streams/piping/general.any.js
@@ -1,11 +1,8 @@
+// META: global=worker
+// META: script=../resources/test-utils.js
+// META: script=../resources/recording-streams.js
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
- self.importScripts('../resources/test-utils.js');
- self.importScripts('../resources/recording-streams.js');
-}
-
test(() => {
const rs = new ReadableStream();
@@ -130,7 +127,7 @@ promise_test(() => {
}, 'Piping from a ReadableStream from which lots of chunks are synchronously readable');
-promise_test(() => {
+promise_test(t => {
let controller;
const rs = recordingReadableStream({
@@ -145,9 +142,9 @@ promise_test(() => {
assert_array_equals(ws.events, ['write', 'Hello', 'close']);
});
- setTimeout(() => {
+ t.step_timeout(() => {
controller.enqueue('Hello');
- setTimeout(() => controller.close(), 10);
+ t.step_timeout(() => controller.close(), 10);
}, 10);
return pipePromise;
@@ -191,5 +188,3 @@ for (const preventCancel of [true, false]) {
}, `an undefined rejection from write should cause pipeTo() to reject when preventCancel is ${preventCancel}`);
}
-
-done();
diff --git a/testing/web-platform/tests/streams/piping/general.dedicatedworker.html b/testing/web-platform/tests/streams/piping/general.dedicatedworker.html
deleted file mode 100644
index 86e480139e891..0000000000000
--- a/testing/web-platform/tests/streams/piping/general.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-general.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/general.html b/testing/web-platform/tests/streams/piping/general.html
deleted file mode 100644
index c4938a216c224..0000000000000
--- a/testing/web-platform/tests/streams/piping/general.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-general.js browser context wrapper file
-
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/general.serviceworker.https.html b/testing/web-platform/tests/streams/piping/general.serviceworker.https.html
deleted file mode 100644
index d1de7c342c03d..0000000000000
--- a/testing/web-platform/tests/streams/piping/general.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-general.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/general.sharedworker.html b/testing/web-platform/tests/streams/piping/general.sharedworker.html
deleted file mode 100644
index dceea8ac8b9f0..0000000000000
--- a/testing/web-platform/tests/streams/piping/general.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-general.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/multiple-propagation.js b/testing/web-platform/tests/streams/piping/multiple-propagation.any.js
similarity index 97%
rename from testing/web-platform/tests/streams/piping/multiple-propagation.js
rename to testing/web-platform/tests/streams/piping/multiple-propagation.any.js
index 87119ebc65f6d..cd7cd5aa5cf7c 100644
--- a/testing/web-platform/tests/streams/piping/multiple-propagation.js
+++ b/testing/web-platform/tests/streams/piping/multiple-propagation.any.js
@@ -1,11 +1,8 @@
+// META: global=worker
+// META: script=../resources/test-utils.js
+// META: script=../resources/recording-streams.js
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
- self.importScripts('../resources/test-utils.js');
- self.importScripts('../resources/recording-streams.js');
-}
-
const error1 = new Error('error1!');
error1.name = 'error1';
@@ -228,5 +225,3 @@ promise_test(() => {
});
}, 'Piping from a closed readable stream to a closed writable stream');
-
-done();
diff --git a/testing/web-platform/tests/streams/piping/multiple-propagation.dedicatedworker.html b/testing/web-platform/tests/streams/piping/multiple-propagation.dedicatedworker.html
deleted file mode 100644
index d71ce15f5d248..0000000000000
--- a/testing/web-platform/tests/streams/piping/multiple-propagation.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-multiple-propagation.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/multiple-propagation.html b/testing/web-platform/tests/streams/piping/multiple-propagation.html
deleted file mode 100644
index 92e3ff04c74d1..0000000000000
--- a/testing/web-platform/tests/streams/piping/multiple-propagation.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-multiple-propagation.js browser context wrapper file
-
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/multiple-propagation.serviceworker.https.html b/testing/web-platform/tests/streams/piping/multiple-propagation.serviceworker.https.html
deleted file mode 100644
index 63f7b00b40fbd..0000000000000
--- a/testing/web-platform/tests/streams/piping/multiple-propagation.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-multiple-propagation.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/multiple-propagation.sharedworker.html b/testing/web-platform/tests/streams/piping/multiple-propagation.sharedworker.html
deleted file mode 100644
index 6396c645cd542..0000000000000
--- a/testing/web-platform/tests/streams/piping/multiple-propagation.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-multiple-propagation.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/pipe-through.js b/testing/web-platform/tests/streams/piping/pipe-through.any.js
similarity index 97%
rename from testing/web-platform/tests/streams/piping/pipe-through.js
rename to testing/web-platform/tests/streams/piping/pipe-through.any.js
index 7ba5607ae5dbb..c259513b2b362 100644
--- a/testing/web-platform/tests/streams/piping/pipe-through.js
+++ b/testing/web-platform/tests/streams/piping/pipe-through.any.js
@@ -1,11 +1,8 @@
+// META: global=worker
+// META: script=../resources/rs-utils.js
+// META: script=../resources/test-utils.js
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
- self.importScripts('../resources/rs-utils.js');
- self.importScripts('../resources/test-utils.js');
-}
-
function duckTypedPassThroughTransform() {
let enqueueInReadable;
let closeReadable;
@@ -257,5 +254,3 @@ test(() => {
assert_equals(count, 1, 'pipeTo was called once');
}, 'pipeThrough should work with no options argument');
-
-done();
diff --git a/testing/web-platform/tests/streams/piping/pipe-through.dedicatedworker.html b/testing/web-platform/tests/streams/piping/pipe-through.dedicatedworker.html
deleted file mode 100644
index 614db80be90b5..0000000000000
--- a/testing/web-platform/tests/streams/piping/pipe-through.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-pipe-through.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/pipe-through.html b/testing/web-platform/tests/streams/piping/pipe-through.html
deleted file mode 100644
index bdbf93ac90542..0000000000000
--- a/testing/web-platform/tests/streams/piping/pipe-through.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-pipe-through.js browser context wrapper file
-
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/pipe-through.serviceworker.https.html b/testing/web-platform/tests/streams/piping/pipe-through.serviceworker.https.html
deleted file mode 100644
index 21263a3083f04..0000000000000
--- a/testing/web-platform/tests/streams/piping/pipe-through.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-pipe-through.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/pipe-through.sharedworker.html b/testing/web-platform/tests/streams/piping/pipe-through.sharedworker.html
deleted file mode 100644
index 41603ef0b7026..0000000000000
--- a/testing/web-platform/tests/streams/piping/pipe-through.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-pipe-through.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/then-interception.js b/testing/web-platform/tests/streams/piping/then-interception.any.js
similarity index 88%
rename from testing/web-platform/tests/streams/piping/then-interception.js
rename to testing/web-platform/tests/streams/piping/then-interception.any.js
index e7f8d94b85954..ef0b824c36d9d 100644
--- a/testing/web-platform/tests/streams/piping/then-interception.js
+++ b/testing/web-platform/tests/streams/piping/then-interception.any.js
@@ -1,11 +1,8 @@
+// META: global=worker
+// META: script=../resources/test-utils.js
+// META: script=../resources/recording-streams.js
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
- self.importScripts('../resources/test-utils.js');
- self.importScripts('../resources/recording-streams.js');
-}
-
function interceptThen() {
const intercepted = [];
const callCount = 0;
@@ -63,5 +60,3 @@ promise_test(async () => {
assert_array_equals(intercepted, [], 'nothing should have been intercepted');
assert_array_equals(ws.events, ['write', 'a', 'close'], 'written chunk should be "a"');
}, 'tee should not be observable');
-
-done();
diff --git a/testing/web-platform/tests/streams/piping/then-interception.dedicatedworker.html b/testing/web-platform/tests/streams/piping/then-interception.dedicatedworker.html
deleted file mode 100644
index 8859076164160..0000000000000
--- a/testing/web-platform/tests/streams/piping/then-interception.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-then-interception.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/then-interception.html b/testing/web-platform/tests/streams/piping/then-interception.html
deleted file mode 100644
index 156d3a49f7b17..0000000000000
--- a/testing/web-platform/tests/streams/piping/then-interception.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-then-interception.js browser context wrapper file
-
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/then-interception.serviceworker.https.html b/testing/web-platform/tests/streams/piping/then-interception.serviceworker.https.html
deleted file mode 100644
index d12f6e1608102..0000000000000
--- a/testing/web-platform/tests/streams/piping/then-interception.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-then-interception.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/then-interception.sharedworker.html b/testing/web-platform/tests/streams/piping/then-interception.sharedworker.html
deleted file mode 100644
index bc28427450d85..0000000000000
--- a/testing/web-platform/tests/streams/piping/then-interception.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-then-interception.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/transform-streams.js b/testing/web-platform/tests/streams/piping/transform-streams.any.js
similarity index 84%
rename from testing/web-platform/tests/streams/piping/transform-streams.js
rename to testing/web-platform/tests/streams/piping/transform-streams.any.js
index 8f6804a2227d7..8cb342920a48f 100644
--- a/testing/web-platform/tests/streams/piping/transform-streams.js
+++ b/testing/web-platform/tests/streams/piping/transform-streams.any.js
@@ -1,9 +1,6 @@
+// META: global=worker
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
-}
-
promise_test(() => {
const rs = new ReadableStream({
start(c) {
@@ -23,5 +20,3 @@ promise_test(() => {
return writer.closed;
});
}, 'Piping through an identity transform stream should close the destination when the source closes');
-
-done();
diff --git a/testing/web-platform/tests/streams/piping/transform-streams.dedicatedworker.html b/testing/web-platform/tests/streams/piping/transform-streams.dedicatedworker.html
deleted file mode 100644
index 34f1bfe2dfd24..0000000000000
--- a/testing/web-platform/tests/streams/piping/transform-streams.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-transform-streams.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/transform-streams.html b/testing/web-platform/tests/streams/piping/transform-streams.html
deleted file mode 100644
index 82146198b7da5..0000000000000
--- a/testing/web-platform/tests/streams/piping/transform-streams.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-transform-streams.js browser context wrapper file
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/transform-streams.serviceworker.https.html b/testing/web-platform/tests/streams/piping/transform-streams.serviceworker.https.html
deleted file mode 100644
index cd8058ef7096b..0000000000000
--- a/testing/web-platform/tests/streams/piping/transform-streams.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-transform-streams.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/piping/transform-streams.sharedworker.html b/testing/web-platform/tests/streams/piping/transform-streams.sharedworker.html
deleted file mode 100644
index 3f3119b243b91..0000000000000
--- a/testing/web-platform/tests/streams/piping/transform-streams.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-transform-streams.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-byte-streams/brand-checks.js b/testing/web-platform/tests/streams/readable-byte-streams/brand-checks.any.js
similarity index 97%
rename from testing/web-platform/tests/streams/readable-byte-streams/brand-checks.js
rename to testing/web-platform/tests/streams/readable-byte-streams/brand-checks.any.js
index 702c6530165c2..62f51277c41d9 100644
--- a/testing/web-platform/tests/streams/readable-byte-streams/brand-checks.js
+++ b/testing/web-platform/tests/streams/readable-byte-streams/brand-checks.any.js
@@ -1,10 +1,7 @@
+// META: global=worker
+// META: script=../resources/test-utils.js
'use strict';
-if (self.importScripts) {
- self.importScripts('../resources/test-utils.js');
- self.importScripts('/resources/testharness.js');
-}
-
let ReadableStreamBYOBReader;
let ReadableByteStreamController;
@@ -190,5 +187,3 @@ promise_test(t => {
}
}, 'ReadableStreamBYOBRequest enforces brand checks');
-
-done();
diff --git a/testing/web-platform/tests/streams/readable-byte-streams/brand-checks.dedicatedworker.html b/testing/web-platform/tests/streams/readable-byte-streams/brand-checks.dedicatedworker.html
deleted file mode 100644
index bb3f11a90e281..0000000000000
--- a/testing/web-platform/tests/streams/readable-byte-streams/brand-checks.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-brand-checks.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-byte-streams/brand-checks.html b/testing/web-platform/tests/streams/readable-byte-streams/brand-checks.html
deleted file mode 100644
index 98d2e281ffaf6..0000000000000
--- a/testing/web-platform/tests/streams/readable-byte-streams/brand-checks.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-brand-checks.js browser context wrapper file
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-byte-streams/brand-checks.serviceworker.https.html b/testing/web-platform/tests/streams/readable-byte-streams/brand-checks.serviceworker.https.html
deleted file mode 100644
index 2439cdb95e989..0000000000000
--- a/testing/web-platform/tests/streams/readable-byte-streams/brand-checks.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-brand-checks.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-byte-streams/brand-checks.sharedworker.html b/testing/web-platform/tests/streams/readable-byte-streams/brand-checks.sharedworker.html
deleted file mode 100644
index cff72eca46341..0000000000000
--- a/testing/web-platform/tests/streams/readable-byte-streams/brand-checks.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-brand-checks.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-byte-streams/construct-byob-request.js b/testing/web-platform/tests/streams/readable-byte-streams/construct-byob-request.any.js
similarity index 95%
rename from testing/web-platform/tests/streams/readable-byte-streams/construct-byob-request.js
rename to testing/web-platform/tests/streams/readable-byte-streams/construct-byob-request.any.js
index 29fdac5baa9c8..427166f67cf8b 100644
--- a/testing/web-platform/tests/streams/readable-byte-streams/construct-byob-request.js
+++ b/testing/web-platform/tests/streams/readable-byte-streams/construct-byob-request.any.js
@@ -1,14 +1,11 @@
+// META: global=worker
+// META: script=../resources/rs-utils.js
'use strict';
// Prior to whatwg/stream#870 it was possible to construct a ReadableStreamBYOBRequest directly. This made it possible
// to construct requests that were out-of-sync with the state of the ReadableStream. They could then be used to call
// internal operations, resulting in asserts or bad behaviour. This file contains regression tests for the change.
-if (self.importScripts) {
- self.importScripts('../resources/rs-utils.js');
- self.importScripts('/resources/testharness.js');
-}
-
function getRealByteStreamController() {
let controller;
new ReadableStream({
diff --git a/testing/web-platform/tests/streams/readable-byte-streams/construct-byob-request.dedicatedworker.html b/testing/web-platform/tests/streams/readable-byte-streams/construct-byob-request.dedicatedworker.html
deleted file mode 100644
index 887e3343d210b..0000000000000
--- a/testing/web-platform/tests/streams/readable-byte-streams/construct-byob-request.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-construct-byob-request.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-byte-streams/construct-byob-request.html b/testing/web-platform/tests/streams/readable-byte-streams/construct-byob-request.html
deleted file mode 100644
index 4e071e70c5660..0000000000000
--- a/testing/web-platform/tests/streams/readable-byte-streams/construct-byob-request.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-construct-byob-request.js browser context wrapper file
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-byte-streams/construct-byob-request.serviceworker.https.html b/testing/web-platform/tests/streams/readable-byte-streams/construct-byob-request.serviceworker.https.html
deleted file mode 100644
index abf70cbf643b1..0000000000000
--- a/testing/web-platform/tests/streams/readable-byte-streams/construct-byob-request.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-construct-byob-request.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-byte-streams/construct-byob-request.sharedworker.html b/testing/web-platform/tests/streams/readable-byte-streams/construct-byob-request.sharedworker.html
deleted file mode 100644
index 6f7ef5ca59f6b..0000000000000
--- a/testing/web-platform/tests/streams/readable-byte-streams/construct-byob-request.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-construct-byob-request.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-byte-streams/constructor.js b/testing/web-platform/tests/streams/readable-byte-streams/constructor.any.js
similarity index 91%
rename from testing/web-platform/tests/streams/readable-byte-streams/constructor.js
rename to testing/web-platform/tests/streams/readable-byte-streams/constructor.any.js
index 3405e23878c9a..4033ad460ffbd 100644
--- a/testing/web-platform/tests/streams/readable-byte-streams/constructor.js
+++ b/testing/web-platform/tests/streams/readable-byte-streams/constructor.any.js
@@ -1,10 +1,7 @@
+// META: global=worker
+// META: script=../resources/constructor-ordering.js
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
- self.importScripts('../resources/constructor-ordering.js');
-}
-
const operations = [
op('get', 'size'),
op('get', 'highWaterMark'),
@@ -49,5 +46,3 @@ for (const failureOp of operations) {
'operations should be performed in the right order');
}, `ReadableStream constructor should stop after ${failureOp} fails`);
}
-
-done();
diff --git a/testing/web-platform/tests/streams/readable-byte-streams/constructor.dedicatedworker.html b/testing/web-platform/tests/streams/readable-byte-streams/constructor.dedicatedworker.html
deleted file mode 100644
index aebe97ef88a3d..0000000000000
--- a/testing/web-platform/tests/streams/readable-byte-streams/constructor.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-constructor.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-byte-streams/constructor.html b/testing/web-platform/tests/streams/readable-byte-streams/constructor.html
deleted file mode 100644
index a548e088685af..0000000000000
--- a/testing/web-platform/tests/streams/readable-byte-streams/constructor.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-constructor.js browser context wrapper file
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-byte-streams/constructor.serviceworker.https.html b/testing/web-platform/tests/streams/readable-byte-streams/constructor.serviceworker.https.html
deleted file mode 100644
index ddddf06652427..0000000000000
--- a/testing/web-platform/tests/streams/readable-byte-streams/constructor.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-constructor.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-byte-streams/constructor.sharedworker.html b/testing/web-platform/tests/streams/readable-byte-streams/constructor.sharedworker.html
deleted file mode 100644
index 52b1a5daf99e8..0000000000000
--- a/testing/web-platform/tests/streams/readable-byte-streams/constructor.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-constructor.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-byte-streams/detached-buffers.js b/testing/web-platform/tests/streams/readable-byte-streams/detached-buffers.any.js
similarity index 98%
rename from testing/web-platform/tests/streams/readable-byte-streams/detached-buffers.js
rename to testing/web-platform/tests/streams/readable-byte-streams/detached-buffers.any.js
index b1b47f0195908..bf1d5c7f146a8 100644
--- a/testing/web-platform/tests/streams/readable-byte-streams/detached-buffers.js
+++ b/testing/web-platform/tests/streams/readable-byte-streams/detached-buffers.any.js
@@ -1,9 +1,6 @@
+// META: global=worker
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
-}
-
promise_test(() => {
const stream = new ReadableStream({
start(c) {
@@ -152,5 +149,3 @@ async_test(t => {
reader.read(new Uint8Array([4, 5, 6]));
}, 'ReadableStream with byte source: respondWithNewView() throws if the supplied view\'s buffer has been detached ' +
'(in the closed state)');
-
-done();
diff --git a/testing/web-platform/tests/streams/readable-byte-streams/detached-buffers.dedicatedworker.html b/testing/web-platform/tests/streams/readable-byte-streams/detached-buffers.dedicatedworker.html
deleted file mode 100644
index d721081a564d5..0000000000000
--- a/testing/web-platform/tests/streams/readable-byte-streams/detached-buffers.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-detached-buffers.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-byte-streams/detached-buffers.html b/testing/web-platform/tests/streams/readable-byte-streams/detached-buffers.html
deleted file mode 100644
index 9cdc29b7b20a6..0000000000000
--- a/testing/web-platform/tests/streams/readable-byte-streams/detached-buffers.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-detached-buffers.js browser context wrapper file
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-byte-streams/detached-buffers.serviceworker.https.html b/testing/web-platform/tests/streams/readable-byte-streams/detached-buffers.serviceworker.https.html
deleted file mode 100644
index db7d2c5461691..0000000000000
--- a/testing/web-platform/tests/streams/readable-byte-streams/detached-buffers.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-detached-buffers.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-byte-streams/detached-buffers.sharedworker.html b/testing/web-platform/tests/streams/readable-byte-streams/detached-buffers.sharedworker.html
deleted file mode 100644
index dac6917d506c0..0000000000000
--- a/testing/web-platform/tests/streams/readable-byte-streams/detached-buffers.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-detached-buffers.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-byte-streams/general.js b/testing/web-platform/tests/streams/readable-byte-streams/general.any.js
similarity index 99%
rename from testing/web-platform/tests/streams/readable-byte-streams/general.js
rename to testing/web-platform/tests/streams/readable-byte-streams/general.any.js
index 39dd7080bc7a1..11a627d7f2141 100644
--- a/testing/web-platform/tests/streams/readable-byte-streams/general.js
+++ b/testing/web-platform/tests/streams/readable-byte-streams/general.any.js
@@ -1,11 +1,8 @@
+// META: global=worker
+// META: script=../resources/rs-utils.js
+// META: script=../resources/test-utils.js
'use strict';
-if (self.importScripts) {
- self.importScripts('../resources/rs-utils.js');
- self.importScripts('../resources/test-utils.js');
- self.importScripts('/resources/testharness.js');
-}
-
const error1 = new Error('error1');
error1.name = 'error1';
@@ -2122,5 +2119,3 @@ test(() => {
assert_throws(new RangeError(), () => new ReadableStream({ type: 'bytes' }, new HasSizeMethod()),
'constructor should throw when size on the prototype chain');
}, 'ReadableStream constructor should not accept a strategy with a size defined if type is "bytes"');
-
-done();
diff --git a/testing/web-platform/tests/streams/readable-byte-streams/general.dedicatedworker.html b/testing/web-platform/tests/streams/readable-byte-streams/general.dedicatedworker.html
deleted file mode 100644
index 86e480139e891..0000000000000
--- a/testing/web-platform/tests/streams/readable-byte-streams/general.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-general.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-byte-streams/general.html b/testing/web-platform/tests/streams/readable-byte-streams/general.html
deleted file mode 100644
index 717f386387229..0000000000000
--- a/testing/web-platform/tests/streams/readable-byte-streams/general.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-general.js browser context wrapper file
-
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-byte-streams/general.serviceworker.https.html b/testing/web-platform/tests/streams/readable-byte-streams/general.serviceworker.https.html
deleted file mode 100644
index d1de7c342c03d..0000000000000
--- a/testing/web-platform/tests/streams/readable-byte-streams/general.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-general.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-byte-streams/general.sharedworker.html b/testing/web-platform/tests/streams/readable-byte-streams/general.sharedworker.html
deleted file mode 100644
index dceea8ac8b9f0..0000000000000
--- a/testing/web-platform/tests/streams/readable-byte-streams/general.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-general.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-byte-streams/properties.js b/testing/web-platform/tests/streams/readable-byte-streams/properties.any.js
similarity index 97%
rename from testing/web-platform/tests/streams/readable-byte-streams/properties.js
rename to testing/web-platform/tests/streams/readable-byte-streams/properties.any.js
index 975fba7109b06..255089c200fd1 100644
--- a/testing/web-platform/tests/streams/readable-byte-streams/properties.js
+++ b/testing/web-platform/tests/streams/readable-byte-streams/properties.any.js
@@ -1,10 +1,7 @@
+// META: global=worker
+// META: script=../resources/rs-utils.js
'use strict';
-if (self.importScripts) {
- self.importScripts('../resources/rs-utils.js');
- self.importScripts('/resources/testharness.js');
-}
-
let ReadableStreamBYOBReader;
test(() => {
@@ -143,5 +140,3 @@ test(() => {
assert_equals(controller.error.length, 1, 'releaseLock has 1 parameter');
}, 'ReadableByteStreamController instances should have the correct list of properties');
-
-done();
diff --git a/testing/web-platform/tests/streams/readable-byte-streams/properties.dedicatedworker.html b/testing/web-platform/tests/streams/readable-byte-streams/properties.dedicatedworker.html
deleted file mode 100644
index 50d63ed0edb2b..0000000000000
--- a/testing/web-platform/tests/streams/readable-byte-streams/properties.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-properties.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-byte-streams/properties.html b/testing/web-platform/tests/streams/readable-byte-streams/properties.html
deleted file mode 100644
index 41ab6b285429c..0000000000000
--- a/testing/web-platform/tests/streams/readable-byte-streams/properties.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-properties.js browser context wrapper file
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-byte-streams/properties.serviceworker.https.html b/testing/web-platform/tests/streams/readable-byte-streams/properties.serviceworker.https.html
deleted file mode 100644
index ba5c5135f2f7f..0000000000000
--- a/testing/web-platform/tests/streams/readable-byte-streams/properties.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-properties.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-byte-streams/properties.sharedworker.html b/testing/web-platform/tests/streams/readable-byte-streams/properties.sharedworker.html
deleted file mode 100644
index 42fb3e5ebc0a0..0000000000000
--- a/testing/web-platform/tests/streams/readable-byte-streams/properties.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-properties.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/bad-strategies.js b/testing/web-platform/tests/streams/readable-streams/bad-strategies.any.js
similarity index 97%
rename from testing/web-platform/tests/streams/readable-streams/bad-strategies.js
rename to testing/web-platform/tests/streams/readable-streams/bad-strategies.any.js
index 5a52d60d842a6..9582b29c81117 100644
--- a/testing/web-platform/tests/streams/readable-streams/bad-strategies.js
+++ b/testing/web-platform/tests/streams/readable-streams/bad-strategies.any.js
@@ -1,9 +1,6 @@
+// META: global=worker
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
-}
-
test(() => {
const theError = new Error('a unique string');
@@ -160,5 +157,3 @@ promise_test(() => {
return Promise.all(promises);
}, 'Readable stream: invalid strategy.size return value');
-
-done();
diff --git a/testing/web-platform/tests/streams/readable-streams/bad-strategies.dedicatedworker.html b/testing/web-platform/tests/streams/readable-streams/bad-strategies.dedicatedworker.html
deleted file mode 100644
index d53767f3d6cde..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/bad-strategies.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-bad-strategies.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/bad-strategies.html b/testing/web-platform/tests/streams/readable-streams/bad-strategies.html
deleted file mode 100644
index 94cfb83bbc8fd..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/bad-strategies.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-bad-strategies.js browser context wrapper file
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/bad-strategies.serviceworker.https.html b/testing/web-platform/tests/streams/readable-streams/bad-strategies.serviceworker.https.html
deleted file mode 100644
index 9aa3a4acd4797..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/bad-strategies.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-bad-strategies.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/bad-strategies.sharedworker.html b/testing/web-platform/tests/streams/readable-streams/bad-strategies.sharedworker.html
deleted file mode 100644
index 78694776e3ee5..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/bad-strategies.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-bad-strategies.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/bad-underlying-sources.js b/testing/web-platform/tests/streams/readable-streams/bad-underlying-sources.any.js
similarity index 99%
rename from testing/web-platform/tests/streams/readable-streams/bad-underlying-sources.js
rename to testing/web-platform/tests/streams/readable-streams/bad-underlying-sources.any.js
index 6fce7b191b22b..aee2e82472179 100644
--- a/testing/web-platform/tests/streams/readable-streams/bad-underlying-sources.js
+++ b/testing/web-platform/tests/streams/readable-streams/bad-underlying-sources.any.js
@@ -1,9 +1,6 @@
+// META: global=worker
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
-}
-
test(() => {
@@ -401,5 +398,3 @@ promise_test(t => {
});
}, 'read should not error if it dequeues and pull() throws');
-
-done();
diff --git a/testing/web-platform/tests/streams/readable-streams/bad-underlying-sources.dedicatedworker.html b/testing/web-platform/tests/streams/readable-streams/bad-underlying-sources.dedicatedworker.html
deleted file mode 100644
index 1929007dc63bc..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/bad-underlying-sources.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-bad-underlying-sources.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/bad-underlying-sources.html b/testing/web-platform/tests/streams/readable-streams/bad-underlying-sources.html
deleted file mode 100644
index 3960e886dc030..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/bad-underlying-sources.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-bad-underlying-sources.js browser context wrapper file
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/bad-underlying-sources.serviceworker.https.html b/testing/web-platform/tests/streams/readable-streams/bad-underlying-sources.serviceworker.https.html
deleted file mode 100644
index 0fedcab945080..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/bad-underlying-sources.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-bad-underlying-sources.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/bad-underlying-sources.sharedworker.html b/testing/web-platform/tests/streams/readable-streams/bad-underlying-sources.sharedworker.html
deleted file mode 100644
index 2586c55c54f89..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/bad-underlying-sources.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-bad-underlying-sources.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/brand-checks.js b/testing/web-platform/tests/streams/readable-streams/brand-checks.any.js
similarity index 97%
rename from testing/web-platform/tests/streams/readable-streams/brand-checks.js
rename to testing/web-platform/tests/streams/readable-streams/brand-checks.any.js
index 1b39d1ad6616c..6c2987adc4774 100644
--- a/testing/web-platform/tests/streams/readable-streams/brand-checks.js
+++ b/testing/web-platform/tests/streams/readable-streams/brand-checks.any.js
@@ -1,10 +1,7 @@
+// META: global=worker
+// META: script=../resources/test-utils.js
'use strict';
-if (self.importScripts) {
- self.importScripts('../resources/test-utils.js');
- self.importScripts('/resources/testharness.js');
-}
-
let ReadableStreamDefaultReader;
let ReadableStreamDefaultController;
@@ -160,5 +157,3 @@ test(() => {
[fakeRSDefaultController(), realRS(), realRSDefaultReader(), undefined, null]);
}, 'ReadableStreamDefaultController.prototype.error enforces a brand check');
-
-done();
diff --git a/testing/web-platform/tests/streams/readable-streams/brand-checks.dedicatedworker.html b/testing/web-platform/tests/streams/readable-streams/brand-checks.dedicatedworker.html
deleted file mode 100644
index bb3f11a90e281..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/brand-checks.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-brand-checks.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/brand-checks.html b/testing/web-platform/tests/streams/readable-streams/brand-checks.html
deleted file mode 100644
index 98d2e281ffaf6..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/brand-checks.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-brand-checks.js browser context wrapper file
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/brand-checks.serviceworker.https.html b/testing/web-platform/tests/streams/readable-streams/brand-checks.serviceworker.https.html
deleted file mode 100644
index 2439cdb95e989..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/brand-checks.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-brand-checks.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/brand-checks.sharedworker.html b/testing/web-platform/tests/streams/readable-streams/brand-checks.sharedworker.html
deleted file mode 100644
index cff72eca46341..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/brand-checks.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-brand-checks.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/cancel.js b/testing/web-platform/tests/streams/readable-streams/cancel.any.js
similarity index 94%
rename from testing/web-platform/tests/streams/readable-streams/cancel.js
rename to testing/web-platform/tests/streams/readable-streams/cancel.any.js
index f8f7eec77cc41..b3842837a7e42 100644
--- a/testing/web-platform/tests/streams/readable-streams/cancel.js
+++ b/testing/web-platform/tests/streams/readable-streams/cancel.any.js
@@ -1,12 +1,9 @@
+// META: global=worker
+// META: script=../resources/test-utils.js
+// META: script=../resources/rs-utils.js
'use strict';
-if (self.importScripts) {
- self.importScripts('../resources/test-utils.js');
- self.importScripts('../resources/rs-utils.js');
- self.importScripts('/resources/testharness.js');
-}
-
-promise_test(() => {
+promise_test(t => {
const randomSource = new RandomPushSource();
@@ -26,7 +23,7 @@ promise_test(() => {
randomSource.readStop();
return new Promise(resolve => {
- setTimeout(() => {
+ t.step_timeout(() => {
cancellationFinished = true;
resolve();
}, 1);
@@ -167,7 +164,7 @@ promise_test(() => {
}, 'ReadableStream cancellation: if the underlying source\'s cancel method returns a promise, the promise returned by the stream\'s cancel should fulfill when that one does (1)');
-promise_test(() => {
+promise_test(t => {
let resolveSourceCancelPromise;
let sourceCancelPromiseHasFulfilled = false;
@@ -184,7 +181,7 @@ promise_test(() => {
}
});
- setTimeout(() => resolveSourceCancelPromise('Hello'), 1);
+ t.step_timeout(() => resolveSourceCancelPromise('Hello'), 1);
return rs.cancel().then(value => {
assert_true(sourceCancelPromiseHasFulfilled, 'cancel() return value should be fulfilled only after the promise returned by the underlying source\'s cancel');
@@ -193,7 +190,7 @@ promise_test(() => {
}, 'ReadableStream cancellation: if the underlying source\'s cancel method returns a promise, the promise returned by the stream\'s cancel should fulfill when that one does (2)');
-promise_test(() => {
+promise_test(t => {
let rejectSourceCancelPromise;
let sourceCancelPromiseHasRejected = false;
@@ -212,7 +209,7 @@ promise_test(() => {
const errorInCancel = new Error('Sorry, it just wasn\'t meant to be.');
- setTimeout(() => rejectSourceCancelPromise(errorInCancel), 1);
+ t.step_timeout(() => rejectSourceCancelPromise(errorInCancel), 1);
return rs.cancel().then(() => {
assert_unreached('cancel() return value should be rejected');
@@ -237,5 +234,3 @@ promise_test(() => {
return Promise.all([rs.cancel(), rs.getReader().closed]);
}, 'ReadableStream cancellation: cancelling before start finishes should prevent pull() from being called');
-
-done();
diff --git a/testing/web-platform/tests/streams/readable-streams/cancel.dedicatedworker.html b/testing/web-platform/tests/streams/readable-streams/cancel.dedicatedworker.html
deleted file mode 100644
index b3d0b5345abec..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/cancel.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-cancel.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/cancel.html b/testing/web-platform/tests/streams/readable-streams/cancel.html
deleted file mode 100644
index b50a49eadd2a1..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/cancel.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-cancel.js browser context wrapper file
-
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/cancel.serviceworker.https.html b/testing/web-platform/tests/streams/readable-streams/cancel.serviceworker.https.html
deleted file mode 100644
index c7fc459a05f6b..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/cancel.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-cancel.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/cancel.sharedworker.html b/testing/web-platform/tests/streams/readable-streams/cancel.sharedworker.html
deleted file mode 100644
index b9e2e8c968b3f..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/cancel.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-cancel.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/constructor.js b/testing/web-platform/tests/streams/readable-streams/constructor.any.js
similarity index 87%
rename from testing/web-platform/tests/streams/readable-streams/constructor.js
rename to testing/web-platform/tests/streams/readable-streams/constructor.any.js
index c202f3b082c51..3a66472ea006d 100644
--- a/testing/web-platform/tests/streams/readable-streams/constructor.js
+++ b/testing/web-platform/tests/streams/readable-streams/constructor.any.js
@@ -1,10 +1,7 @@
+// META: global=worker
+// META: script=../resources/constructor-ordering.js
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
- self.importScripts('../resources/constructor-ordering.js');
-}
-
const operations = [
op('get', 'size'),
op('get', 'highWaterMark'),
@@ -38,5 +35,3 @@ for (const failureOp of operations) {
'operations should be performed in the right order');
}, `ReadableStream constructor should stop after ${failureOp} fails`);
}
-
-done();
diff --git a/testing/web-platform/tests/streams/readable-streams/constructor.dedicatedworker.html b/testing/web-platform/tests/streams/readable-streams/constructor.dedicatedworker.html
deleted file mode 100644
index aebe97ef88a3d..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/constructor.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-constructor.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/constructor.html b/testing/web-platform/tests/streams/readable-streams/constructor.html
deleted file mode 100644
index a548e088685af..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/constructor.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-constructor.js browser context wrapper file
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/constructor.serviceworker.https.html b/testing/web-platform/tests/streams/readable-streams/constructor.serviceworker.https.html
deleted file mode 100644
index ddddf06652427..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/constructor.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-constructor.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/constructor.sharedworker.html b/testing/web-platform/tests/streams/readable-streams/constructor.sharedworker.html
deleted file mode 100644
index 52b1a5daf99e8..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/constructor.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-constructor.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/count-queuing-strategy-integration.js b/testing/web-platform/tests/streams/readable-streams/count-queuing-strategy-integration.any.js
similarity index 98%
rename from testing/web-platform/tests/streams/readable-streams/count-queuing-strategy-integration.js
rename to testing/web-platform/tests/streams/readable-streams/count-queuing-strategy-integration.any.js
index 65c8b8cf0028b..45959cbd76bbf 100644
--- a/testing/web-platform/tests/streams/readable-streams/count-queuing-strategy-integration.js
+++ b/testing/web-platform/tests/streams/readable-streams/count-queuing-strategy-integration.any.js
@@ -1,9 +1,6 @@
+// META: global=worker
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
-}
-
test(() => {
new ReadableStream({}, new CountQueuingStrategy({ highWaterMark: 4 }));
@@ -209,5 +206,3 @@ promise_test(() => {
});
}, 'Correctly governs a ReadableStreamController\'s desiredSize property (HWM = 4)');
-
-done();
diff --git a/testing/web-platform/tests/streams/readable-streams/count-queuing-strategy-integration.dedicatedworker.html b/testing/web-platform/tests/streams/readable-streams/count-queuing-strategy-integration.dedicatedworker.html
deleted file mode 100644
index e9bcb21b01fbe..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/count-queuing-strategy-integration.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-count-queuing-strategy-integration.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/count-queuing-strategy-integration.html b/testing/web-platform/tests/streams/readable-streams/count-queuing-strategy-integration.html
deleted file mode 100644
index 89e2d99fc7cf6..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/count-queuing-strategy-integration.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-count-queuing-strategy-integration.js browser context wrapper file
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/count-queuing-strategy-integration.serviceworker.https.html b/testing/web-platform/tests/streams/readable-streams/count-queuing-strategy-integration.serviceworker.https.html
deleted file mode 100644
index 029ac765d4b85..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/count-queuing-strategy-integration.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-count-queuing-strategy-integration.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/count-queuing-strategy-integration.sharedworker.html b/testing/web-platform/tests/streams/readable-streams/count-queuing-strategy-integration.sharedworker.html
deleted file mode 100644
index 7aa6f540dc083..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/count-queuing-strategy-integration.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-count-queuing-strategy-integration.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/default-reader.js b/testing/web-platform/tests/streams/readable-streams/default-reader.any.js
similarity index 99%
rename from testing/web-platform/tests/streams/readable-streams/default-reader.js
rename to testing/web-platform/tests/streams/readable-streams/default-reader.any.js
index 9b645e2472582..3fde39292f86f 100644
--- a/testing/web-platform/tests/streams/readable-streams/default-reader.js
+++ b/testing/web-platform/tests/streams/readable-streams/default-reader.any.js
@@ -1,10 +1,7 @@
+// META: global=worker
+// META: script=../resources/rs-utils.js
'use strict';
-if (self.importScripts) {
- self.importScripts('../resources/rs-utils.js');
- self.importScripts('/resources/testharness.js');
-}
-
let ReadableStreamDefaultReader;
test(() => {
@@ -497,5 +494,3 @@ test(() => {
assert_throws(new RangeError(), () => rs.getReader({ mode }), 'getReader() should throw');
assert_true(toStringCalled, 'toString() should be called');
}, 'getReader() should call ToString() on mode');
-
-done();
diff --git a/testing/web-platform/tests/streams/readable-streams/default-reader.dedicatedworker.html b/testing/web-platform/tests/streams/readable-streams/default-reader.dedicatedworker.html
deleted file mode 100644
index 0a0b2d0511b6f..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/default-reader.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-default-reader.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/default-reader.html b/testing/web-platform/tests/streams/readable-streams/default-reader.html
deleted file mode 100644
index 00092c9ae658d..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/default-reader.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-default-reader.js browser context wrapper file
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/default-reader.serviceworker.https.html b/testing/web-platform/tests/streams/readable-streams/default-reader.serviceworker.https.html
deleted file mode 100644
index ab41ff29bfc00..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/default-reader.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-default-reader.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/default-reader.sharedworker.html b/testing/web-platform/tests/streams/readable-streams/default-reader.sharedworker.html
deleted file mode 100644
index 96de3ba0ff371..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/default-reader.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-default-reader.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/floating-point-total-queue-size.js b/testing/web-platform/tests/streams/readable-streams/floating-point-total-queue-size.any.js
similarity index 98%
rename from testing/web-platform/tests/streams/readable-streams/floating-point-total-queue-size.js
rename to testing/web-platform/tests/streams/readable-streams/floating-point-total-queue-size.any.js
index f7c76248b0b20..038258c5f580f 100644
--- a/testing/web-platform/tests/streams/readable-streams/floating-point-total-queue-size.js
+++ b/testing/web-platform/tests/streams/readable-streams/floating-point-total-queue-size.any.js
@@ -1,9 +1,6 @@
+// META: global=worker
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
-}
-
// Due to the limitations of floating-point precision, the calculation of desiredSize sometimes gives different answers
// than adding up the items in the queue would. It is important that implementations give the same result in these edge
// cases so that developers do not come to depend on non-standard behaviour. See
@@ -117,5 +114,3 @@ function setupTestStream() {
return { reader: rs.getReader(), controller };
}
-
-done();
diff --git a/testing/web-platform/tests/streams/readable-streams/floating-point-total-queue-size.dedicatedworker.html b/testing/web-platform/tests/streams/readable-streams/floating-point-total-queue-size.dedicatedworker.html
deleted file mode 100644
index f098b39a34553..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/floating-point-total-queue-size.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-floating-point-total-queue-size.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/floating-point-total-queue-size.html b/testing/web-platform/tests/streams/readable-streams/floating-point-total-queue-size.html
deleted file mode 100644
index b0ea67973f289..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/floating-point-total-queue-size.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-floating-point-total-queue-size.js browser context wrapper file
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/floating-point-total-queue-size.serviceworker.https.html b/testing/web-platform/tests/streams/readable-streams/floating-point-total-queue-size.serviceworker.https.html
deleted file mode 100644
index 1eb7c9e53de41..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/floating-point-total-queue-size.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-floating-point-total-queue-size.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/floating-point-total-queue-size.sharedworker.html b/testing/web-platform/tests/streams/readable-streams/floating-point-total-queue-size.sharedworker.html
deleted file mode 100644
index 17be746220fde..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/floating-point-total-queue-size.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-floating-point-total-queue-size.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/garbage-collection.js b/testing/web-platform/tests/streams/readable-streams/garbage-collection.any.js
similarity index 92%
rename from testing/web-platform/tests/streams/readable-streams/garbage-collection.js
rename to testing/web-platform/tests/streams/readable-streams/garbage-collection.any.js
index 2d16526e5a85b..c3353acfba184 100644
--- a/testing/web-platform/tests/streams/readable-streams/garbage-collection.js
+++ b/testing/web-platform/tests/streams/readable-streams/garbage-collection.any.js
@@ -1,10 +1,7 @@
+// META: global=worker
+// META: script=../resources/test-utils.js
'use strict';
-if (self.importScripts) {
- self.importScripts('../resources/test-utils.js');
- self.importScripts('/resources/testharness.js');
-}
-
promise_test(() => {
let controller;
@@ -71,5 +68,3 @@ promise_test(() => {
'old reader should still be locking the stream even after garbage collection'));
}, 'Garbage-collecting a ReadableStreamDefaultReader should not unlock its stream');
-
-done();
diff --git a/testing/web-platform/tests/streams/readable-streams/garbage-collection.dedicatedworker.html b/testing/web-platform/tests/streams/readable-streams/garbage-collection.dedicatedworker.html
deleted file mode 100644
index 5ff976874f3d0..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/garbage-collection.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-garbage-collection.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/garbage-collection.html b/testing/web-platform/tests/streams/readable-streams/garbage-collection.html
deleted file mode 100644
index b8bde10f65d4a..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/garbage-collection.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-garbage-collection.js browser context wrapper file
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/garbage-collection.serviceworker.https.html b/testing/web-platform/tests/streams/readable-streams/garbage-collection.serviceworker.https.html
deleted file mode 100644
index fff72e7a38713..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/garbage-collection.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-garbage-collection.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/garbage-collection.sharedworker.html b/testing/web-platform/tests/streams/readable-streams/garbage-collection.sharedworker.html
deleted file mode 100644
index e1bd36d5db569..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/garbage-collection.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-garbage-collection.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/general.js b/testing/web-platform/tests/streams/readable-streams/general.any.js
similarity index 99%
rename from testing/web-platform/tests/streams/readable-streams/general.js
rename to testing/web-platform/tests/streams/readable-streams/general.any.js
index c3cb0a9fc22d2..21b1812ea3f13 100644
--- a/testing/web-platform/tests/streams/readable-streams/general.js
+++ b/testing/web-platform/tests/streams/readable-streams/general.any.js
@@ -1,11 +1,8 @@
+// META: global=worker
+// META: script=../resources/test-utils.js
+// META: script=../resources/rs-utils.js
'use strict';
-if (self.importScripts) {
- self.importScripts('../resources/test-utils.js');
- self.importScripts('../resources/rs-utils.js');
- self.importScripts('/resources/testharness.js');
-}
-
const error1 = new Error('error1');
error1.name = 'error1';
@@ -904,5 +901,3 @@ promise_test(() => {
});
}, 'ReadableStream integration test: adapting an async pull source');
-
-done();
diff --git a/testing/web-platform/tests/streams/readable-streams/general.dedicatedworker.html b/testing/web-platform/tests/streams/readable-streams/general.dedicatedworker.html
deleted file mode 100644
index 86e480139e891..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/general.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-general.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/general.html b/testing/web-platform/tests/streams/readable-streams/general.html
deleted file mode 100644
index 975cd009fd184..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/general.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-general.js browser context wrapper file
-
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/general.serviceworker.https.html b/testing/web-platform/tests/streams/readable-streams/general.serviceworker.https.html
deleted file mode 100644
index d1de7c342c03d..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/general.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-general.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/general.sharedworker.html b/testing/web-platform/tests/streams/readable-streams/general.sharedworker.html
deleted file mode 100644
index dceea8ac8b9f0..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/general.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-general.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/patched-global.js b/testing/web-platform/tests/streams/readable-streams/patched-global.any.js
similarity index 95%
rename from testing/web-platform/tests/streams/readable-streams/patched-global.js
rename to testing/web-platform/tests/streams/readable-streams/patched-global.any.js
index c75b21e8c3857..b3d5a33647b11 100644
--- a/testing/web-platform/tests/streams/readable-streams/patched-global.js
+++ b/testing/web-platform/tests/streams/readable-streams/patched-global.any.js
@@ -1,12 +1,9 @@
+// META: global=worker
'use strict';
// Tests which patch the global environment are kept separate to avoid
// interfering with other tests.
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
-}
-
const ReadableStream_prototype_locked_get =
Object.getOwnPropertyDescriptor(ReadableStream.prototype, 'locked').get;
@@ -60,5 +57,3 @@ test(t => {
assert_true(isReadableStream(branch1), 'branch1 should be a ReadableStream');
assert_true(isReadableStream(branch2), 'branch2 should be a ReadableStream');
}, 'ReadableStream tee() should not call the global ReadableStream');
-
-done();
diff --git a/testing/web-platform/tests/streams/readable-streams/patched-global.dedicatedworker.html b/testing/web-platform/tests/streams/readable-streams/patched-global.dedicatedworker.html
deleted file mode 100644
index 327bc92f75d47..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/patched-global.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-patched-global.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/patched-global.html b/testing/web-platform/tests/streams/readable-streams/patched-global.html
deleted file mode 100644
index 869e9109e025e..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/patched-global.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-patched-global.js browser context wrapper file
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/patched-global.serviceworker.https.html b/testing/web-platform/tests/streams/readable-streams/patched-global.serviceworker.https.html
deleted file mode 100644
index addb438ba6fe4..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/patched-global.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-patched-global.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/patched-global.sharedworker.html b/testing/web-platform/tests/streams/readable-streams/patched-global.sharedworker.html
deleted file mode 100644
index 6dba52fa67f53..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/patched-global.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-patched-global.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/reentrant-strategies.js b/testing/web-platform/tests/streams/readable-streams/reentrant-strategies.any.js
similarity index 96%
rename from testing/web-platform/tests/streams/readable-streams/reentrant-strategies.js
rename to testing/web-platform/tests/streams/readable-streams/reentrant-strategies.any.js
index 47dd3bf3c7deb..05471cee26ccb 100644
--- a/testing/web-platform/tests/streams/readable-streams/reentrant-strategies.js
+++ b/testing/web-platform/tests/streams/readable-streams/reentrant-strategies.any.js
@@ -1,3 +1,7 @@
+// META: global=worker
+// META: script=../resources/recording-streams.js
+// META: script=../resources/rs-utils.js
+// META: script=../resources/test-utils.js
'use strict';
// The size() function of the readable strategy can re-entrantly call back into the ReadableStream implementation. This
@@ -5,13 +9,6 @@
// such errors. They are separated from the other strategy tests because no real user code should ever do anything like
// this.
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
- self.importScripts('../resources/recording-streams.js');
- self.importScripts('../resources/rs-utils.js');
- self.importScripts('../resources/test-utils.js');
-}
-
const error1 = new Error('error1');
error1.name = 'error1';
@@ -265,5 +262,3 @@ promise_test(() => {
readableStreamToArray(branch2).then(array => assert_array_equals(array, ['a'], 'branch2 should have one chunk'))
]);
}, 'tee() inside size() should work');
-
-done();
diff --git a/testing/web-platform/tests/streams/readable-streams/reentrant-strategies.dedicatedworker.html b/testing/web-platform/tests/streams/readable-streams/reentrant-strategies.dedicatedworker.html
deleted file mode 100644
index 300dc85187538..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/reentrant-strategies.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-reentrant-strategies.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/reentrant-strategies.html b/testing/web-platform/tests/streams/readable-streams/reentrant-strategies.html
deleted file mode 100644
index e2a6406bd469c..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/reentrant-strategies.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-reentrant-strategies.js browser context wrapper file
-
-
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/reentrant-strategies.serviceworker.https.html b/testing/web-platform/tests/streams/readable-streams/reentrant-strategies.serviceworker.https.html
deleted file mode 100644
index 6c1813d13853a..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/reentrant-strategies.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-reentrant-strategies.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/reentrant-strategies.sharedworker.html b/testing/web-platform/tests/streams/readable-streams/reentrant-strategies.sharedworker.html
deleted file mode 100644
index 4415a3fb9b35a..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/reentrant-strategies.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-reentrant-strategies.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/tee.js b/testing/web-platform/tests/streams/readable-streams/tee.any.js
similarity index 98%
rename from testing/web-platform/tests/streams/readable-streams/tee.js
rename to testing/web-platform/tests/streams/readable-streams/tee.any.js
index df76877eff4a1..1b25ca7f8247d 100644
--- a/testing/web-platform/tests/streams/readable-streams/tee.js
+++ b/testing/web-platform/tests/streams/readable-streams/tee.any.js
@@ -1,10 +1,7 @@
+// META: global=worker
+// META: script=../resources/rs-utils.js
'use strict';
-if (self.importScripts) {
- self.importScripts('../resources/rs-utils.js');
- self.importScripts('/resources/testharness.js');
-}
-
test(() => {
const rs = new ReadableStream();
@@ -289,5 +286,3 @@ test(t => {
assert_not_equals(getReader.call(rs2), undefined, 'getReader should work on rs2');
}, 'ReadableStreamTee should not use a modified ReadableStream constructor from the global object');
-
-done();
diff --git a/testing/web-platform/tests/streams/readable-streams/tee.dedicatedworker.html b/testing/web-platform/tests/streams/readable-streams/tee.dedicatedworker.html
deleted file mode 100644
index bf79422174b1d..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/tee.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-tee.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/tee.html b/testing/web-platform/tests/streams/readable-streams/tee.html
deleted file mode 100644
index fbfafb72816da..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/tee.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-tee.js browser context wrapper file
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/tee.serviceworker.https.html b/testing/web-platform/tests/streams/readable-streams/tee.serviceworker.https.html
deleted file mode 100644
index b22fbef57b81b..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/tee.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-tee.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/tee.sharedworker.html b/testing/web-platform/tests/streams/readable-streams/tee.sharedworker.html
deleted file mode 100644
index 6380c9d4fa32b..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/tee.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-tee.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/templated.js b/testing/web-platform/tests/streams/readable-streams/templated.any.js
similarity index 94%
rename from testing/web-platform/tests/streams/readable-streams/templated.js
rename to testing/web-platform/tests/streams/readable-streams/templated.any.js
index 6db0429994d45..5926c0818d91f 100644
--- a/testing/web-platform/tests/streams/readable-streams/templated.js
+++ b/testing/web-platform/tests/streams/readable-streams/templated.any.js
@@ -1,11 +1,8 @@
+// META: global=worker
+// META: script=../resources/test-utils.js
+// META: script=../resources/rs-test-templates.js
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
- self.importScripts('../resources/test-utils.js');
- self.importScripts('../resources/rs-test-templates.js');
-}
-
// Run the readable stream test templates against readable streams created directly using the constructor
const theError = { name: 'boo!' };
@@ -144,5 +141,3 @@ templatedRSTwoChunksClosedReader('ReadableStream (two chunks enqueued, then clos
function streamAndDefaultReader(stream) {
return { stream, reader: stream.getReader() };
}
-
-done();
diff --git a/testing/web-platform/tests/streams/readable-streams/templated.dedicatedworker.html b/testing/web-platform/tests/streams/readable-streams/templated.dedicatedworker.html
deleted file mode 100644
index 2354b98dc697c..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/templated.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-templated.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/templated.html b/testing/web-platform/tests/streams/readable-streams/templated.html
deleted file mode 100644
index 63b17f2f3df82..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/templated.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-templated.js browser context wrapper file
-
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/templated.serviceworker.https.html b/testing/web-platform/tests/streams/readable-streams/templated.serviceworker.https.html
deleted file mode 100644
index 01b0717516029..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/templated.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-templated.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/readable-streams/templated.sharedworker.html b/testing/web-platform/tests/streams/readable-streams/templated.sharedworker.html
deleted file mode 100644
index ff60f1878bcf0..0000000000000
--- a/testing/web-platform/tests/streams/readable-streams/templated.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-templated.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/resources/rs-utils.js b/testing/web-platform/tests/streams/resources/rs-utils.js
index 0f3222e23cab7..a62012c6f1cae 100644
--- a/testing/web-platform/tests/streams/resources/rs-utils.js
+++ b/testing/web-platform/tests/streams/resources/rs-utils.js
@@ -106,7 +106,7 @@
this._exec = f => f();
if (async) {
- this._exec = f => setTimeout(f, 0);
+ this._exec = f => step_timeout(f, 0);
}
}
diff --git a/testing/web-platform/tests/streams/transform-streams/backpressure.js b/testing/web-platform/tests/streams/transform-streams/backpressure.any.js
similarity index 97%
rename from testing/web-platform/tests/streams/transform-streams/backpressure.js
rename to testing/web-platform/tests/streams/transform-streams/backpressure.any.js
index 7446b77090162..44d91b7f99592 100644
--- a/testing/web-platform/tests/streams/transform-streams/backpressure.js
+++ b/testing/web-platform/tests/streams/transform-streams/backpressure.any.js
@@ -1,11 +1,8 @@
+// META: global=worker
+// META: script=../resources/recording-streams.js
+// META: script=../resources/test-utils.js
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
- self.importScripts('../resources/recording-streams.js');
- self.importScripts('../resources/test-utils.js');
-}
-
const error1 = new Error('error1 message');
error1.name = 'error1';
@@ -196,5 +193,3 @@ promise_test(t => {
return promise_rejects(t, error1, pipePromise, 'promise returned from pipeTo() should be rejected');
});
}, 'cancelling the readable side of a TransformStream should abort a full pipe');
-
-done();
diff --git a/testing/web-platform/tests/streams/transform-streams/backpressure.dedicatedworker.html b/testing/web-platform/tests/streams/transform-streams/backpressure.dedicatedworker.html
deleted file mode 100644
index 36d10f505f973..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/backpressure.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-backpressure.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/backpressure.html b/testing/web-platform/tests/streams/transform-streams/backpressure.html
deleted file mode 100644
index 65f056f58058d..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/backpressure.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-backpressure.js browser context wrapper file
-
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/backpressure.serviceworker.https.html b/testing/web-platform/tests/streams/transform-streams/backpressure.serviceworker.https.html
deleted file mode 100644
index 493feaa69ff63..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/backpressure.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-backpressure.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/backpressure.sharedworker.html b/testing/web-platform/tests/streams/transform-streams/backpressure.sharedworker.html
deleted file mode 100644
index 0a16b99ee908e..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/backpressure.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-backpressure.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/brand-checks.js b/testing/web-platform/tests/streams/transform-streams/brand-checks.any.js
similarity index 94%
rename from testing/web-platform/tests/streams/transform-streams/brand-checks.js
rename to testing/web-platform/tests/streams/transform-streams/brand-checks.any.js
index 0dd0d91b31822..2fbcd039c31bf 100644
--- a/testing/web-platform/tests/streams/transform-streams/brand-checks.js
+++ b/testing/web-platform/tests/streams/transform-streams/brand-checks.any.js
@@ -1,10 +1,7 @@
+// META: global=worker
+// META: script=../resources/test-utils.js
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
- self.importScripts('../resources/test-utils.js');
-}
-
const TransformStreamDefaultController = getTransformStreamDefaultControllerConstructor();
function getTransformStreamDefaultControllerConstructor() {
@@ -75,5 +72,3 @@ test(() => {
methodThrowsForAll(TransformStreamDefaultController.prototype, 'error',
[fakeTSDefaultController(), realTS(), undefined, null]);
}, 'TransformStreamDefaultController.prototype.error enforces a brand check');
-
-done();
diff --git a/testing/web-platform/tests/streams/transform-streams/brand-checks.dedicatedworker.html b/testing/web-platform/tests/streams/transform-streams/brand-checks.dedicatedworker.html
deleted file mode 100644
index bb3f11a90e281..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/brand-checks.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-brand-checks.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/brand-checks.html b/testing/web-platform/tests/streams/transform-streams/brand-checks.html
deleted file mode 100644
index 98d2e281ffaf6..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/brand-checks.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-brand-checks.js browser context wrapper file
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/brand-checks.serviceworker.https.html b/testing/web-platform/tests/streams/transform-streams/brand-checks.serviceworker.https.html
deleted file mode 100644
index 2439cdb95e989..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/brand-checks.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-brand-checks.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/brand-checks.sharedworker.html b/testing/web-platform/tests/streams/transform-streams/brand-checks.sharedworker.html
deleted file mode 100644
index cff72eca46341..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/brand-checks.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-brand-checks.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/constructor.js b/testing/web-platform/tests/streams/transform-streams/constructor.any.js
similarity index 91%
rename from testing/web-platform/tests/streams/transform-streams/constructor.js
rename to testing/web-platform/tests/streams/transform-streams/constructor.any.js
index 6277003118484..69e9be3a1e936 100644
--- a/testing/web-platform/tests/streams/transform-streams/constructor.js
+++ b/testing/web-platform/tests/streams/transform-streams/constructor.any.js
@@ -1,10 +1,7 @@
+// META: global=worker
+// META: script=../resources/constructor-ordering.js
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
- self.importScripts('../resources/constructor-ordering.js');
-}
-
const operations = [
op('get', 'size', 'writable'),
op('get', 'highWaterMark', 'writable'),
@@ -47,5 +44,3 @@ for (const failureOp of operations) {
'operations should be performed in the right order');
}, `TransformStream constructor should stop after ${failureOp} fails`);
}
-
-done();
diff --git a/testing/web-platform/tests/streams/transform-streams/constructor.dedicatedworker.html b/testing/web-platform/tests/streams/transform-streams/constructor.dedicatedworker.html
deleted file mode 100644
index aebe97ef88a3d..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/constructor.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-constructor.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/constructor.html b/testing/web-platform/tests/streams/transform-streams/constructor.html
deleted file mode 100644
index a548e088685af..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/constructor.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-constructor.js browser context wrapper file
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/constructor.serviceworker.https.html b/testing/web-platform/tests/streams/transform-streams/constructor.serviceworker.https.html
deleted file mode 100644
index ddddf06652427..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/constructor.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-constructor.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/constructor.sharedworker.html b/testing/web-platform/tests/streams/transform-streams/constructor.sharedworker.html
deleted file mode 100644
index 52b1a5daf99e8..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/constructor.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-constructor.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/errors.js b/testing/web-platform/tests/streams/transform-streams/errors.any.js
similarity index 98%
rename from testing/web-platform/tests/streams/transform-streams/errors.js
rename to testing/web-platform/tests/streams/transform-streams/errors.any.js
index fdb2154554696..a0a8e20413a29 100644
--- a/testing/web-platform/tests/streams/transform-streams/errors.js
+++ b/testing/web-platform/tests/streams/transform-streams/errors.any.js
@@ -1,10 +1,7 @@
+// META: global=worker
+// META: script=../resources/test-utils.js
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
- self.importScripts('../resources/test-utils.js');
-}
-
const thrownError = new Error('bad things are happening!');
thrownError.name = 'error1';
@@ -342,5 +339,3 @@ promise_test(t => {
const reader = ts.readable.getReader();
return promise_rejects(t, thrownError, reader.read(), 'read() should reject with thrownError');
}, 'the readable should be errored with the reason passed to the writable abort() method');
-
-done();
diff --git a/testing/web-platform/tests/streams/transform-streams/errors.dedicatedworker.html b/testing/web-platform/tests/streams/transform-streams/errors.dedicatedworker.html
deleted file mode 100644
index 078591779a819..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/errors.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-errors.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/errors.html b/testing/web-platform/tests/streams/transform-streams/errors.html
deleted file mode 100644
index 3a07b47e2cf85..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/errors.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-errors.js browser context wrapper file
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/errors.serviceworker.https.html b/testing/web-platform/tests/streams/transform-streams/errors.serviceworker.https.html
deleted file mode 100644
index 85707ebb8ce5d..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/errors.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-errors.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/errors.sharedworker.html b/testing/web-platform/tests/streams/transform-streams/errors.sharedworker.html
deleted file mode 100644
index 011d843ffa230..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/errors.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-errors.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/flush.js b/testing/web-platform/tests/streams/transform-streams/flush.any.js
similarity index 96%
rename from testing/web-platform/tests/streams/transform-streams/flush.js
rename to testing/web-platform/tests/streams/transform-streams/flush.any.js
index 1e9909a704177..df0cc962a8552 100644
--- a/testing/web-platform/tests/streams/transform-streams/flush.js
+++ b/testing/web-platform/tests/streams/transform-streams/flush.any.js
@@ -1,10 +1,7 @@
+// META: global=worker
+// META: script=../resources/test-utils.js
'use strict';
-if (self.importScripts) {
- self.importScripts('../resources/test-utils.js');
- self.importScripts('/resources/testharness.js');
-}
-
promise_test(() => {
let flushCalled = false;
const ts = new TransformStream({
@@ -132,5 +129,3 @@ promise_test(t => {
});
return promise_rejects(t, error1, ts.writable.getWriter().close(), 'close() should reject');
}, 'error() during flush should cause writer.close() to reject');
-
-done();
diff --git a/testing/web-platform/tests/streams/transform-streams/flush.dedicatedworker.html b/testing/web-platform/tests/streams/transform-streams/flush.dedicatedworker.html
deleted file mode 100644
index 4633c1e318085..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/flush.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-flush.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/flush.html b/testing/web-platform/tests/streams/transform-streams/flush.html
deleted file mode 100644
index af437b44e03e0..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/flush.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-flush.js browser context wrapper file
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/flush.serviceworker.https.html b/testing/web-platform/tests/streams/transform-streams/flush.serviceworker.https.html
deleted file mode 100644
index 37d067a5084e4..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/flush.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-flush.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/flush.sharedworker.html b/testing/web-platform/tests/streams/transform-streams/flush.sharedworker.html
deleted file mode 100644
index d57bb81b358cb..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/flush.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-flush.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/general.js b/testing/web-platform/tests/streams/transform-streams/general.any.js
similarity index 98%
rename from testing/web-platform/tests/streams/transform-streams/general.js
rename to testing/web-platform/tests/streams/transform-streams/general.any.js
index 02614c495c2c2..533797b9d1ad3 100644
--- a/testing/web-platform/tests/streams/transform-streams/general.js
+++ b/testing/web-platform/tests/streams/transform-streams/general.any.js
@@ -1,11 +1,8 @@
+// META: global=worker
+// META: script=../resources/test-utils.js
+// META: script=../resources/rs-utils.js
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
- self.importScripts('../resources/test-utils.js');
- self.importScripts('../resources/rs-utils.js');
-}
-
test(() => {
new TransformStream({ transform() { } });
}, 'TransformStream can be constructed with a transform function');
@@ -440,5 +437,3 @@ test(() => {
test(() => {
assert_throws(new RangeError(), () => new TransformStream({ writableType: 'bytes' }), 'constructor should throw');
}, 'specifying a defined writableType should throw');
-
-done();
diff --git a/testing/web-platform/tests/streams/transform-streams/general.dedicatedworker.html b/testing/web-platform/tests/streams/transform-streams/general.dedicatedworker.html
deleted file mode 100644
index 86e480139e891..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/general.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-general.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/general.html b/testing/web-platform/tests/streams/transform-streams/general.html
deleted file mode 100644
index 975cd009fd184..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/general.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-general.js browser context wrapper file
-
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/general.serviceworker.https.html b/testing/web-platform/tests/streams/transform-streams/general.serviceworker.https.html
deleted file mode 100644
index d1de7c342c03d..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/general.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-general.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/general.sharedworker.html b/testing/web-platform/tests/streams/transform-streams/general.sharedworker.html
deleted file mode 100644
index dceea8ac8b9f0..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/general.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-general.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/lipfuzz.js b/testing/web-platform/tests/streams/transform-streams/lipfuzz.any.js
similarity index 97%
rename from testing/web-platform/tests/streams/transform-streams/lipfuzz.js
rename to testing/web-platform/tests/streams/transform-streams/lipfuzz.any.js
index 5c33e1549c43a..a5f09ee2d60eb 100644
--- a/testing/web-platform/tests/streams/transform-streams/lipfuzz.js
+++ b/testing/web-platform/tests/streams/transform-streams/lipfuzz.any.js
@@ -1,9 +1,6 @@
+// META: global=worker
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
-}
-
class LipFuzzTransformer {
constructor(substitutions) {
this.substitutions = substitutions;
@@ -164,5 +161,3 @@ for (const testCase of cases) {
return Promise.all(promises);
}, `testing "${inputChunks}" (length ${inputChunks.length})`);
}
-
-done();
diff --git a/testing/web-platform/tests/streams/transform-streams/lipfuzz.dedicatedworker.html b/testing/web-platform/tests/streams/transform-streams/lipfuzz.dedicatedworker.html
deleted file mode 100644
index 6352938dc1b16..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/lipfuzz.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-lipfuzz.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/lipfuzz.html b/testing/web-platform/tests/streams/transform-streams/lipfuzz.html
deleted file mode 100644
index 5003375f30fa0..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/lipfuzz.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-lipfuzz.js browser context wrapper file
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/lipfuzz.serviceworker.https.html b/testing/web-platform/tests/streams/transform-streams/lipfuzz.serviceworker.https.html
deleted file mode 100644
index 8af3b5f65126e..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/lipfuzz.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-lipfuzz.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/lipfuzz.sharedworker.html b/testing/web-platform/tests/streams/transform-streams/lipfuzz.sharedworker.html
deleted file mode 100644
index 9536ed1c14c69..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/lipfuzz.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-lipfuzz.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/patched-global.js b/testing/web-platform/tests/streams/transform-streams/patched-global.any.js
similarity index 95%
rename from testing/web-platform/tests/streams/transform-streams/patched-global.js
rename to testing/web-platform/tests/streams/transform-streams/patched-global.any.js
index f5d32c08ea730..34a602e1ca922 100644
--- a/testing/web-platform/tests/streams/transform-streams/patched-global.js
+++ b/testing/web-platform/tests/streams/transform-streams/patched-global.any.js
@@ -1,11 +1,8 @@
+// META: global=worker
'use strict';
// Tests which patch the global environment are kept separate to avoid interfering with other tests.
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
-}
-
// eslint-disable-next-line no-extend-native, accessor-pairs
Object.defineProperty(Object.prototype, 'highWaterMark', {
set() { throw new Error('highWaterMark setter called'); }
@@ -46,5 +43,3 @@ test(t => {
assert_not_equals(getWriter.call(ts.writable), undefined,
'getWriter should work when called on ts.writable');
}, 'TransformStream should use the original value of ReadableStream and WritableStream');
-
-done();
diff --git a/testing/web-platform/tests/streams/transform-streams/patched-global.dedicatedworker.html b/testing/web-platform/tests/streams/transform-streams/patched-global.dedicatedworker.html
deleted file mode 100644
index 327bc92f75d47..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/patched-global.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-patched-global.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/patched-global.html b/testing/web-platform/tests/streams/transform-streams/patched-global.html
deleted file mode 100644
index 869e9109e025e..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/patched-global.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-patched-global.js browser context wrapper file
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/patched-global.serviceworker.https.html b/testing/web-platform/tests/streams/transform-streams/patched-global.serviceworker.https.html
deleted file mode 100644
index addb438ba6fe4..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/patched-global.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-patched-global.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/patched-global.sharedworker.html b/testing/web-platform/tests/streams/transform-streams/patched-global.sharedworker.html
deleted file mode 100644
index 6dba52fa67f53..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/patched-global.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-patched-global.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/properties.js b/testing/web-platform/tests/streams/transform-streams/properties.any.js
similarity index 98%
rename from testing/web-platform/tests/streams/transform-streams/properties.js
rename to testing/web-platform/tests/streams/transform-streams/properties.any.js
index f8d8face2d44f..3208cfe055aac 100644
--- a/testing/web-platform/tests/streams/transform-streams/properties.js
+++ b/testing/web-platform/tests/streams/transform-streams/properties.any.js
@@ -1,9 +1,6 @@
+// META: global=worker
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
-}
-
// The purpose of this file is to test for objects, attributes and arguments that should not exist.
// The test cases are generated from data tables to reduce duplication.
@@ -190,5 +187,3 @@ for (const method in transformerMethods) {
});
}, `unexpected properties should not be accessed when calling transformer method ${method}`);
}
-
-done();
diff --git a/testing/web-platform/tests/streams/transform-streams/properties.dedicatedworker.html b/testing/web-platform/tests/streams/transform-streams/properties.dedicatedworker.html
deleted file mode 100644
index 50d63ed0edb2b..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/properties.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-properties.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/properties.html b/testing/web-platform/tests/streams/transform-streams/properties.html
deleted file mode 100644
index ad410a53c8251..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/properties.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-properties.js browser context wrapper file
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/properties.serviceworker.https.html b/testing/web-platform/tests/streams/transform-streams/properties.serviceworker.https.html
deleted file mode 100644
index ba5c5135f2f7f..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/properties.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-properties.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/properties.sharedworker.html b/testing/web-platform/tests/streams/transform-streams/properties.sharedworker.html
deleted file mode 100644
index 42fb3e5ebc0a0..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/properties.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-properties.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/reentrant-strategies.js b/testing/web-platform/tests/streams/transform-streams/reentrant-strategies.any.js
similarity index 97%
rename from testing/web-platform/tests/streams/transform-streams/reentrant-strategies.js
rename to testing/web-platform/tests/streams/transform-streams/reentrant-strategies.any.js
index 50285bbbcd97a..d9e2937d55888 100644
--- a/testing/web-platform/tests/streams/transform-streams/reentrant-strategies.js
+++ b/testing/web-platform/tests/streams/transform-streams/reentrant-strategies.any.js
@@ -1,3 +1,7 @@
+// META: global=worker
+// META: script=../resources/recording-streams.js
+// META: script=../resources/rs-utils.js
+// META: script=../resources/test-utils.js
'use strict';
// The size() function of readableStrategy can re-entrantly call back into the TransformStream implementation. This
@@ -8,13 +12,6 @@
// There is no such issue with writableStrategy size() because it is never called from within TransformStream
// algorithms.
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
- self.importScripts('../resources/recording-streams.js');
- self.importScripts('../resources/rs-utils.js');
- self.importScripts('../resources/test-utils.js');
-}
-
const error1 = new Error('error1');
error1.name = 'error1';
@@ -320,5 +317,3 @@ promise_test(t => {
return Promise.all([promise_rejects(t, error1, reader.read(), 'read() should reject'), abortPromise]);
});
}, 'writer.abort() inside size() should work');
-
-done();
diff --git a/testing/web-platform/tests/streams/transform-streams/reentrant-strategies.dedicatedworker.html b/testing/web-platform/tests/streams/transform-streams/reentrant-strategies.dedicatedworker.html
deleted file mode 100644
index 300dc85187538..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/reentrant-strategies.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-reentrant-strategies.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/reentrant-strategies.html b/testing/web-platform/tests/streams/transform-streams/reentrant-strategies.html
deleted file mode 100644
index e2a6406bd469c..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/reentrant-strategies.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-reentrant-strategies.js browser context wrapper file
-
-
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/reentrant-strategies.serviceworker.https.html b/testing/web-platform/tests/streams/transform-streams/reentrant-strategies.serviceworker.https.html
deleted file mode 100644
index 6c1813d13853a..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/reentrant-strategies.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-reentrant-strategies.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/reentrant-strategies.sharedworker.html b/testing/web-platform/tests/streams/transform-streams/reentrant-strategies.sharedworker.html
deleted file mode 100644
index 4415a3fb9b35a..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/reentrant-strategies.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-reentrant-strategies.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/strategies.js b/testing/web-platform/tests/streams/transform-streams/strategies.any.js
similarity index 96%
rename from testing/web-platform/tests/streams/transform-streams/strategies.js
rename to testing/web-platform/tests/streams/transform-streams/strategies.any.js
index 1775b7fa170dc..894d1fa8b761c 100644
--- a/testing/web-platform/tests/streams/transform-streams/strategies.js
+++ b/testing/web-platform/tests/streams/transform-streams/strategies.any.js
@@ -1,15 +1,12 @@
+// META: global=worker
+// META: script=../resources/recording-streams.js
+// META: script=../resources/test-utils.js
'use strict';
// Here we just test that the strategies are correctly passed to the readable and writable sides. We assume that
// ReadableStream and WritableStream will correctly apply the strategies when they are being used by a TransformStream
// and so it isn't necessary to repeat their tests here.
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
- self.importScripts('../resources/recording-streams.js');
- self.importScripts('../resources/test-utils.js');
-}
-
test(() => {
const ts = new TransformStream({}, { highWaterMark: 17 });
assert_equals(ts.writable.getWriter().desiredSize, 17, 'desiredSize should be 17');
@@ -151,5 +148,3 @@ promise_test(t => {
});
}, 'a bad readableStrategy size function should error the stream on enqueue even when transformer.transform() ' +
'catches the exception');
-
-done();
diff --git a/testing/web-platform/tests/streams/transform-streams/strategies.dedicatedworker.html b/testing/web-platform/tests/streams/transform-streams/strategies.dedicatedworker.html
deleted file mode 100644
index 9dba120fea864..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/strategies.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-strategies.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/strategies.html b/testing/web-platform/tests/streams/transform-streams/strategies.html
deleted file mode 100644
index b445963bd9b18..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/strategies.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-strategies.js browser context wrapper file
-
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/strategies.serviceworker.https.html b/testing/web-platform/tests/streams/transform-streams/strategies.serviceworker.https.html
deleted file mode 100644
index f0a9f213f192b..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/strategies.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-strategies.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/strategies.sharedworker.html b/testing/web-platform/tests/streams/transform-streams/strategies.sharedworker.html
deleted file mode 100644
index cd0b2be708cc3..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/strategies.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-strategies.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/terminate.js b/testing/web-platform/tests/streams/transform-streams/terminate.any.js
similarity index 94%
rename from testing/web-platform/tests/streams/transform-streams/terminate.js
rename to testing/web-platform/tests/streams/transform-streams/terminate.any.js
index 36c6fbd379b1e..231adbd3e0c4b 100644
--- a/testing/web-platform/tests/streams/transform-streams/terminate.js
+++ b/testing/web-platform/tests/streams/transform-streams/terminate.any.js
@@ -1,11 +1,8 @@
+// META: global=worker
+// META: script=../resources/recording-streams.js
+// META: script=../resources/test-utils.js
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
- self.importScripts('../resources/recording-streams.js');
- self.importScripts('../resources/test-utils.js');
-}
-
promise_test(t => {
const ts = recordingTransformStream({}, undefined, { highWaterMark: 0 });
const rs = new ReadableStream({
@@ -101,5 +98,3 @@ promise_test(() => {
ts.readable.getReader().closed
]);
}, 'controller.terminate() inside flush() should not prevent writer.close() from succeeding');
-
-done();
diff --git a/testing/web-platform/tests/streams/transform-streams/terminate.dedicatedworker.html b/testing/web-platform/tests/streams/transform-streams/terminate.dedicatedworker.html
deleted file mode 100644
index 403e3bf8cceab..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/terminate.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-terminate.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/terminate.html b/testing/web-platform/tests/streams/transform-streams/terminate.html
deleted file mode 100644
index c75136e1e54db..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/terminate.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-terminate.js browser context wrapper file
-
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/terminate.serviceworker.https.html b/testing/web-platform/tests/streams/transform-streams/terminate.serviceworker.https.html
deleted file mode 100644
index f5715f6fd01d8..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/terminate.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-terminate.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/transform-streams/terminate.sharedworker.html b/testing/web-platform/tests/streams/transform-streams/terminate.sharedworker.html
deleted file mode 100644
index 3af58a1c14330..0000000000000
--- a/testing/web-platform/tests/streams/transform-streams/terminate.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-terminate.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/aborting.js b/testing/web-platform/tests/streams/writable-streams/aborting.any.js
similarity index 99%
rename from testing/web-platform/tests/streams/writable-streams/aborting.js
rename to testing/web-platform/tests/streams/writable-streams/aborting.any.js
index 9fb175f2b53bd..10753fe02aade 100644
--- a/testing/web-platform/tests/streams/writable-streams/aborting.js
+++ b/testing/web-platform/tests/streams/writable-streams/aborting.any.js
@@ -1,11 +1,8 @@
+// META: global=worker
+// META: script=../resources/test-utils.js
+// META: script=../resources/recording-streams.js
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
- self.importScripts('../resources/test-utils.js');
- self.importScripts('../resources/recording-streams.js');
-}
-
const error1 = new Error('error1');
error1.name = 'error1';
@@ -1371,5 +1368,3 @@ promise_test(t => {
e => assert_equals(e, 'string argument', 'e should be \'string argument\''));
});
}, 'abort with a string argument should set the stored error to that argument');
-
-done();
diff --git a/testing/web-platform/tests/streams/writable-streams/aborting.dedicatedworker.html b/testing/web-platform/tests/streams/writable-streams/aborting.dedicatedworker.html
deleted file mode 100644
index 3d1c0986ce73d..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/aborting.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-aborting.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/aborting.html b/testing/web-platform/tests/streams/writable-streams/aborting.html
deleted file mode 100644
index 11bb7810fe9be..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/aborting.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-aborting.js browser context wrapper file
-
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/aborting.serviceworker.https.html b/testing/web-platform/tests/streams/writable-streams/aborting.serviceworker.https.html
deleted file mode 100644
index ff178d4a23e32..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/aborting.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-aborting.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/aborting.sharedworker.html b/testing/web-platform/tests/streams/writable-streams/aborting.sharedworker.html
deleted file mode 100644
index bf2058fc5ed11..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/aborting.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-aborting.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/bad-strategies.js b/testing/web-platform/tests/streams/writable-streams/bad-strategies.any.js
similarity index 96%
rename from testing/web-platform/tests/streams/writable-streams/bad-strategies.js
rename to testing/web-platform/tests/streams/writable-streams/bad-strategies.any.js
index 1dba393811bdf..5832d45cd1cd7 100644
--- a/testing/web-platform/tests/streams/writable-streams/bad-strategies.js
+++ b/testing/web-platform/tests/streams/writable-streams/bad-strategies.any.js
@@ -1,9 +1,6 @@
+// META: global=worker
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
-}
-
const error1 = new Error('a unique string');
error1.name = 'error1';
@@ -96,5 +93,3 @@ test(() => {
highWaterMark: NaN
}), 'WritableStream constructor should throw a TypeError');
}, 'Writable stream: invalid size beats invalid highWaterMark');
-
-done();
diff --git a/testing/web-platform/tests/streams/writable-streams/bad-strategies.dedicatedworker.html b/testing/web-platform/tests/streams/writable-streams/bad-strategies.dedicatedworker.html
deleted file mode 100644
index d53767f3d6cde..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/bad-strategies.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-bad-strategies.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/bad-strategies.html b/testing/web-platform/tests/streams/writable-streams/bad-strategies.html
deleted file mode 100644
index 94cfb83bbc8fd..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/bad-strategies.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-bad-strategies.js browser context wrapper file
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/bad-strategies.serviceworker.https.html b/testing/web-platform/tests/streams/writable-streams/bad-strategies.serviceworker.https.html
deleted file mode 100644
index 9aa3a4acd4797..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/bad-strategies.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-bad-strategies.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/bad-strategies.sharedworker.html b/testing/web-platform/tests/streams/writable-streams/bad-strategies.sharedworker.html
deleted file mode 100644
index 78694776e3ee5..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/bad-strategies.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-bad-strategies.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/bad-underlying-sinks.js b/testing/web-platform/tests/streams/writable-streams/bad-underlying-sinks.any.js
similarity index 96%
rename from testing/web-platform/tests/streams/writable-streams/bad-underlying-sinks.js
rename to testing/web-platform/tests/streams/writable-streams/bad-underlying-sinks.any.js
index 2c7c44831d176..e523c46129b99 100644
--- a/testing/web-platform/tests/streams/writable-streams/bad-underlying-sinks.js
+++ b/testing/web-platform/tests/streams/writable-streams/bad-underlying-sinks.any.js
@@ -1,11 +1,8 @@
+// META: global=worker
+// META: script=../resources/test-utils.js
+// META: script=../resources/recording-streams.js
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
- self.importScripts('../resources/test-utils.js');
- self.importScripts('../resources/recording-streams.js');
-}
-
const error1 = new Error('error1');
error1.name = 'error1';
@@ -191,5 +188,3 @@ promise_test(t => {
return promise_rejects(t, error1, writer.abort(abortReason), 'abort should reject with the thrown error')
.then(() => promise_rejects(t, abortReason, writer.closed, 'closed should reject with abortReason'));
}, 'abort: throwing method should cause abort() and closed to reject');
-
-done();
diff --git a/testing/web-platform/tests/streams/writable-streams/bad-underlying-sinks.dedicatedworker.html b/testing/web-platform/tests/streams/writable-streams/bad-underlying-sinks.dedicatedworker.html
deleted file mode 100644
index baac659a6b2ed..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/bad-underlying-sinks.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-bad-underlying-sinks.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/bad-underlying-sinks.html b/testing/web-platform/tests/streams/writable-streams/bad-underlying-sinks.html
deleted file mode 100644
index 50838bcf44de7..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/bad-underlying-sinks.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-bad-underlying-sinks.js browser context wrapper file
-
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/bad-underlying-sinks.serviceworker.https.html b/testing/web-platform/tests/streams/writable-streams/bad-underlying-sinks.serviceworker.https.html
deleted file mode 100644
index 4e0f001070217..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/bad-underlying-sinks.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-bad-underlying-sinks.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/bad-underlying-sinks.sharedworker.html b/testing/web-platform/tests/streams/writable-streams/bad-underlying-sinks.sharedworker.html
deleted file mode 100644
index e297c4c27a6cb..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/bad-underlying-sinks.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-bad-underlying-sinks.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/brand-checks.js b/testing/web-platform/tests/streams/writable-streams/brand-checks.any.js
similarity index 96%
rename from testing/web-platform/tests/streams/writable-streams/brand-checks.js
rename to testing/web-platform/tests/streams/writable-streams/brand-checks.any.js
index 256fbb21ff53c..06e75cc38af90 100644
--- a/testing/web-platform/tests/streams/writable-streams/brand-checks.js
+++ b/testing/web-platform/tests/streams/writable-streams/brand-checks.any.js
@@ -1,10 +1,7 @@
+// META: global=worker
+// META: script=../resources/test-utils.js
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
- self.importScripts('../resources/test-utils.js');
-}
-
const WritableStreamDefaultWriter = new WritableStream().getWriter().constructor;
const WriterProto = WritableStreamDefaultWriter.prototype;
const WritableStreamDefaultController = getWritableStreamDefaultControllerConstructor();
@@ -110,5 +107,3 @@ test(() => {
methodThrowsForAll(WritableStreamDefaultController.prototype, 'error',
[fakeWSDefaultController(), realWS(), realWSDefaultWriter(), undefined, null]);
}, 'WritableStreamDefaultController.prototype.error enforces a brand check');
-
-done();
diff --git a/testing/web-platform/tests/streams/writable-streams/brand-checks.dedicatedworker.html b/testing/web-platform/tests/streams/writable-streams/brand-checks.dedicatedworker.html
deleted file mode 100644
index bb3f11a90e281..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/brand-checks.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-brand-checks.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/brand-checks.html b/testing/web-platform/tests/streams/writable-streams/brand-checks.html
deleted file mode 100644
index 98d2e281ffaf6..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/brand-checks.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-brand-checks.js browser context wrapper file
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/brand-checks.serviceworker.https.html b/testing/web-platform/tests/streams/writable-streams/brand-checks.serviceworker.https.html
deleted file mode 100644
index 2439cdb95e989..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/brand-checks.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-brand-checks.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/brand-checks.sharedworker.html b/testing/web-platform/tests/streams/writable-streams/brand-checks.sharedworker.html
deleted file mode 100644
index cff72eca46341..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/brand-checks.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-brand-checks.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/byte-length-queuing-strategy.js b/testing/web-platform/tests/streams/writable-streams/byte-length-queuing-strategy.any.js
similarity index 81%
rename from testing/web-platform/tests/streams/writable-streams/byte-length-queuing-strategy.js
rename to testing/web-platform/tests/streams/writable-streams/byte-length-queuing-strategy.any.js
index 611689f881713..3c8c8bfc38699 100644
--- a/testing/web-platform/tests/streams/writable-streams/byte-length-queuing-strategy.js
+++ b/testing/web-platform/tests/streams/writable-streams/byte-length-queuing-strategy.any.js
@@ -1,16 +1,13 @@
+// META: global=worker
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
-}
-
-promise_test(() => {
+promise_test(t => {
let isDone = false;
const ws = new WritableStream(
{
write() {
return new Promise(resolve => {
- setTimeout(() => {
+ t.step_timeout(() => {
isDone = true;
resolve();
}, 200);
@@ -29,5 +26,3 @@ promise_test(() => {
return writer.close();
}, 'Closing a writable stream with in-flight writes below the high water mark delays the close call properly');
-
-done();
diff --git a/testing/web-platform/tests/streams/writable-streams/byte-length-queuing-strategy.dedicatedworker.html b/testing/web-platform/tests/streams/writable-streams/byte-length-queuing-strategy.dedicatedworker.html
deleted file mode 100644
index ae8e7f729f451..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/byte-length-queuing-strategy.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-byte-length-queuing-strategy.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/byte-length-queuing-strategy.html b/testing/web-platform/tests/streams/writable-streams/byte-length-queuing-strategy.html
deleted file mode 100644
index e1eaa3bfa4d7b..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/byte-length-queuing-strategy.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-byte-length-queuing-strategy.js browser context wrapper file
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/byte-length-queuing-strategy.serviceworker.https.html b/testing/web-platform/tests/streams/writable-streams/byte-length-queuing-strategy.serviceworker.https.html
deleted file mode 100644
index 12ac856d2825a..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/byte-length-queuing-strategy.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-byte-length-queuing-strategy.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/byte-length-queuing-strategy.sharedworker.html b/testing/web-platform/tests/streams/writable-streams/byte-length-queuing-strategy.sharedworker.html
deleted file mode 100644
index 765878e3e6a65..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/byte-length-queuing-strategy.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-byte-length-queuing-strategy.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/close.js b/testing/web-platform/tests/streams/writable-streams/close.any.js
similarity index 98%
rename from testing/web-platform/tests/streams/writable-streams/close.js
rename to testing/web-platform/tests/streams/writable-streams/close.any.js
index 5cbe5701ba5cd..79f1b03e5351c 100644
--- a/testing/web-platform/tests/streams/writable-streams/close.js
+++ b/testing/web-platform/tests/streams/writable-streams/close.any.js
@@ -1,11 +1,8 @@
+// META: global=worker
+// META: script=../resources/test-utils.js
+// META: script=../resources/recording-streams.js
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
- self.importScripts('../resources/test-utils.js');
- self.importScripts('../resources/recording-streams.js');
-}
-
const error1 = new Error('error1');
error1.name = 'error1';
@@ -402,5 +399,3 @@ promise_test(t => {
});
});
}, 'close() should not reject until no sink methods are in flight');
-
-done();
diff --git a/testing/web-platform/tests/streams/writable-streams/close.dedicatedworker.html b/testing/web-platform/tests/streams/writable-streams/close.dedicatedworker.html
deleted file mode 100644
index 54c374cadf329..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/close.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-close.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/close.html b/testing/web-platform/tests/streams/writable-streams/close.html
deleted file mode 100644
index 871dfb3e494d0..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/close.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-close.js browser context wrapper file
-
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/close.serviceworker.https.html b/testing/web-platform/tests/streams/writable-streams/close.serviceworker.https.html
deleted file mode 100644
index f4f62e685c047..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/close.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-close.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/close.sharedworker.html b/testing/web-platform/tests/streams/writable-streams/close.sharedworker.html
deleted file mode 100644
index eab7e3383e305..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/close.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-close.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/constructor.js b/testing/web-platform/tests/streams/writable-streams/constructor.any.js
similarity index 97%
rename from testing/web-platform/tests/streams/writable-streams/constructor.js
rename to testing/web-platform/tests/streams/writable-streams/constructor.any.js
index 5f28c8be1dffb..9379910402895 100644
--- a/testing/web-platform/tests/streams/writable-streams/constructor.js
+++ b/testing/web-platform/tests/streams/writable-streams/constructor.any.js
@@ -1,10 +1,7 @@
+// META: global=worker
+// META: script=../resources/constructor-ordering.js
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
- self.importScripts('../resources/constructor-ordering.js');
-}
-
const error1 = new Error('error1');
error1.name = 'error1';
@@ -186,5 +183,3 @@ for (const failureOp of operations) {
'operations should be performed in the right order');
}, `WritableStream constructor should stop after ${failureOp} fails`);
}
-
-done();
diff --git a/testing/web-platform/tests/streams/writable-streams/constructor.dedicatedworker.html b/testing/web-platform/tests/streams/writable-streams/constructor.dedicatedworker.html
deleted file mode 100644
index aebe97ef88a3d..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/constructor.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-constructor.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/constructor.html b/testing/web-platform/tests/streams/writable-streams/constructor.html
deleted file mode 100644
index a548e088685af..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/constructor.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-constructor.js browser context wrapper file
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/constructor.serviceworker.https.html b/testing/web-platform/tests/streams/writable-streams/constructor.serviceworker.https.html
deleted file mode 100644
index ddddf06652427..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/constructor.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-constructor.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/constructor.sharedworker.html b/testing/web-platform/tests/streams/writable-streams/constructor.sharedworker.html
deleted file mode 100644
index 52b1a5daf99e8..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/constructor.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-constructor.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/count-queuing-strategy.js b/testing/web-platform/tests/streams/writable-streams/count-queuing-strategy.any.js
similarity index 97%
rename from testing/web-platform/tests/streams/writable-streams/count-queuing-strategy.js
rename to testing/web-platform/tests/streams/writable-streams/count-queuing-strategy.any.js
index 56d6090f3db46..f48ec8db113a2 100644
--- a/testing/web-platform/tests/streams/writable-streams/count-queuing-strategy.js
+++ b/testing/web-platform/tests/streams/writable-streams/count-queuing-strategy.any.js
@@ -1,9 +1,6 @@
+// META: global=worker
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
-}
-
test(() => {
new WritableStream({}, new CountQueuingStrategy({ highWaterMark: 4 }));
}, 'Can construct a writable stream with a valid CountQueuingStrategy');
@@ -125,5 +122,3 @@ promise_test(() => {
assert_equals(writer.desiredSize, -1, 'desiredSize should be -1 after 9th write()');
});
}, 'Correctly governs the value of a WritableStream\'s state property (HWM = 4)');
-
-done();
diff --git a/testing/web-platform/tests/streams/writable-streams/count-queuing-strategy.dedicatedworker.html b/testing/web-platform/tests/streams/writable-streams/count-queuing-strategy.dedicatedworker.html
deleted file mode 100644
index d0136ebdea3bc..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/count-queuing-strategy.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-count-queuing-strategy.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/count-queuing-strategy.html b/testing/web-platform/tests/streams/writable-streams/count-queuing-strategy.html
deleted file mode 100644
index 1bbed394b3f09..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/count-queuing-strategy.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-count-queuing-strategy.js browser context wrapper file
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/count-queuing-strategy.serviceworker.https.html b/testing/web-platform/tests/streams/writable-streams/count-queuing-strategy.serviceworker.https.html
deleted file mode 100644
index 613ae0e974842..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/count-queuing-strategy.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-count-queuing-strategy.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/count-queuing-strategy.sharedworker.html b/testing/web-platform/tests/streams/writable-streams/count-queuing-strategy.sharedworker.html
deleted file mode 100644
index 6d43612a8ebd7..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/count-queuing-strategy.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-count-queuing-strategy.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/error.js b/testing/web-platform/tests/streams/writable-streams/error.any.js
similarity index 94%
rename from testing/web-platform/tests/streams/writable-streams/error.js
rename to testing/web-platform/tests/streams/writable-streams/error.any.js
index 511f5f7572b14..e0a87a6178734 100644
--- a/testing/web-platform/tests/streams/writable-streams/error.js
+++ b/testing/web-platform/tests/streams/writable-streams/error.any.js
@@ -1,9 +1,6 @@
+// META: global=worker
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
-}
-
const error1 = new Error('error1');
error1.name = 'error1';
@@ -65,5 +62,3 @@ promise_test(() => {
controller.error(error1);
});
}, 'controller.error() on closed stream should not throw');
-
-done();
diff --git a/testing/web-platform/tests/streams/writable-streams/error.dedicatedworker.html b/testing/web-platform/tests/streams/writable-streams/error.dedicatedworker.html
deleted file mode 100644
index 9e49ce90a589d..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/error.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-error.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/error.html b/testing/web-platform/tests/streams/writable-streams/error.html
deleted file mode 100644
index 94fa110c2d21e..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/error.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-error.js browser context wrapper file
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/error.serviceworker.https.html b/testing/web-platform/tests/streams/writable-streams/error.serviceworker.https.html
deleted file mode 100644
index bec793e8a2bce..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/error.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-error.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/error.sharedworker.html b/testing/web-platform/tests/streams/writable-streams/error.sharedworker.html
deleted file mode 100644
index 84e628b22a9b4..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/error.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-error.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/floating-point-total-queue-size.js b/testing/web-platform/tests/streams/writable-streams/floating-point-total-queue-size.any.js
similarity index 97%
rename from testing/web-platform/tests/streams/writable-streams/floating-point-total-queue-size.js
rename to testing/web-platform/tests/streams/writable-streams/floating-point-total-queue-size.any.js
index 932ac2715e70d..a06f4a12387ea 100644
--- a/testing/web-platform/tests/streams/writable-streams/floating-point-total-queue-size.js
+++ b/testing/web-platform/tests/streams/writable-streams/floating-point-total-queue-size.any.js
@@ -1,9 +1,6 @@
+// META: global=worker
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
-}
-
// Due to the limitations of floating-point precision, the calculation of desiredSize sometimes gives different answers
// than adding up the items in the queue would. It is important that implementations give the same result in these edge
// cases so that developers do not come to depend on non-standard behaviour. See
@@ -88,5 +85,3 @@ function setupTestStream() {
return ws.getWriter();
}
-
-done();
diff --git a/testing/web-platform/tests/streams/writable-streams/floating-point-total-queue-size.dedicatedworker.html b/testing/web-platform/tests/streams/writable-streams/floating-point-total-queue-size.dedicatedworker.html
deleted file mode 100644
index f098b39a34553..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/floating-point-total-queue-size.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-floating-point-total-queue-size.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/floating-point-total-queue-size.html b/testing/web-platform/tests/streams/writable-streams/floating-point-total-queue-size.html
deleted file mode 100644
index b0ea67973f289..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/floating-point-total-queue-size.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-floating-point-total-queue-size.js browser context wrapper file
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/floating-point-total-queue-size.serviceworker.https.html b/testing/web-platform/tests/streams/writable-streams/floating-point-total-queue-size.serviceworker.https.html
deleted file mode 100644
index 1eb7c9e53de41..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/floating-point-total-queue-size.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-floating-point-total-queue-size.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/floating-point-total-queue-size.sharedworker.html b/testing/web-platform/tests/streams/writable-streams/floating-point-total-queue-size.sharedworker.html
deleted file mode 100644
index 17be746220fde..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/floating-point-total-queue-size.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-floating-point-total-queue-size.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/general.js b/testing/web-platform/tests/streams/writable-streams/general.any.js
similarity index 98%
rename from testing/web-platform/tests/streams/writable-streams/general.js
rename to testing/web-platform/tests/streams/writable-streams/general.any.js
index 1fd041b54677f..ddf616ef86722 100644
--- a/testing/web-platform/tests/streams/writable-streams/general.js
+++ b/testing/web-platform/tests/streams/writable-streams/general.any.js
@@ -1,9 +1,6 @@
+// META: global=worker
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
-}
-
test(() => {
const ws = new WritableStream({});
const writer = ws.getWriter();
@@ -247,5 +244,3 @@ promise_test(() => {
});
});
}, 'ready promise should fire before closed on releaseLock');
-
-done();
diff --git a/testing/web-platform/tests/streams/writable-streams/general.dedicatedworker.html b/testing/web-platform/tests/streams/writable-streams/general.dedicatedworker.html
deleted file mode 100644
index 86e480139e891..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/general.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-general.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/general.html b/testing/web-platform/tests/streams/writable-streams/general.html
deleted file mode 100644
index 657ce07bdf84c..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/general.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-general.js browser context wrapper file
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/general.serviceworker.https.html b/testing/web-platform/tests/streams/writable-streams/general.serviceworker.https.html
deleted file mode 100644
index d1de7c342c03d..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/general.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-general.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/general.sharedworker.html b/testing/web-platform/tests/streams/writable-streams/general.sharedworker.html
deleted file mode 100644
index dceea8ac8b9f0..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/general.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-general.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/properties.js b/testing/web-platform/tests/streams/writable-streams/properties.any.js
similarity index 98%
rename from testing/web-platform/tests/streams/writable-streams/properties.js
rename to testing/web-platform/tests/streams/writable-streams/properties.any.js
index 7f420a79b6f1f..fe798a7d8f404 100644
--- a/testing/web-platform/tests/streams/writable-streams/properties.js
+++ b/testing/web-platform/tests/streams/writable-streams/properties.any.js
@@ -1,9 +1,6 @@
+// META: global=worker
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
-}
-
// The purpose of this file is to test for objects, attributes and arguments that should not exist.
// The test cases are generated from data tables to reduce duplication.
@@ -221,5 +218,3 @@ for (const method in sinkMethods) {
});
}, `unexpected properties should not be accessed when calling sink method ${method}`);
}
-
-done();
diff --git a/testing/web-platform/tests/streams/writable-streams/properties.dedicatedworker.html b/testing/web-platform/tests/streams/writable-streams/properties.dedicatedworker.html
deleted file mode 100644
index 50d63ed0edb2b..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/properties.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-properties.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/properties.html b/testing/web-platform/tests/streams/writable-streams/properties.html
deleted file mode 100644
index ad410a53c8251..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/properties.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-properties.js browser context wrapper file
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/properties.serviceworker.https.html b/testing/web-platform/tests/streams/writable-streams/properties.serviceworker.https.html
deleted file mode 100644
index ba5c5135f2f7f..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/properties.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-properties.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/properties.sharedworker.html b/testing/web-platform/tests/streams/writable-streams/properties.sharedworker.html
deleted file mode 100644
index 42fb3e5ebc0a0..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/properties.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-properties.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/reentrant-strategy.js b/testing/web-platform/tests/streams/writable-streams/reentrant-strategy.any.js
similarity index 96%
rename from testing/web-platform/tests/streams/writable-streams/reentrant-strategy.js
rename to testing/web-platform/tests/streams/writable-streams/reentrant-strategy.any.js
index 6e1b52c986c2b..c8c59370a76dd 100644
--- a/testing/web-platform/tests/streams/writable-streams/reentrant-strategy.js
+++ b/testing/web-platform/tests/streams/writable-streams/reentrant-strategy.any.js
@@ -1,15 +1,12 @@
+// META: global=worker
+// META: script=../resources/test-utils.js
+// META: script=../resources/recording-streams.js
'use strict';
// These tests exercise the pathological case of calling WritableStream* methods from within the strategy.size()
// callback. This is not something any real code should ever do. Failures here indicate subtle deviations from the
// standard that may affect real, non-pathological code.
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
- self.importScripts('../resources/test-utils.js');
- self.importScripts('../resources/recording-streams.js');
-}
-
const error1 = { name: 'error1' };
promise_test(() => {
@@ -175,5 +172,3 @@ promise_test(t => {
assert_array_equals(ws.events, ['write', 0, 'close'], 'sink.write() should only be called once');
});
}, 'original reader should error when new reader is created within strategy.size()');
-
-done();
diff --git a/testing/web-platform/tests/streams/writable-streams/reentrant-strategy.dedicatedworker.html b/testing/web-platform/tests/streams/writable-streams/reentrant-strategy.dedicatedworker.html
deleted file mode 100644
index 52f26395ba386..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/reentrant-strategy.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-reentrant-strategy.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/reentrant-strategy.html b/testing/web-platform/tests/streams/writable-streams/reentrant-strategy.html
deleted file mode 100644
index 4d9c33a54084e..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/reentrant-strategy.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-reentrant-strategy.js browser context wrapper file
-
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/reentrant-strategy.serviceworker.https.html b/testing/web-platform/tests/streams/writable-streams/reentrant-strategy.serviceworker.https.html
deleted file mode 100644
index 49fdf6da2aa0f..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/reentrant-strategy.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-reentrant-strategy.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/reentrant-strategy.sharedworker.html b/testing/web-platform/tests/streams/writable-streams/reentrant-strategy.sharedworker.html
deleted file mode 100644
index 1bd555aa9a5df..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/reentrant-strategy.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-reentrant-strategy.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/start.js b/testing/web-platform/tests/streams/writable-streams/start.any.js
similarity index 96%
rename from testing/web-platform/tests/streams/writable-streams/start.js
rename to testing/web-platform/tests/streams/writable-streams/start.any.js
index 52bcb28317189..69cc131c065a2 100644
--- a/testing/web-platform/tests/streams/writable-streams/start.js
+++ b/testing/web-platform/tests/streams/writable-streams/start.any.js
@@ -1,11 +1,8 @@
+// META: global=worker
+// META: script=../resources/test-utils.js
+// META: script=../resources/recording-streams.js
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
- self.importScripts('../resources/test-utils.js');
- self.importScripts('../resources/recording-streams.js');
-}
-
const error1 = { name: 'error1' };
promise_test(() => {
@@ -164,5 +161,3 @@ promise_test(t => {
assert_array_equals(events, ['ready', 'write', 'closed'], 'promises should reject in standard order');
});
}, 'when start() rejects, writer promises should reject in standard order');
-
-done();
diff --git a/testing/web-platform/tests/streams/writable-streams/start.dedicatedworker.html b/testing/web-platform/tests/streams/writable-streams/start.dedicatedworker.html
deleted file mode 100644
index 13b27f832d2a9..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/start.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-start.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/start.html b/testing/web-platform/tests/streams/writable-streams/start.html
deleted file mode 100644
index a3fbfcd928a80..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/start.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-start.js browser context wrapper file
-
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/start.serviceworker.https.html b/testing/web-platform/tests/streams/writable-streams/start.serviceworker.https.html
deleted file mode 100644
index 3758f3fcf251f..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/start.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-start.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/start.sharedworker.html b/testing/web-platform/tests/streams/writable-streams/start.sharedworker.html
deleted file mode 100644
index 9dfea28bb14a7..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/start.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-start.js shared worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/write.js b/testing/web-platform/tests/streams/writable-streams/write.any.js
similarity index 97%
rename from testing/web-platform/tests/streams/writable-streams/write.js
rename to testing/web-platform/tests/streams/writable-streams/write.any.js
index 7d040f8ef74ce..19299f01d80b6 100644
--- a/testing/web-platform/tests/streams/writable-streams/write.js
+++ b/testing/web-platform/tests/streams/writable-streams/write.any.js
@@ -1,11 +1,8 @@
+// META: global=worker
+// META: script=../resources/test-utils.js
+// META: script=../resources/recording-streams.js
'use strict';
-if (self.importScripts) {
- self.importScripts('/resources/testharness.js');
- self.importScripts('../resources/test-utils.js');
- self.importScripts('../resources/recording-streams.js');
-}
-
const error1 = new Error('error1');
error1.name = 'error1';
@@ -254,5 +251,3 @@ promise_test(() => {
});
return ws.getWriter().write('a').then(() => assert_true(thenCalled, 'thenCalled should be true'));
}, 'returning a thenable from write() should work');
-
-done();
diff --git a/testing/web-platform/tests/streams/writable-streams/write.dedicatedworker.html b/testing/web-platform/tests/streams/writable-streams/write.dedicatedworker.html
deleted file mode 100644
index 272b85d43bb7a..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/write.dedicatedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-write.js dedicated worker wrapper file
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/write.html b/testing/web-platform/tests/streams/writable-streams/write.html
deleted file mode 100644
index 7e9ca9e8c22e4..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/write.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-write.js browser context wrapper file
-
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/write.serviceworker.https.html b/testing/web-platform/tests/streams/writable-streams/write.serviceworker.https.html
deleted file mode 100644
index 58e0a427c0a24..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/write.serviceworker.https.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-write.js service worker wrapper file
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/streams/writable-streams/write.sharedworker.html b/testing/web-platform/tests/streams/writable-streams/write.sharedworker.html
deleted file mode 100644
index 2d263f9bf25ae..0000000000000
--- a/testing/web-platform/tests/streams/writable-streams/write.sharedworker.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-write.js shared worker wrapper file
-
-
-
-
-
From 7a60370747103d4567e6aaa49cafec024dff18da Mon Sep 17 00:00:00 2001
From: moz-wptsync-bot
Date: Thu, 22 Nov 2018 01:03:48 +0000
Subject: [PATCH 025/143] Bug 1509204 [wpt PR 14172] - Update wpt metadata,
a=testonly
wpt-pr: 14172
wpt-type: metadata
---
...uing-strategy.serviceworker.https.html.ini | 4 -
...uing-strategy.serviceworker.https.html.ini | 4 -
.../piping/abort.dedicatedworker.html.ini | 67 --
.../meta/streams/piping/abort.html.ini | 67 --
.../piping/abort.serviceworker.https.html.ini | 67 --
.../piping/abort.sharedworker.html.ini | 67 --
.../constructor.dedicatedworker.html.ini | 35 -
.../constructor.html.ini | 35 -
.../constructor.serviceworker.https.html.ini | 35 -
.../constructor.sharedworker.html.ini | 35 -
.../bad-underlying-sources.any.js.ini | 67 ++
.../readable-streams/constructor.any.js.ini | 79 +++
.../garbage-collection.any.js.ini | 19 +
.../readable-streams/general.any.js.ini | 55 ++
.../patched-global.any.js.ini | 19 +
.../reentrant-strategies.any.js.ini | 19 +
...ntrant-strategies.dedicatedworker.html.ini | 4 -
.../reentrant-strategies.html.ini | 4 -
...nt-strategies.serviceworker.https.html.ini | 4 -
...reentrant-strategies.sharedworker.html.ini | 4 -
.../readable-streams/templated.any.js.ini | 19 +
.../templated.dedicatedworker.html.ini | 7 -
.../readable-streams/templated.html.ini | 4 -
.../templated.serviceworker.https.html.ini | 6 -
.../templated.sharedworker.html.ini | 4 -
.../transform-streams/backpressure.any.js.ini | 175 +++++
.../backpressure.dedicatedworker.html.ini | 43 --
.../transform-streams/backpressure.html.ini | 43 --
.../backpressure.serviceworker.https.html.ini | 43 --
.../backpressure.sharedworker.html.ini | 43 --
.../transform-streams/brand-checks.any.js.ini | 15 +
.../brand-checks.dedicatedworker.html.ini | 7 -
.../transform-streams/brand-checks.html.ini | 4 -
.../brand-checks.serviceworker.https.html.ini | 4 -
.../brand-checks.sharedworker.html.ini | 2 -
.../transform-streams/constructor.any.js.ini | 247 +++++++
.../constructor.dedicatedworker.html.ini | 61 --
.../transform-streams/constructor.html.ini | 61 --
.../constructor.serviceworker.https.html.ini | 61 --
.../constructor.sharedworker.html.ini | 61 --
.../transform-streams/errors.any.js.ini | 247 +++++++
.../errors.dedicatedworker.html.ini | 61 --
.../streams/transform-streams/errors.html.ini | 61 --
.../errors.serviceworker.https.html.ini | 61 --
.../errors.sharedworker.html.ini | 61 --
.../transform-streams/flush.any.js.ini | 67 ++
.../flush.dedicatedworker.html.ini | 16 -
.../streams/transform-streams/flush.html.ini | 16 -
.../flush.serviceworker.https.html.ini | 16 -
.../flush.sharedworker.html.ini | 16 -
.../transform-streams/general.any.js.ini | 307 ++++++++
.../general.dedicatedworker.html.ini | 76 --
.../transform-streams/general.html.ini | 76 --
.../general.serviceworker.https.html.ini | 76 --
.../general.sharedworker.html.ini | 76 --
.../transform-streams/lipfuzz.any.js.ini | 247 +++++++
.../lipfuzz.dedicatedworker.html.ini | 61 --
.../transform-streams/lipfuzz.html.ini | 61 --
.../lipfuzz.serviceworker.https.html.ini | 61 --
.../lipfuzz.sharedworker.html.ini | 61 --
.../patched-global.any.js.ini | 31 +
.../patched-global.dedicatedworker.html.ini | 7 -
.../transform-streams/patched-global.html.ini | 7 -
...atched-global.serviceworker.https.html.ini | 7 -
.../patched-global.sharedworker.html.ini | 7 -
.../transform-streams/properties.any.js.ini | 11 +
.../properties.dedicatedworker.html.ini | 2 -
.../transform-streams/properties.html.ini | 2 -
.../properties.serviceworker.https.html.ini | 4 -
.../properties.sharedworker.html.ini | 2 -
.../reentrant-strategies.any.js.ini | 139 ++++
...ntrant-strategies.dedicatedworker.html.ini | 34 -
.../reentrant-strategies.html.ini | 34 -
...nt-strategies.serviceworker.https.html.ini | 34 -
...reentrant-strategies.sharedworker.html.ini | 34 -
.../transform-streams/strategies.any.js.ini | 127 ++++
.../strategies.dedicatedworker.html.ini | 31 -
.../transform-streams/strategies.html.ini | 31 -
.../strategies.serviceworker.https.html.ini | 31 -
.../strategies.sharedworker.html.ini | 31 -
.../transform-streams/terminate.any.js.ini | 79 +++
.../terminate.dedicatedworker.html.ini | 19 -
.../transform-streams/terminate.html.ini | 19 -
.../terminate.serviceworker.https.html.ini | 19 -
.../terminate.sharedworker.html.ini | 19 -
.../writable-streams/aborting.any.js.ini | 655 ++++++++++++++++++
.../aborting.dedicatedworker.html.ini | 214 ------
.../writable-streams/aborting.html.ini | 214 ------
.../aborting.serviceworker.https.html.ini | 214 ------
.../aborting.sharedworker.html.ini | 214 ------
.../bad-strategies.any.js.ini | 91 +++
.../bad-strategies.dedicatedworker.html.ini | 22 -
.../writable-streams/bad-strategies.html.ini | 22 -
...ad-strategies.serviceworker.https.html.ini | 22 -
.../bad-strategies.sharedworker.html.ini | 22 -
.../bad-underlying-sinks.any.js.ini | 139 ++++
...-underlying-sinks.dedicatedworker.html.ini | 37 -
.../bad-underlying-sinks.html.ini | 37 -
...erlying-sinks.serviceworker.https.html.ini | 37 -
...bad-underlying-sinks.sharedworker.html.ini | 37 -
.../writable-streams/brand-checks.any.js.ini | 15 +
.../brand-checks.dedicatedworker.html.ini | 7 -
.../writable-streams/brand-checks.html.ini | 4 -
.../brand-checks.serviceworker.https.html.ini | 4 -
.../brand-checks.sharedworker.html.ini | 2 -
.../byte-length-queuing-strategy.any.js.ini | 19 +
...-queuing-strategy.dedicatedworker.html.ini | 4 -
.../byte-length-queuing-strategy.html.ini | 4 -
...uing-strategy.serviceworker.https.html.ini | 4 -
...gth-queuing-strategy.sharedworker.html.ini | 4 -
.../streams/writable-streams/close.any.js.ini | 223 ++++++
.../close.dedicatedworker.html.ini | 64 --
.../streams/writable-streams/close.html.ini | 64 --
.../close.serviceworker.https.html.ini | 64 --
.../close.sharedworker.html.ini | 64 --
.../writable-streams/constructor.any.js.ini | 319 +++++++++
.../constructor.dedicatedworker.html.ini | 85 ---
.../writable-streams/constructor.html.ini | 85 ---
.../constructor.serviceworker.https.html.ini | 85 ---
.../constructor.sharedworker.html.ini | 85 ---
.../count-queuing-strategy.any.js.ini | 43 ++
...-queuing-strategy.dedicatedworker.html.ini | 10 -
.../count-queuing-strategy.html.ini | 10 -
...uing-strategy.serviceworker.https.html.ini | 10 -
...unt-queuing-strategy.sharedworker.html.ini | 10 -
.../streams/writable-streams/error.any.js.ini | 67 ++
.../error.dedicatedworker.html.ini | 16 -
.../streams/writable-streams/error.html.ini | 16 -
.../error.serviceworker.https.html.ini | 16 -
.../error.sharedworker.html.ini | 16 -
...floating-point-total-queue-size.any.js.ini | 55 ++
...-total-queue-size.dedicatedworker.html.ini | 13 -
.../floating-point-total-queue-size.html.ini | 13 -
...al-queue-size.serviceworker.https.html.ini | 13 -
...int-total-queue-size.sharedworker.html.ini | 13 -
.../writable-streams/general.any.js.ini | 175 +++++
.../general.dedicatedworker.html.ini | 43 --
.../streams/writable-streams/general.html.ini | 43 --
.../general.serviceworker.https.html.ini | 43 --
.../general.sharedworker.html.ini | 43 --
.../writable-streams/properties.any.js.ini | 11 +
.../properties.dedicatedworker.html.ini | 2 -
.../writable-streams/properties.html.ini | 2 -
.../properties.serviceworker.https.html.ini | 4 -
.../properties.sharedworker.html.ini | 2 -
.../reentrant-strategy.any.js.ini | 91 +++
...eentrant-strategy.dedicatedworker.html.ini | 22 -
.../reentrant-strategy.html.ini | 22 -
...rant-strategy.serviceworker.https.html.ini | 22 -
.../reentrant-strategy.sharedworker.html.ini | 22 -
.../streams/writable-streams/start.any.js.ini | 103 +++
.../start.dedicatedworker.html.ini | 25 -
.../streams/writable-streams/start.html.ini | 25 -
.../start.serviceworker.https.html.ini | 25 -
.../start.sharedworker.html.ini | 25 -
.../streams/writable-streams/write.any.js.ini | 127 ++++
.../write.dedicatedworker.html.ini | 31 -
.../streams/writable-streams/write.html.ini | 31 -
.../write.serviceworker.https.html.ini | 31 -
.../write.sharedworker.html.ini | 31 -
160 files changed, 4102 insertions(+), 4487 deletions(-)
delete mode 100644 testing/web-platform/meta/streams/byte-length-queuing-strategy.serviceworker.https.html.ini
delete mode 100644 testing/web-platform/meta/streams/count-queuing-strategy.serviceworker.https.html.ini
delete mode 100644 testing/web-platform/meta/streams/piping/abort.dedicatedworker.html.ini
delete mode 100644 testing/web-platform/meta/streams/piping/abort.html.ini
delete mode 100644 testing/web-platform/meta/streams/piping/abort.serviceworker.https.html.ini
delete mode 100644 testing/web-platform/meta/streams/piping/abort.sharedworker.html.ini
delete mode 100644 testing/web-platform/meta/streams/readable-byte-streams/constructor.dedicatedworker.html.ini
delete mode 100644 testing/web-platform/meta/streams/readable-byte-streams/constructor.html.ini
delete mode 100644 testing/web-platform/meta/streams/readable-byte-streams/constructor.serviceworker.https.html.ini
delete mode 100644 testing/web-platform/meta/streams/readable-byte-streams/constructor.sharedworker.html.ini
create mode 100644 testing/web-platform/meta/streams/readable-streams/bad-underlying-sources.any.js.ini
create mode 100644 testing/web-platform/meta/streams/readable-streams/constructor.any.js.ini
create mode 100644 testing/web-platform/meta/streams/readable-streams/garbage-collection.any.js.ini
create mode 100644 testing/web-platform/meta/streams/readable-streams/general.any.js.ini
create mode 100644 testing/web-platform/meta/streams/readable-streams/patched-global.any.js.ini
create mode 100644 testing/web-platform/meta/streams/readable-streams/reentrant-strategies.any.js.ini
delete mode 100644 testing/web-platform/meta/streams/readable-streams/reentrant-strategies.dedicatedworker.html.ini
delete mode 100644 testing/web-platform/meta/streams/readable-streams/reentrant-strategies.html.ini
delete mode 100644 testing/web-platform/meta/streams/readable-streams/reentrant-strategies.serviceworker.https.html.ini
delete mode 100644 testing/web-platform/meta/streams/readable-streams/reentrant-strategies.sharedworker.html.ini
create mode 100644 testing/web-platform/meta/streams/readable-streams/templated.any.js.ini
delete mode 100644 testing/web-platform/meta/streams/readable-streams/templated.dedicatedworker.html.ini
delete mode 100644 testing/web-platform/meta/streams/readable-streams/templated.html.ini
delete mode 100644 testing/web-platform/meta/streams/readable-streams/templated.serviceworker.https.html.ini
delete mode 100644 testing/web-platform/meta/streams/readable-streams/templated.sharedworker.html.ini
create mode 100644 testing/web-platform/meta/streams/transform-streams/backpressure.any.js.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/backpressure.dedicatedworker.html.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/backpressure.html.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/backpressure.serviceworker.https.html.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/backpressure.sharedworker.html.ini
create mode 100644 testing/web-platform/meta/streams/transform-streams/brand-checks.any.js.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/brand-checks.dedicatedworker.html.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/brand-checks.html.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/brand-checks.serviceworker.https.html.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/brand-checks.sharedworker.html.ini
create mode 100644 testing/web-platform/meta/streams/transform-streams/constructor.any.js.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/constructor.dedicatedworker.html.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/constructor.html.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/constructor.serviceworker.https.html.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/constructor.sharedworker.html.ini
create mode 100644 testing/web-platform/meta/streams/transform-streams/errors.any.js.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/errors.dedicatedworker.html.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/errors.html.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/errors.serviceworker.https.html.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/errors.sharedworker.html.ini
create mode 100644 testing/web-platform/meta/streams/transform-streams/flush.any.js.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/flush.dedicatedworker.html.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/flush.html.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/flush.serviceworker.https.html.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/flush.sharedworker.html.ini
create mode 100644 testing/web-platform/meta/streams/transform-streams/general.any.js.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/general.dedicatedworker.html.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/general.html.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/general.serviceworker.https.html.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/general.sharedworker.html.ini
create mode 100644 testing/web-platform/meta/streams/transform-streams/lipfuzz.any.js.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/lipfuzz.dedicatedworker.html.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/lipfuzz.html.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/lipfuzz.serviceworker.https.html.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/lipfuzz.sharedworker.html.ini
create mode 100644 testing/web-platform/meta/streams/transform-streams/patched-global.any.js.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/patched-global.dedicatedworker.html.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/patched-global.html.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/patched-global.serviceworker.https.html.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/patched-global.sharedworker.html.ini
create mode 100644 testing/web-platform/meta/streams/transform-streams/properties.any.js.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/properties.dedicatedworker.html.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/properties.html.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/properties.serviceworker.https.html.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/properties.sharedworker.html.ini
create mode 100644 testing/web-platform/meta/streams/transform-streams/reentrant-strategies.any.js.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/reentrant-strategies.dedicatedworker.html.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/reentrant-strategies.html.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/reentrant-strategies.serviceworker.https.html.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/reentrant-strategies.sharedworker.html.ini
create mode 100644 testing/web-platform/meta/streams/transform-streams/strategies.any.js.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/strategies.dedicatedworker.html.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/strategies.html.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/strategies.serviceworker.https.html.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/strategies.sharedworker.html.ini
create mode 100644 testing/web-platform/meta/streams/transform-streams/terminate.any.js.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/terminate.dedicatedworker.html.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/terminate.html.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/terminate.serviceworker.https.html.ini
delete mode 100644 testing/web-platform/meta/streams/transform-streams/terminate.sharedworker.html.ini
create mode 100644 testing/web-platform/meta/streams/writable-streams/aborting.any.js.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/aborting.dedicatedworker.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/aborting.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/aborting.serviceworker.https.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/aborting.sharedworker.html.ini
create mode 100644 testing/web-platform/meta/streams/writable-streams/bad-strategies.any.js.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/bad-strategies.dedicatedworker.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/bad-strategies.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/bad-strategies.serviceworker.https.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/bad-strategies.sharedworker.html.ini
create mode 100644 testing/web-platform/meta/streams/writable-streams/bad-underlying-sinks.any.js.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/bad-underlying-sinks.dedicatedworker.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/bad-underlying-sinks.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/bad-underlying-sinks.serviceworker.https.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/bad-underlying-sinks.sharedworker.html.ini
create mode 100644 testing/web-platform/meta/streams/writable-streams/brand-checks.any.js.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/brand-checks.dedicatedworker.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/brand-checks.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/brand-checks.serviceworker.https.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/brand-checks.sharedworker.html.ini
create mode 100644 testing/web-platform/meta/streams/writable-streams/byte-length-queuing-strategy.any.js.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/byte-length-queuing-strategy.dedicatedworker.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/byte-length-queuing-strategy.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/byte-length-queuing-strategy.serviceworker.https.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/byte-length-queuing-strategy.sharedworker.html.ini
create mode 100644 testing/web-platform/meta/streams/writable-streams/close.any.js.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/close.dedicatedworker.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/close.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/close.serviceworker.https.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/close.sharedworker.html.ini
create mode 100644 testing/web-platform/meta/streams/writable-streams/constructor.any.js.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/constructor.dedicatedworker.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/constructor.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/constructor.serviceworker.https.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/constructor.sharedworker.html.ini
create mode 100644 testing/web-platform/meta/streams/writable-streams/count-queuing-strategy.any.js.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/count-queuing-strategy.dedicatedworker.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/count-queuing-strategy.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/count-queuing-strategy.serviceworker.https.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/count-queuing-strategy.sharedworker.html.ini
create mode 100644 testing/web-platform/meta/streams/writable-streams/error.any.js.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/error.dedicatedworker.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/error.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/error.serviceworker.https.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/error.sharedworker.html.ini
create mode 100644 testing/web-platform/meta/streams/writable-streams/floating-point-total-queue-size.any.js.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/floating-point-total-queue-size.dedicatedworker.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/floating-point-total-queue-size.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/floating-point-total-queue-size.serviceworker.https.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/floating-point-total-queue-size.sharedworker.html.ini
create mode 100644 testing/web-platform/meta/streams/writable-streams/general.any.js.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/general.dedicatedworker.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/general.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/general.serviceworker.https.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/general.sharedworker.html.ini
create mode 100644 testing/web-platform/meta/streams/writable-streams/properties.any.js.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/properties.dedicatedworker.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/properties.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/properties.serviceworker.https.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/properties.sharedworker.html.ini
create mode 100644 testing/web-platform/meta/streams/writable-streams/reentrant-strategy.any.js.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/reentrant-strategy.dedicatedworker.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/reentrant-strategy.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/reentrant-strategy.serviceworker.https.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/reentrant-strategy.sharedworker.html.ini
create mode 100644 testing/web-platform/meta/streams/writable-streams/start.any.js.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/start.dedicatedworker.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/start.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/start.serviceworker.https.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/start.sharedworker.html.ini
create mode 100644 testing/web-platform/meta/streams/writable-streams/write.any.js.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/write.dedicatedworker.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/write.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/write.serviceworker.https.html.ini
delete mode 100644 testing/web-platform/meta/streams/writable-streams/write.sharedworker.html.ini
diff --git a/testing/web-platform/meta/streams/byte-length-queuing-strategy.serviceworker.https.html.ini b/testing/web-platform/meta/streams/byte-length-queuing-strategy.serviceworker.https.html.ini
deleted file mode 100644
index 0952104f69333..0000000000000
--- a/testing/web-platform/meta/streams/byte-length-queuing-strategy.serviceworker.https.html.ini
+++ /dev/null
@@ -1,4 +0,0 @@
-[byte-length-queuing-strategy.serviceworker.https.html]
- [byte-length-queuing-strategy.js service worker wrapper file]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/count-queuing-strategy.serviceworker.https.html.ini b/testing/web-platform/meta/streams/count-queuing-strategy.serviceworker.https.html.ini
deleted file mode 100644
index bf026ad014068..0000000000000
--- a/testing/web-platform/meta/streams/count-queuing-strategy.serviceworker.https.html.ini
+++ /dev/null
@@ -1,4 +0,0 @@
-[count-queuing-strategy.serviceworker.https.html]
- [count-queuing-strategy.js service worker wrapper file]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/piping/abort.dedicatedworker.html.ini b/testing/web-platform/meta/streams/piping/abort.dedicatedworker.html.ini
deleted file mode 100644
index 068c70f3896db..0000000000000
--- a/testing/web-platform/meta/streams/piping/abort.dedicatedworker.html.ini
+++ /dev/null
@@ -1,67 +0,0 @@
-[abort.dedicatedworker.html]
- [a signal argument 'null' should cause pipeTo() to reject]
- expected: FAIL
-
- [a signal argument 'AbortSignal' should cause pipeTo() to reject]
- expected: FAIL
-
- [abort signal takes priority over errored readable]
- expected: FAIL
-
- [preventCancel should prevent canceling the readable]
- expected: FAIL
-
- [abort signal takes priority over closed writable]
- expected: FAIL
-
- [abort signal takes priority over errored writable]
- expected: FAIL
-
- [a signal argument '-1' should cause pipeTo() to reject]
- expected: FAIL
-
- [a rejection from underlyingSource.cancel() should be returned by pipeTo()]
- expected: FAIL
-
- [abort should prevent further reads]
- expected: FAIL
-
- [an aborted signal should cause the writable stream to reject with an AbortError]
- expected: FAIL
-
- [abort signal takes priority over closed readable]
- expected: FAIL
-
- [a rejection from underlyingSink.abort() should be preferred to one from underlyingSource.cancel()]
- expected: FAIL
-
- [all the AbortError objects should be the same object]
- expected: FAIL
-
- [a rejection from underlyingSink.abort() should be returned by pipeTo()]
- expected: FAIL
-
- [a signal argument 'true' should cause pipeTo() to reject]
- expected: FAIL
-
- [a signal argument '[object Object\]' should cause pipeTo() to reject]
- expected: FAIL
-
- [preventAbort should prevent aborting the readable]
- expected: FAIL
-
- [abort should do nothing after the readable is errored, even with pending writes]
- expected: FAIL
-
- [abort should do nothing after the writable is errored]
- expected: FAIL
-
- [all pending writes should complete on abort]
- expected: FAIL
-
- [abort should do nothing after the readable is errored]
- expected: FAIL
-
- [abort should do nothing after the readable is closed]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/piping/abort.html.ini b/testing/web-platform/meta/streams/piping/abort.html.ini
deleted file mode 100644
index f2777176e9096..0000000000000
--- a/testing/web-platform/meta/streams/piping/abort.html.ini
+++ /dev/null
@@ -1,67 +0,0 @@
-[abort.html]
- [a signal argument 'null' should cause pipeTo() to reject]
- expected: FAIL
-
- [a signal argument 'AbortSignal' should cause pipeTo() to reject]
- expected: FAIL
-
- [abort signal takes priority over errored readable]
- expected: FAIL
-
- [preventCancel should prevent canceling the readable]
- expected: FAIL
-
- [abort signal takes priority over closed writable]
- expected: FAIL
-
- [abort signal takes priority over errored writable]
- expected: FAIL
-
- [a signal argument '-1' should cause pipeTo() to reject]
- expected: FAIL
-
- [a rejection from underlyingSource.cancel() should be returned by pipeTo()]
- expected: FAIL
-
- [abort should prevent further reads]
- expected: FAIL
-
- [an aborted signal should cause the writable stream to reject with an AbortError]
- expected: FAIL
-
- [abort signal takes priority over closed readable]
- expected: FAIL
-
- [a rejection from underlyingSink.abort() should be preferred to one from underlyingSource.cancel()]
- expected: FAIL
-
- [all the AbortError objects should be the same object]
- expected: FAIL
-
- [a rejection from underlyingSink.abort() should be returned by pipeTo()]
- expected: FAIL
-
- [a signal argument 'true' should cause pipeTo() to reject]
- expected: FAIL
-
- [a signal argument '[object Object\]' should cause pipeTo() to reject]
- expected: FAIL
-
- [preventAbort should prevent aborting the readable]
- expected: FAIL
-
- [abort should do nothing after the readable is errored, even with pending writes]
- expected: FAIL
-
- [abort should do nothing after the writable is errored]
- expected: FAIL
-
- [all pending writes should complete on abort]
- expected: FAIL
-
- [abort should do nothing after the readable is errored]
- expected: FAIL
-
- [abort should do nothing after the readable is closed]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/piping/abort.serviceworker.https.html.ini b/testing/web-platform/meta/streams/piping/abort.serviceworker.https.html.ini
deleted file mode 100644
index a476ffbf9cccd..0000000000000
--- a/testing/web-platform/meta/streams/piping/abort.serviceworker.https.html.ini
+++ /dev/null
@@ -1,67 +0,0 @@
-[abort.serviceworker.https.html]
- [a signal argument 'null' should cause pipeTo() to reject]
- expected: FAIL
-
- [a signal argument 'AbortSignal' should cause pipeTo() to reject]
- expected: FAIL
-
- [abort signal takes priority over errored readable]
- expected: FAIL
-
- [preventCancel should prevent canceling the readable]
- expected: FAIL
-
- [abort signal takes priority over closed writable]
- expected: FAIL
-
- [abort signal takes priority over errored writable]
- expected: FAIL
-
- [a rejection from underlyingSink.abort() should be preferred to one from underlyingSource.cancel()]
- expected: FAIL
-
- [a signal argument '-1' should cause pipeTo() to reject]
- expected: FAIL
-
- [a rejection from underlyingSource.cancel() should be returned by pipeTo()]
- expected: FAIL
-
- [abort should prevent further reads]
- expected: FAIL
-
- [an aborted signal should cause the writable stream to reject with an AbortError]
- expected: FAIL
-
- [abort signal takes priority over closed readable]
- expected: FAIL
-
- [all the AbortError objects should be the same object]
- expected: FAIL
-
- [a rejection from underlyingSink.abort() should be returned by pipeTo()]
- expected: FAIL
-
- [a signal argument 'true' should cause pipeTo() to reject]
- expected: FAIL
-
- [a signal argument '[object Object\]' should cause pipeTo() to reject]
- expected: FAIL
-
- [preventAbort should prevent aborting the readable]
- expected: FAIL
-
- [abort should do nothing after the readable is errored, even with pending writes]
- expected: FAIL
-
- [abort should do nothing after the writable is errored]
- expected: FAIL
-
- [all pending writes should complete on abort]
- expected: FAIL
-
- [abort should do nothing after the readable is errored]
- expected: FAIL
-
- [abort should do nothing after the readable is closed]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/piping/abort.sharedworker.html.ini b/testing/web-platform/meta/streams/piping/abort.sharedworker.html.ini
deleted file mode 100644
index d4bd4b42807d1..0000000000000
--- a/testing/web-platform/meta/streams/piping/abort.sharedworker.html.ini
+++ /dev/null
@@ -1,67 +0,0 @@
-[abort.sharedworker.html]
- [a signal argument 'null' should cause pipeTo() to reject]
- expected: FAIL
-
- [a signal argument 'AbortSignal' should cause pipeTo() to reject]
- expected: FAIL
-
- [abort signal takes priority over errored readable]
- expected: FAIL
-
- [preventCancel should prevent canceling the readable]
- expected: FAIL
-
- [abort signal takes priority over closed writable]
- expected: FAIL
-
- [abort signal takes priority over errored writable]
- expected: FAIL
-
- [a signal argument '-1' should cause pipeTo() to reject]
- expected: FAIL
-
- [a rejection from underlyingSource.cancel() should be returned by pipeTo()]
- expected: FAIL
-
- [abort should prevent further reads]
- expected: FAIL
-
- [an aborted signal should cause the writable stream to reject with an AbortError]
- expected: FAIL
-
- [abort signal takes priority over closed readable]
- expected: FAIL
-
- [a rejection from underlyingSink.abort() should be preferred to one from underlyingSource.cancel()]
- expected: FAIL
-
- [all the AbortError objects should be the same object]
- expected: FAIL
-
- [a rejection from underlyingSink.abort() should be returned by pipeTo()]
- expected: FAIL
-
- [a signal argument 'true' should cause pipeTo() to reject]
- expected: FAIL
-
- [a signal argument '[object Object\]' should cause pipeTo() to reject]
- expected: FAIL
-
- [preventAbort should prevent aborting the readable]
- expected: FAIL
-
- [abort should do nothing after the readable is errored, even with pending writes]
- expected: FAIL
-
- [abort should do nothing after the writable is errored]
- expected: FAIL
-
- [all pending writes should complete on abort]
- expected: FAIL
-
- [abort should do nothing after the readable is errored]
- expected: FAIL
-
- [abort should do nothing after the readable is closed]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/readable-byte-streams/constructor.dedicatedworker.html.ini b/testing/web-platform/meta/streams/readable-byte-streams/constructor.dedicatedworker.html.ini
deleted file mode 100644
index 6909357c0ea72..0000000000000
--- a/testing/web-platform/meta/streams/readable-byte-streams/constructor.dedicatedworker.html.ini
+++ /dev/null
@@ -1,35 +0,0 @@
-[constructor.dedicatedworker.html]
- expected:
- if debug and not webrender and e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86") and (bits == 32): CRASH
- if debug and not webrender and not e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86") and (bits == 32): CRASH
- if debug and not webrender and e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86_64") and (bits == 64): CRASH
- [ReadableStream constructor should stop after validate on size fails]
- expected: FAIL
-
- [ReadableStream constructor should stop after get on pull fails]
- expected: FAIL
-
- [ReadableStream constructor should stop after validate on pull fails]
- expected: FAIL
-
- [ReadableStream constructor should stop after get on cancel fails]
- expected: FAIL
-
- [ReadableStream constructor should stop after validate on cancel fails]
- expected: FAIL
-
- [ReadableStream constructor should stop after get on autoAllocateChunkSize fails]
- expected: FAIL
-
- [ReadableStream constructor should stop after tonumber on autoAllocateChunkSize fails]
- expected: FAIL
-
- [ReadableStream constructor should stop after validate on autoAllocateChunkSize fails]
- expected: FAIL
-
- [ReadableStream constructor should stop after get on start fails]
- expected: FAIL
-
- [ReadableStream constructor should stop after validate on start fails]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/readable-byte-streams/constructor.html.ini b/testing/web-platform/meta/streams/readable-byte-streams/constructor.html.ini
deleted file mode 100644
index a2a77385ccc2f..0000000000000
--- a/testing/web-platform/meta/streams/readable-byte-streams/constructor.html.ini
+++ /dev/null
@@ -1,35 +0,0 @@
-[constructor.html]
- expected:
- if debug and not webrender and e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86") and (bits == 32): CRASH
- if debug and not webrender and not e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86") and (bits == 32): CRASH
- if debug and not webrender and e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86_64") and (bits == 64): CRASH
- [ReadableStream constructor should stop after validate on size fails]
- expected: FAIL
-
- [ReadableStream constructor should stop after get on pull fails]
- expected: FAIL
-
- [ReadableStream constructor should stop after validate on pull fails]
- expected: FAIL
-
- [ReadableStream constructor should stop after get on cancel fails]
- expected: FAIL
-
- [ReadableStream constructor should stop after validate on cancel fails]
- expected: FAIL
-
- [ReadableStream constructor should stop after get on autoAllocateChunkSize fails]
- expected: FAIL
-
- [ReadableStream constructor should stop after tonumber on autoAllocateChunkSize fails]
- expected: FAIL
-
- [ReadableStream constructor should stop after validate on autoAllocateChunkSize fails]
- expected: FAIL
-
- [ReadableStream constructor should stop after get on start fails]
- expected: FAIL
-
- [ReadableStream constructor should stop after validate on start fails]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/readable-byte-streams/constructor.serviceworker.https.html.ini b/testing/web-platform/meta/streams/readable-byte-streams/constructor.serviceworker.https.html.ini
deleted file mode 100644
index b57a6ded287b6..0000000000000
--- a/testing/web-platform/meta/streams/readable-byte-streams/constructor.serviceworker.https.html.ini
+++ /dev/null
@@ -1,35 +0,0 @@
-[constructor.serviceworker.https.html]
- expected:
- if debug and not webrender and e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86") and (bits == 32): CRASH
- if debug and not webrender and not e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86") and (bits == 32): CRASH
- if debug and not webrender and e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86_64") and (bits == 64): CRASH
- [ReadableStream constructor should stop after validate on size fails]
- expected: FAIL
-
- [ReadableStream constructor should stop after get on pull fails]
- expected: FAIL
-
- [ReadableStream constructor should stop after validate on pull fails]
- expected: FAIL
-
- [ReadableStream constructor should stop after get on cancel fails]
- expected: FAIL
-
- [ReadableStream constructor should stop after validate on cancel fails]
- expected: FAIL
-
- [ReadableStream constructor should stop after get on autoAllocateChunkSize fails]
- expected: FAIL
-
- [ReadableStream constructor should stop after tonumber on autoAllocateChunkSize fails]
- expected: FAIL
-
- [ReadableStream constructor should stop after validate on autoAllocateChunkSize fails]
- expected: FAIL
-
- [ReadableStream constructor should stop after get on start fails]
- expected: FAIL
-
- [ReadableStream constructor should stop after validate on start fails]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/readable-byte-streams/constructor.sharedworker.html.ini b/testing/web-platform/meta/streams/readable-byte-streams/constructor.sharedworker.html.ini
deleted file mode 100644
index b501e91354b21..0000000000000
--- a/testing/web-platform/meta/streams/readable-byte-streams/constructor.sharedworker.html.ini
+++ /dev/null
@@ -1,35 +0,0 @@
-[constructor.sharedworker.html]
- expected:
- if debug and not webrender and e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86") and (bits == 32): CRASH
- if debug and not webrender and not e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86") and (bits == 32): CRASH
- if debug and not webrender and e10s and (os == "linux") and (version == "Ubuntu 16.04") and (processor == "x86_64") and (bits == 64): CRASH
- [ReadableStream constructor should stop after validate on size fails]
- expected: FAIL
-
- [ReadableStream constructor should stop after get on pull fails]
- expected: FAIL
-
- [ReadableStream constructor should stop after validate on pull fails]
- expected: FAIL
-
- [ReadableStream constructor should stop after get on cancel fails]
- expected: FAIL
-
- [ReadableStream constructor should stop after validate on cancel fails]
- expected: FAIL
-
- [ReadableStream constructor should stop after get on autoAllocateChunkSize fails]
- expected: FAIL
-
- [ReadableStream constructor should stop after tonumber on autoAllocateChunkSize fails]
- expected: FAIL
-
- [ReadableStream constructor should stop after validate on autoAllocateChunkSize fails]
- expected: FAIL
-
- [ReadableStream constructor should stop after get on start fails]
- expected: FAIL
-
- [ReadableStream constructor should stop after validate on start fails]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/readable-streams/bad-underlying-sources.any.js.ini b/testing/web-platform/meta/streams/readable-streams/bad-underlying-sources.any.js.ini
new file mode 100644
index 0000000000000..7768b3757c101
--- /dev/null
+++ b/testing/web-platform/meta/streams/readable-streams/bad-underlying-sources.any.js.ini
@@ -0,0 +1,67 @@
+[bad-underlying-sources.any.worker.html]
+ [Underlying source cancel: throwing getter]
+ expected: FAIL
+
+ [Underlying source: calling error twice should not throw]
+ expected: FAIL
+
+ [Underlying source: calling error after close should not throw]
+ expected: FAIL
+
+ [Underlying source pull: throwing getter (second pull does not result in a second get)]
+ expected: FAIL
+
+ [Underlying source: throwing pull getter (initial pull)]
+ expected: FAIL
+
+
+[bad-underlying-sources.any.sharedworker.html]
+ [Underlying source cancel: throwing getter]
+ expected: FAIL
+
+ [Underlying source: calling error twice should not throw]
+ expected: FAIL
+
+ [Underlying source: calling error after close should not throw]
+ expected: FAIL
+
+ [Underlying source pull: throwing getter (second pull does not result in a second get)]
+ expected: FAIL
+
+ [Underlying source: throwing pull getter (initial pull)]
+ expected: FAIL
+
+
+[bad-underlying-sources.any.html]
+ [Underlying source cancel: throwing getter]
+ expected: FAIL
+
+ [Underlying source: calling error twice should not throw]
+ expected: FAIL
+
+ [Underlying source: calling error after close should not throw]
+ expected: FAIL
+
+ [Underlying source pull: throwing getter (second pull does not result in a second get)]
+ expected: FAIL
+
+ [Underlying source: throwing pull getter (initial pull)]
+ expected: FAIL
+
+
+[bad-underlying-sources.any.serviceworker.html]
+ [Underlying source cancel: throwing getter]
+ expected: FAIL
+
+ [Underlying source: calling error twice should not throw]
+ expected: FAIL
+
+ [Underlying source: calling error after close should not throw]
+ expected: FAIL
+
+ [Underlying source pull: throwing getter (second pull does not result in a second get)]
+ expected: FAIL
+
+ [Underlying source: throwing pull getter (initial pull)]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/streams/readable-streams/constructor.any.js.ini b/testing/web-platform/meta/streams/readable-streams/constructor.any.js.ini
new file mode 100644
index 0000000000000..fb2632da0003b
--- /dev/null
+++ b/testing/web-platform/meta/streams/readable-streams/constructor.any.js.ini
@@ -0,0 +1,79 @@
+[constructor.any.serviceworker.html]
+ [ReadableStream constructor should stop after validate on pull fails]
+ expected: FAIL
+
+ [ReadableStream constructor should stop after get on cancel fails]
+ expected: FAIL
+
+ [ReadableStream constructor should stop after validate on cancel fails]
+ expected: FAIL
+
+ [ReadableStream constructor should stop after get on start fails]
+ expected: FAIL
+
+ [ReadableStream constructor should stop after get on pull fails]
+ expected: FAIL
+
+ [ReadableStream constructor should stop after validate on start fails]
+ expected: FAIL
+
+
+[constructor.any.html]
+ [ReadableStream constructor should stop after validate on pull fails]
+ expected: FAIL
+
+ [ReadableStream constructor should stop after get on cancel fails]
+ expected: FAIL
+
+ [ReadableStream constructor should stop after validate on cancel fails]
+ expected: FAIL
+
+ [ReadableStream constructor should stop after get on start fails]
+ expected: FAIL
+
+ [ReadableStream constructor should stop after get on pull fails]
+ expected: FAIL
+
+ [ReadableStream constructor should stop after validate on start fails]
+ expected: FAIL
+
+
+[constructor.any.worker.html]
+ [ReadableStream constructor should stop after validate on pull fails]
+ expected: FAIL
+
+ [ReadableStream constructor should stop after get on cancel fails]
+ expected: FAIL
+
+ [ReadableStream constructor should stop after validate on cancel fails]
+ expected: FAIL
+
+ [ReadableStream constructor should stop after get on start fails]
+ expected: FAIL
+
+ [ReadableStream constructor should stop after get on pull fails]
+ expected: FAIL
+
+ [ReadableStream constructor should stop after validate on start fails]
+ expected: FAIL
+
+
+[constructor.any.sharedworker.html]
+ [ReadableStream constructor should stop after validate on pull fails]
+ expected: FAIL
+
+ [ReadableStream constructor should stop after get on cancel fails]
+ expected: FAIL
+
+ [ReadableStream constructor should stop after validate on cancel fails]
+ expected: FAIL
+
+ [ReadableStream constructor should stop after get on start fails]
+ expected: FAIL
+
+ [ReadableStream constructor should stop after get on pull fails]
+ expected: FAIL
+
+ [ReadableStream constructor should stop after validate on start fails]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/streams/readable-streams/garbage-collection.any.js.ini b/testing/web-platform/meta/streams/readable-streams/garbage-collection.any.js.ini
new file mode 100644
index 0000000000000..f3a9e79343308
--- /dev/null
+++ b/testing/web-platform/meta/streams/readable-streams/garbage-collection.any.js.ini
@@ -0,0 +1,19 @@
+[garbage-collection.any.sharedworker.html]
+ [ReadableStreamController methods should continue working properly when scripts lose their reference to the readable stream]
+ expected: FAIL
+
+
+[garbage-collection.any.html]
+ [ReadableStreamController methods should continue working properly when scripts lose their reference to the readable stream]
+ expected: FAIL
+
+
+[garbage-collection.any.serviceworker.html]
+ [ReadableStreamController methods should continue working properly when scripts lose their reference to the readable stream]
+ expected: FAIL
+
+
+[garbage-collection.any.worker.html]
+ [ReadableStreamController methods should continue working properly when scripts lose their reference to the readable stream]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/streams/readable-streams/general.any.js.ini b/testing/web-platform/meta/streams/readable-streams/general.any.js.ini
new file mode 100644
index 0000000000000..f69abc18317ce
--- /dev/null
+++ b/testing/web-platform/meta/streams/readable-streams/general.any.js.ini
@@ -0,0 +1,55 @@
+[general.any.serviceworker.html]
+ [ReadableStream constructor will not tolerate initial garbage as pull argument]
+ expected: FAIL
+
+ [ReadableStream start should be called with the proper parameters]
+ expected: FAIL
+
+ [ReadableStream instances should have the correct list of properties]
+ expected: FAIL
+
+ [ReadableStream constructor will not tolerate initial garbage as cancel argument]
+ expected: FAIL
+
+
+[general.any.html]
+ [ReadableStream constructor will not tolerate initial garbage as pull argument]
+ expected: FAIL
+
+ [ReadableStream start should be called with the proper parameters]
+ expected: FAIL
+
+ [ReadableStream instances should have the correct list of properties]
+ expected: FAIL
+
+ [ReadableStream constructor will not tolerate initial garbage as cancel argument]
+ expected: FAIL
+
+
+[general.any.worker.html]
+ [ReadableStream constructor will not tolerate initial garbage as pull argument]
+ expected: FAIL
+
+ [ReadableStream start should be called with the proper parameters]
+ expected: FAIL
+
+ [ReadableStream instances should have the correct list of properties]
+ expected: FAIL
+
+ [ReadableStream constructor will not tolerate initial garbage as cancel argument]
+ expected: FAIL
+
+
+[general.any.sharedworker.html]
+ [ReadableStream constructor will not tolerate initial garbage as pull argument]
+ expected: FAIL
+
+ [ReadableStream start should be called with the proper parameters]
+ expected: FAIL
+
+ [ReadableStream instances should have the correct list of properties]
+ expected: FAIL
+
+ [ReadableStream constructor will not tolerate initial garbage as cancel argument]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/streams/readable-streams/patched-global.any.js.ini b/testing/web-platform/meta/streams/readable-streams/patched-global.any.js.ini
new file mode 100644
index 0000000000000..f022122b012ed
--- /dev/null
+++ b/testing/web-platform/meta/streams/readable-streams/patched-global.any.js.ini
@@ -0,0 +1,19 @@
+[patched-global.any.serviceworker.html]
+ [ReadableStream tee() should not touch Object.prototype properties]
+ expected: FAIL
+
+
+[patched-global.any.sharedworker.html]
+ [ReadableStream tee() should not touch Object.prototype properties]
+ expected: FAIL
+
+
+[patched-global.any.html]
+ [ReadableStream tee() should not touch Object.prototype properties]
+ expected: FAIL
+
+
+[patched-global.any.worker.html]
+ [ReadableStream tee() should not touch Object.prototype properties]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/streams/readable-streams/reentrant-strategies.any.js.ini b/testing/web-platform/meta/streams/readable-streams/reentrant-strategies.any.js.ini
new file mode 100644
index 0000000000000..115307d471477
--- /dev/null
+++ b/testing/web-platform/meta/streams/readable-streams/reentrant-strategies.any.js.ini
@@ -0,0 +1,19 @@
+[reentrant-strategies.any.worker.html]
+ [pipeTo() inside size() should behave as expected]
+ expected: FAIL
+
+
+[reentrant-strategies.any.serviceworker.html]
+ [pipeTo() inside size() should behave as expected]
+ expected: FAIL
+
+
+[reentrant-strategies.any.html]
+ [pipeTo() inside size() should behave as expected]
+ expected: FAIL
+
+
+[reentrant-strategies.any.sharedworker.html]
+ [pipeTo() inside size() should behave as expected]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/streams/readable-streams/reentrant-strategies.dedicatedworker.html.ini b/testing/web-platform/meta/streams/readable-streams/reentrant-strategies.dedicatedworker.html.ini
deleted file mode 100644
index 847a8d006742f..0000000000000
--- a/testing/web-platform/meta/streams/readable-streams/reentrant-strategies.dedicatedworker.html.ini
+++ /dev/null
@@ -1,4 +0,0 @@
-[reentrant-strategies.dedicatedworker.html]
- [pipeTo() inside size() should behave as expected]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/readable-streams/reentrant-strategies.html.ini b/testing/web-platform/meta/streams/readable-streams/reentrant-strategies.html.ini
deleted file mode 100644
index f80a849b21ae1..0000000000000
--- a/testing/web-platform/meta/streams/readable-streams/reentrant-strategies.html.ini
+++ /dev/null
@@ -1,4 +0,0 @@
-[reentrant-strategies.html]
- [pipeTo() inside size() should behave as expected]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/readable-streams/reentrant-strategies.serviceworker.https.html.ini b/testing/web-platform/meta/streams/readable-streams/reentrant-strategies.serviceworker.https.html.ini
deleted file mode 100644
index 55ab07dcbe429..0000000000000
--- a/testing/web-platform/meta/streams/readable-streams/reentrant-strategies.serviceworker.https.html.ini
+++ /dev/null
@@ -1,4 +0,0 @@
-[reentrant-strategies.serviceworker.https.html]
- [pipeTo() inside size() should behave as expected]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/readable-streams/reentrant-strategies.sharedworker.html.ini b/testing/web-platform/meta/streams/readable-streams/reentrant-strategies.sharedworker.html.ini
deleted file mode 100644
index 1fb92bafcf3c5..0000000000000
--- a/testing/web-platform/meta/streams/readable-streams/reentrant-strategies.sharedworker.html.ini
+++ /dev/null
@@ -1,4 +0,0 @@
-[reentrant-strategies.sharedworker.html]
- [pipeTo() inside size() should behave as expected]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/readable-streams/templated.any.js.ini b/testing/web-platform/meta/streams/readable-streams/templated.any.js.ini
new file mode 100644
index 0000000000000..5723d01d0478e
--- /dev/null
+++ b/testing/web-platform/meta/streams/readable-streams/templated.any.js.ini
@@ -0,0 +1,19 @@
+[templated.any.serviceworker.html]
+ [ReadableStream (empty): instances have the correct methods and properties]
+ expected: FAIL
+
+
+[templated.any.html]
+ [ReadableStream (empty): instances have the correct methods and properties]
+ expected: FAIL
+
+
+[templated.any.worker.html]
+ [ReadableStream (empty): instances have the correct methods and properties]
+ expected: FAIL
+
+
+[templated.any.sharedworker.html]
+ [ReadableStream (empty): instances have the correct methods and properties]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/streams/readable-streams/templated.dedicatedworker.html.ini b/testing/web-platform/meta/streams/readable-streams/templated.dedicatedworker.html.ini
deleted file mode 100644
index f8289d2f72c6b..0000000000000
--- a/testing/web-platform/meta/streams/readable-streams/templated.dedicatedworker.html.ini
+++ /dev/null
@@ -1,7 +0,0 @@
-[templated.dedicatedworker.html]
- disabled:
- if verify and (os == "linux") and debug: fails in verify mode
-
- [ReadableStream (empty): instances have the correct methods and properties]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/readable-streams/templated.html.ini b/testing/web-platform/meta/streams/readable-streams/templated.html.ini
deleted file mode 100644
index bed931de55cd0..0000000000000
--- a/testing/web-platform/meta/streams/readable-streams/templated.html.ini
+++ /dev/null
@@ -1,4 +0,0 @@
-[templated.html]
- [ReadableStream (empty): instances have the correct methods and properties]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/readable-streams/templated.serviceworker.https.html.ini b/testing/web-platform/meta/streams/readable-streams/templated.serviceworker.https.html.ini
deleted file mode 100644
index cffaa5fded535..0000000000000
--- a/testing/web-platform/meta/streams/readable-streams/templated.serviceworker.https.html.ini
+++ /dev/null
@@ -1,6 +0,0 @@
-[templated.serviceworker.https.html]
- disabled:
- if verify and (os == "linux") and debug: fails in verify mode
-
- [ReadableStream (empty): instances have the correct methods and properties]
- expected: FAIL
diff --git a/testing/web-platform/meta/streams/readable-streams/templated.sharedworker.html.ini b/testing/web-platform/meta/streams/readable-streams/templated.sharedworker.html.ini
deleted file mode 100644
index 4f612acdd14c6..0000000000000
--- a/testing/web-platform/meta/streams/readable-streams/templated.sharedworker.html.ini
+++ /dev/null
@@ -1,4 +0,0 @@
-[templated.sharedworker.html]
- [ReadableStream (empty): instances have the correct methods and properties]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/backpressure.any.js.ini b/testing/web-platform/meta/streams/transform-streams/backpressure.any.js.ini
new file mode 100644
index 0000000000000..1a5a3a6c15f6a
--- /dev/null
+++ b/testing/web-platform/meta/streams/transform-streams/backpressure.any.js.ini
@@ -0,0 +1,175 @@
+[backpressure.any.worker.html]
+ [writer.closed should resolve after readable is canceled during start]
+ expected: FAIL
+
+ [writer.closed should resolve after readable is canceled with no backpressure]
+ expected: FAIL
+
+ [cancelling the readable side of a TransformStream should abort a full pipe]
+ expected: FAIL
+
+ [blocking transform() should cause backpressure]
+ expected: FAIL
+
+ [backpressure only allows one transform() with a identity transform with a readable HWM of 1 and no reader]
+ expected: FAIL
+
+ [transform() should keep being called as long as there is no backpressure]
+ expected: FAIL
+
+ [backpressure allows no transforms with a default identity transform and no reader]
+ expected: FAIL
+
+ [cancelling the readable side of a TransformStream should abort an empty pipe]
+ expected: FAIL
+
+ [cancelling the readable side of a TransformStream should abort an empty pipe after startup]
+ expected: FAIL
+
+ [calling pull() before the first write() with backpressure should work]
+ expected: FAIL
+
+ [writes should resolve as soon as transform completes]
+ expected: FAIL
+
+ [transform() should be able to read the chunk it just enqueued]
+ expected: FAIL
+
+ [writer.closed should resolve after readable is canceled with backpressure]
+ expected: FAIL
+
+ [cancelling the readable should cause a pending write to resolve]
+ expected: FAIL
+
+
+[backpressure.any.sharedworker.html]
+ [writer.closed should resolve after readable is canceled during start]
+ expected: FAIL
+
+ [writer.closed should resolve after readable is canceled with no backpressure]
+ expected: FAIL
+
+ [cancelling the readable side of a TransformStream should abort a full pipe]
+ expected: FAIL
+
+ [blocking transform() should cause backpressure]
+ expected: FAIL
+
+ [backpressure only allows one transform() with a identity transform with a readable HWM of 1 and no reader]
+ expected: FAIL
+
+ [transform() should keep being called as long as there is no backpressure]
+ expected: FAIL
+
+ [backpressure allows no transforms with a default identity transform and no reader]
+ expected: FAIL
+
+ [cancelling the readable side of a TransformStream should abort an empty pipe]
+ expected: FAIL
+
+ [cancelling the readable side of a TransformStream should abort an empty pipe after startup]
+ expected: FAIL
+
+ [calling pull() before the first write() with backpressure should work]
+ expected: FAIL
+
+ [writes should resolve as soon as transform completes]
+ expected: FAIL
+
+ [transform() should be able to read the chunk it just enqueued]
+ expected: FAIL
+
+ [writer.closed should resolve after readable is canceled with backpressure]
+ expected: FAIL
+
+ [cancelling the readable should cause a pending write to resolve]
+ expected: FAIL
+
+
+[backpressure.any.serviceworker.html]
+ [writer.closed should resolve after readable is canceled during start]
+ expected: FAIL
+
+ [writer.closed should resolve after readable is canceled with no backpressure]
+ expected: FAIL
+
+ [cancelling the readable side of a TransformStream should abort a full pipe]
+ expected: FAIL
+
+ [blocking transform() should cause backpressure]
+ expected: FAIL
+
+ [backpressure only allows one transform() with a identity transform with a readable HWM of 1 and no reader]
+ expected: FAIL
+
+ [transform() should keep being called as long as there is no backpressure]
+ expected: FAIL
+
+ [backpressure allows no transforms with a default identity transform and no reader]
+ expected: FAIL
+
+ [cancelling the readable side of a TransformStream should abort an empty pipe]
+ expected: FAIL
+
+ [cancelling the readable side of a TransformStream should abort an empty pipe after startup]
+ expected: FAIL
+
+ [calling pull() before the first write() with backpressure should work]
+ expected: FAIL
+
+ [writes should resolve as soon as transform completes]
+ expected: FAIL
+
+ [transform() should be able to read the chunk it just enqueued]
+ expected: FAIL
+
+ [writer.closed should resolve after readable is canceled with backpressure]
+ expected: FAIL
+
+ [cancelling the readable should cause a pending write to resolve]
+ expected: FAIL
+
+
+[backpressure.any.html]
+ [writer.closed should resolve after readable is canceled during start]
+ expected: FAIL
+
+ [writer.closed should resolve after readable is canceled with no backpressure]
+ expected: FAIL
+
+ [cancelling the readable side of a TransformStream should abort a full pipe]
+ expected: FAIL
+
+ [blocking transform() should cause backpressure]
+ expected: FAIL
+
+ [backpressure only allows one transform() with a identity transform with a readable HWM of 1 and no reader]
+ expected: FAIL
+
+ [transform() should keep being called as long as there is no backpressure]
+ expected: FAIL
+
+ [backpressure allows no transforms with a default identity transform and no reader]
+ expected: FAIL
+
+ [cancelling the readable side of a TransformStream should abort an empty pipe]
+ expected: FAIL
+
+ [cancelling the readable side of a TransformStream should abort an empty pipe after startup]
+ expected: FAIL
+
+ [calling pull() before the first write() with backpressure should work]
+ expected: FAIL
+
+ [writes should resolve as soon as transform completes]
+ expected: FAIL
+
+ [transform() should be able to read the chunk it just enqueued]
+ expected: FAIL
+
+ [writer.closed should resolve after readable is canceled with backpressure]
+ expected: FAIL
+
+ [cancelling the readable should cause a pending write to resolve]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/streams/transform-streams/backpressure.dedicatedworker.html.ini b/testing/web-platform/meta/streams/transform-streams/backpressure.dedicatedworker.html.ini
deleted file mode 100644
index 225153bb3b076..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/backpressure.dedicatedworker.html.ini
+++ /dev/null
@@ -1,43 +0,0 @@
-[backpressure.dedicatedworker.html]
- [backpressure allows no transforms with a default identity transform and no reader]
- expected: FAIL
-
- [backpressure only allows one transform() with a identity transform with a readable HWM of 1 and no reader]
- expected: FAIL
-
- [transform() should keep being called as long as there is no backpressure]
- expected: FAIL
-
- [writes should resolve as soon as transform completes]
- expected: FAIL
-
- [calling pull() before the first write() with backpressure should work]
- expected: FAIL
-
- [transform() should be able to read the chunk it just enqueued]
- expected: FAIL
-
- [blocking transform() should cause backpressure]
- expected: FAIL
-
- [writer.closed should resolve after readable is canceled during start]
- expected: FAIL
-
- [writer.closed should resolve after readable is canceled with backpressure]
- expected: FAIL
-
- [writer.closed should resolve after readable is canceled with no backpressure]
- expected: FAIL
-
- [cancelling the readable should cause a pending write to resolve]
- expected: FAIL
-
- [cancelling the readable side of a TransformStream should abort an empty pipe]
- expected: FAIL
-
- [cancelling the readable side of a TransformStream should abort an empty pipe after startup]
- expected: FAIL
-
- [cancelling the readable side of a TransformStream should abort a full pipe]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/backpressure.html.ini b/testing/web-platform/meta/streams/transform-streams/backpressure.html.ini
deleted file mode 100644
index 6f521e728e4cd..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/backpressure.html.ini
+++ /dev/null
@@ -1,43 +0,0 @@
-[backpressure.html]
- [backpressure allows no transforms with a default identity transform and no reader]
- expected: FAIL
-
- [backpressure only allows one transform() with a identity transform with a readable HWM of 1 and no reader]
- expected: FAIL
-
- [transform() should keep being called as long as there is no backpressure]
- expected: FAIL
-
- [writes should resolve as soon as transform completes]
- expected: FAIL
-
- [calling pull() before the first write() with backpressure should work]
- expected: FAIL
-
- [transform() should be able to read the chunk it just enqueued]
- expected: FAIL
-
- [blocking transform() should cause backpressure]
- expected: FAIL
-
- [writer.closed should resolve after readable is canceled during start]
- expected: FAIL
-
- [writer.closed should resolve after readable is canceled with backpressure]
- expected: FAIL
-
- [writer.closed should resolve after readable is canceled with no backpressure]
- expected: FAIL
-
- [cancelling the readable should cause a pending write to resolve]
- expected: FAIL
-
- [cancelling the readable side of a TransformStream should abort an empty pipe]
- expected: FAIL
-
- [cancelling the readable side of a TransformStream should abort an empty pipe after startup]
- expected: FAIL
-
- [cancelling the readable side of a TransformStream should abort a full pipe]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/backpressure.serviceworker.https.html.ini b/testing/web-platform/meta/streams/transform-streams/backpressure.serviceworker.https.html.ini
deleted file mode 100644
index d823701ba6913..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/backpressure.serviceworker.https.html.ini
+++ /dev/null
@@ -1,43 +0,0 @@
-[backpressure.serviceworker.https.html]
- [backpressure allows no transforms with a default identity transform and no reader]
- expected: FAIL
-
- [backpressure only allows one transform() with a identity transform with a readable HWM of 1 and no reader]
- expected: FAIL
-
- [transform() should keep being called as long as there is no backpressure]
- expected: FAIL
-
- [writes should resolve as soon as transform completes]
- expected: FAIL
-
- [calling pull() before the first write() with backpressure should work]
- expected: FAIL
-
- [transform() should be able to read the chunk it just enqueued]
- expected: FAIL
-
- [blocking transform() should cause backpressure]
- expected: FAIL
-
- [writer.closed should resolve after readable is canceled during start]
- expected: FAIL
-
- [writer.closed should resolve after readable is canceled with backpressure]
- expected: FAIL
-
- [writer.closed should resolve after readable is canceled with no backpressure]
- expected: FAIL
-
- [cancelling the readable should cause a pending write to resolve]
- expected: FAIL
-
- [cancelling the readable side of a TransformStream should abort an empty pipe]
- expected: FAIL
-
- [cancelling the readable side of a TransformStream should abort an empty pipe after startup]
- expected: FAIL
-
- [cancelling the readable side of a TransformStream should abort a full pipe]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/backpressure.sharedworker.html.ini b/testing/web-platform/meta/streams/transform-streams/backpressure.sharedworker.html.ini
deleted file mode 100644
index 2e2f17aef32c0..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/backpressure.sharedworker.html.ini
+++ /dev/null
@@ -1,43 +0,0 @@
-[backpressure.sharedworker.html]
- [backpressure allows no transforms with a default identity transform and no reader]
- expected: FAIL
-
- [backpressure only allows one transform() with a identity transform with a readable HWM of 1 and no reader]
- expected: FAIL
-
- [transform() should keep being called as long as there is no backpressure]
- expected: FAIL
-
- [writes should resolve as soon as transform completes]
- expected: FAIL
-
- [calling pull() before the first write() with backpressure should work]
- expected: FAIL
-
- [transform() should be able to read the chunk it just enqueued]
- expected: FAIL
-
- [blocking transform() should cause backpressure]
- expected: FAIL
-
- [writer.closed should resolve after readable is canceled during start]
- expected: FAIL
-
- [writer.closed should resolve after readable is canceled with backpressure]
- expected: FAIL
-
- [writer.closed should resolve after readable is canceled with no backpressure]
- expected: FAIL
-
- [cancelling the readable should cause a pending write to resolve]
- expected: FAIL
-
- [cancelling the readable side of a TransformStream should abort an empty pipe]
- expected: FAIL
-
- [cancelling the readable side of a TransformStream should abort an empty pipe after startup]
- expected: FAIL
-
- [cancelling the readable side of a TransformStream should abort a full pipe]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/brand-checks.any.js.ini b/testing/web-platform/meta/streams/transform-streams/brand-checks.any.js.ini
new file mode 100644
index 0000000000000..7841425e16f77
--- /dev/null
+++ b/testing/web-platform/meta/streams/transform-streams/brand-checks.any.js.ini
@@ -0,0 +1,15 @@
+[brand-checks.any.html]
+ [brand-checks]
+ expected: FAIL
+
+
+[brand-checks.any.serviceworker.html]
+ expected: TIMEOUT
+
+[brand-checks.any.sharedworker.html]
+ expected: TIMEOUT
+
+[brand-checks.any.worker.html]
+ [brand-checks]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/streams/transform-streams/brand-checks.dedicatedworker.html.ini b/testing/web-platform/meta/streams/transform-streams/brand-checks.dedicatedworker.html.ini
deleted file mode 100644
index 527cde4d2984f..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/brand-checks.dedicatedworker.html.ini
+++ /dev/null
@@ -1,7 +0,0 @@
-[brand-checks.dedicatedworker.html]
- [Untitled]
- expected: FAIL
-
- [brand-checks]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/brand-checks.html.ini b/testing/web-platform/meta/streams/transform-streams/brand-checks.html.ini
deleted file mode 100644
index c792c237c3a70..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/brand-checks.html.ini
+++ /dev/null
@@ -1,4 +0,0 @@
-[brand-checks.html]
- [brand-checks.js browser context wrapper file]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/brand-checks.serviceworker.https.html.ini b/testing/web-platform/meta/streams/transform-streams/brand-checks.serviceworker.https.html.ini
deleted file mode 100644
index 76a4dd0a11123..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/brand-checks.serviceworker.https.html.ini
+++ /dev/null
@@ -1,4 +0,0 @@
-[brand-checks.serviceworker.https.html]
- [Service worker test setup]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/brand-checks.sharedworker.html.ini b/testing/web-platform/meta/streams/transform-streams/brand-checks.sharedworker.html.ini
deleted file mode 100644
index 72c8b0ded8ad7..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/brand-checks.sharedworker.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[brand-checks.sharedworker.html]
- expected: TIMEOUT
diff --git a/testing/web-platform/meta/streams/transform-streams/constructor.any.js.ini b/testing/web-platform/meta/streams/transform-streams/constructor.any.js.ini
new file mode 100644
index 0000000000000..5ab44089c1f53
--- /dev/null
+++ b/testing/web-platform/meta/streams/transform-streams/constructor.any.js.ini
@@ -0,0 +1,247 @@
+[constructor.any.serviceworker.html]
+ [TransformStream constructor should stop after tonumber on highWaterMark (writable) fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after get on highWaterMark (readable) fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after validate on size (writable) fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after get on start fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after validate on writableType fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after get on size (writable) fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after validate on start fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after validate on readableType fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after validate on size (readable) fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after get on size (readable) fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after validate on transform fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after get on highWaterMark (writable) fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after get on writableType fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after tonumber on highWaterMark (readable) fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after get on readableType fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after validate on highWaterMark (writable) fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after get on transform fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after validate on flush fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after get on flush fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after validate on highWaterMark (readable) fails]
+ expected: FAIL
+
+
+[constructor.any.sharedworker.html]
+ [TransformStream constructor should stop after tonumber on highWaterMark (writable) fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after get on highWaterMark (readable) fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after validate on size (writable) fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after get on start fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after validate on writableType fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after get on size (writable) fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after validate on start fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after validate on readableType fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after validate on size (readable) fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after get on size (readable) fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after validate on transform fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after get on highWaterMark (writable) fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after get on writableType fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after tonumber on highWaterMark (readable) fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after get on readableType fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after validate on highWaterMark (writable) fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after get on transform fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after validate on flush fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after get on flush fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after validate on highWaterMark (readable) fails]
+ expected: FAIL
+
+
+[constructor.any.html]
+ [TransformStream constructor should stop after tonumber on highWaterMark (writable) fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after get on highWaterMark (readable) fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after validate on size (writable) fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after get on start fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after validate on writableType fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after get on size (writable) fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after validate on start fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after validate on readableType fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after validate on size (readable) fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after get on size (readable) fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after validate on transform fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after get on highWaterMark (writable) fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after get on writableType fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after tonumber on highWaterMark (readable) fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after get on readableType fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after validate on highWaterMark (writable) fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after get on transform fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after validate on flush fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after get on flush fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after validate on highWaterMark (readable) fails]
+ expected: FAIL
+
+
+[constructor.any.worker.html]
+ [TransformStream constructor should stop after tonumber on highWaterMark (writable) fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after get on highWaterMark (readable) fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after validate on size (writable) fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after get on start fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after validate on writableType fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after get on size (writable) fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after validate on start fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after validate on readableType fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after validate on size (readable) fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after get on size (readable) fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after validate on transform fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after get on highWaterMark (writable) fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after get on writableType fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after tonumber on highWaterMark (readable) fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after get on readableType fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after validate on highWaterMark (writable) fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after get on transform fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after validate on flush fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after get on flush fails]
+ expected: FAIL
+
+ [TransformStream constructor should stop after validate on highWaterMark (readable) fails]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/streams/transform-streams/constructor.dedicatedworker.html.ini b/testing/web-platform/meta/streams/transform-streams/constructor.dedicatedworker.html.ini
deleted file mode 100644
index def473982baff..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/constructor.dedicatedworker.html.ini
+++ /dev/null
@@ -1,61 +0,0 @@
-[constructor.dedicatedworker.html]
- [TransformStream constructor should stop after get on size (writable) fails]
- expected: FAIL
-
- [TransformStream constructor should stop after get on highWaterMark (writable) fails]
- expected: FAIL
-
- [TransformStream constructor should stop after get on size (readable) fails]
- expected: FAIL
-
- [TransformStream constructor should stop after get on highWaterMark (readable) fails]
- expected: FAIL
-
- [TransformStream constructor should stop after get on writableType fails]
- expected: FAIL
-
- [TransformStream constructor should stop after validate on writableType fails]
- expected: FAIL
-
- [TransformStream constructor should stop after validate on size (writable) fails]
- expected: FAIL
-
- [TransformStream constructor should stop after tonumber on highWaterMark (writable) fails]
- expected: FAIL
-
- [TransformStream constructor should stop after validate on highWaterMark (writable) fails]
- expected: FAIL
-
- [TransformStream constructor should stop after get on readableType fails]
- expected: FAIL
-
- [TransformStream constructor should stop after validate on readableType fails]
- expected: FAIL
-
- [TransformStream constructor should stop after validate on size (readable) fails]
- expected: FAIL
-
- [TransformStream constructor should stop after tonumber on highWaterMark (readable) fails]
- expected: FAIL
-
- [TransformStream constructor should stop after validate on highWaterMark (readable) fails]
- expected: FAIL
-
- [TransformStream constructor should stop after get on transform fails]
- expected: FAIL
-
- [TransformStream constructor should stop after validate on transform fails]
- expected: FAIL
-
- [TransformStream constructor should stop after get on flush fails]
- expected: FAIL
-
- [TransformStream constructor should stop after validate on flush fails]
- expected: FAIL
-
- [TransformStream constructor should stop after get on start fails]
- expected: FAIL
-
- [TransformStream constructor should stop after validate on start fails]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/constructor.html.ini b/testing/web-platform/meta/streams/transform-streams/constructor.html.ini
deleted file mode 100644
index d60d0f2d77e1a..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/constructor.html.ini
+++ /dev/null
@@ -1,61 +0,0 @@
-[constructor.html]
- [TransformStream constructor should stop after get on size (writable) fails]
- expected: FAIL
-
- [TransformStream constructor should stop after get on highWaterMark (writable) fails]
- expected: FAIL
-
- [TransformStream constructor should stop after get on size (readable) fails]
- expected: FAIL
-
- [TransformStream constructor should stop after get on highWaterMark (readable) fails]
- expected: FAIL
-
- [TransformStream constructor should stop after get on writableType fails]
- expected: FAIL
-
- [TransformStream constructor should stop after validate on writableType fails]
- expected: FAIL
-
- [TransformStream constructor should stop after validate on size (writable) fails]
- expected: FAIL
-
- [TransformStream constructor should stop after tonumber on highWaterMark (writable) fails]
- expected: FAIL
-
- [TransformStream constructor should stop after validate on highWaterMark (writable) fails]
- expected: FAIL
-
- [TransformStream constructor should stop after get on readableType fails]
- expected: FAIL
-
- [TransformStream constructor should stop after validate on readableType fails]
- expected: FAIL
-
- [TransformStream constructor should stop after validate on size (readable) fails]
- expected: FAIL
-
- [TransformStream constructor should stop after tonumber on highWaterMark (readable) fails]
- expected: FAIL
-
- [TransformStream constructor should stop after validate on highWaterMark (readable) fails]
- expected: FAIL
-
- [TransformStream constructor should stop after get on transform fails]
- expected: FAIL
-
- [TransformStream constructor should stop after validate on transform fails]
- expected: FAIL
-
- [TransformStream constructor should stop after get on flush fails]
- expected: FAIL
-
- [TransformStream constructor should stop after validate on flush fails]
- expected: FAIL
-
- [TransformStream constructor should stop after get on start fails]
- expected: FAIL
-
- [TransformStream constructor should stop after validate on start fails]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/constructor.serviceworker.https.html.ini b/testing/web-platform/meta/streams/transform-streams/constructor.serviceworker.https.html.ini
deleted file mode 100644
index f9c6f1b002a58..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/constructor.serviceworker.https.html.ini
+++ /dev/null
@@ -1,61 +0,0 @@
-[constructor.serviceworker.https.html]
- [TransformStream constructor should stop after get on size (writable) fails]
- expected: FAIL
-
- [TransformStream constructor should stop after get on highWaterMark (writable) fails]
- expected: FAIL
-
- [TransformStream constructor should stop after get on size (readable) fails]
- expected: FAIL
-
- [TransformStream constructor should stop after get on highWaterMark (readable) fails]
- expected: FAIL
-
- [TransformStream constructor should stop after get on writableType fails]
- expected: FAIL
-
- [TransformStream constructor should stop after validate on writableType fails]
- expected: FAIL
-
- [TransformStream constructor should stop after validate on size (writable) fails]
- expected: FAIL
-
- [TransformStream constructor should stop after tonumber on highWaterMark (writable) fails]
- expected: FAIL
-
- [TransformStream constructor should stop after validate on highWaterMark (writable) fails]
- expected: FAIL
-
- [TransformStream constructor should stop after get on readableType fails]
- expected: FAIL
-
- [TransformStream constructor should stop after validate on readableType fails]
- expected: FAIL
-
- [TransformStream constructor should stop after validate on size (readable) fails]
- expected: FAIL
-
- [TransformStream constructor should stop after tonumber on highWaterMark (readable) fails]
- expected: FAIL
-
- [TransformStream constructor should stop after validate on highWaterMark (readable) fails]
- expected: FAIL
-
- [TransformStream constructor should stop after get on transform fails]
- expected: FAIL
-
- [TransformStream constructor should stop after validate on transform fails]
- expected: FAIL
-
- [TransformStream constructor should stop after get on flush fails]
- expected: FAIL
-
- [TransformStream constructor should stop after validate on flush fails]
- expected: FAIL
-
- [TransformStream constructor should stop after get on start fails]
- expected: FAIL
-
- [TransformStream constructor should stop after validate on start fails]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/constructor.sharedworker.html.ini b/testing/web-platform/meta/streams/transform-streams/constructor.sharedworker.html.ini
deleted file mode 100644
index ef90b8cb7fab1..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/constructor.sharedworker.html.ini
+++ /dev/null
@@ -1,61 +0,0 @@
-[constructor.sharedworker.html]
- [TransformStream constructor should stop after get on size (writable) fails]
- expected: FAIL
-
- [TransformStream constructor should stop after get on highWaterMark (writable) fails]
- expected: FAIL
-
- [TransformStream constructor should stop after get on size (readable) fails]
- expected: FAIL
-
- [TransformStream constructor should stop after get on highWaterMark (readable) fails]
- expected: FAIL
-
- [TransformStream constructor should stop after get on writableType fails]
- expected: FAIL
-
- [TransformStream constructor should stop after validate on writableType fails]
- expected: FAIL
-
- [TransformStream constructor should stop after validate on size (writable) fails]
- expected: FAIL
-
- [TransformStream constructor should stop after tonumber on highWaterMark (writable) fails]
- expected: FAIL
-
- [TransformStream constructor should stop after validate on highWaterMark (writable) fails]
- expected: FAIL
-
- [TransformStream constructor should stop after get on readableType fails]
- expected: FAIL
-
- [TransformStream constructor should stop after validate on readableType fails]
- expected: FAIL
-
- [TransformStream constructor should stop after validate on size (readable) fails]
- expected: FAIL
-
- [TransformStream constructor should stop after tonumber on highWaterMark (readable) fails]
- expected: FAIL
-
- [TransformStream constructor should stop after validate on highWaterMark (readable) fails]
- expected: FAIL
-
- [TransformStream constructor should stop after get on transform fails]
- expected: FAIL
-
- [TransformStream constructor should stop after validate on transform fails]
- expected: FAIL
-
- [TransformStream constructor should stop after get on flush fails]
- expected: FAIL
-
- [TransformStream constructor should stop after validate on flush fails]
- expected: FAIL
-
- [TransformStream constructor should stop after get on start fails]
- expected: FAIL
-
- [TransformStream constructor should stop after validate on start fails]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/errors.any.js.ini b/testing/web-platform/meta/streams/transform-streams/errors.any.js.ini
new file mode 100644
index 0000000000000..dc354418415c5
--- /dev/null
+++ b/testing/web-platform/meta/streams/transform-streams/errors.any.js.ini
@@ -0,0 +1,247 @@
+[errors.any.sharedworker.html]
+ [when strategy.size throws inside start(), the constructor should throw the same error]
+ expected: FAIL
+
+ [controller.error() should do nothing after a transformer method has thrown an exception]
+ expected: FAIL
+
+ [when strategy.size calls controller.error() then throws, the constructor should throw the first error]
+ expected: FAIL
+
+ [erroring during write with backpressure should result in the write failing]
+ expected: FAIL
+
+ [it should be possible to error the readable between close requested and complete]
+ expected: FAIL
+
+ [TransformStream errors thrown in transform put the writable and readable in an errored state]
+ expected: FAIL
+
+ [controller.error() should do nothing after readable.cancel()]
+ expected: FAIL
+
+ [TransformStream errors thrown in flush put the writable and readable in an errored state]
+ expected: FAIL
+
+ [abort should set the close reason for the writable when it happens before cancel during underlying sink write, but cancel should still succeed]
+ expected: FAIL
+
+ [cancelling the readable side should error the writable]
+ expected: FAIL
+
+ [TransformStream transformer.start() rejected promise should error the stream]
+ expected: FAIL
+
+ [abort should set the close reason for the writable when it happens before cancel during start, but cancel should still succeed]
+ expected: FAIL
+
+ [errored TransformStream should not enqueue new chunks]
+ expected: FAIL
+
+ [controller.error() should do nothing the second time it is called]
+ expected: FAIL
+
+ [TransformStream constructor should throw when start does]
+ expected: FAIL
+
+ [a write() that was waiting for backpressure should reject if the writable is aborted]
+ expected: FAIL
+
+ [the readable should be errored with the reason passed to the writable abort() method]
+ expected: FAIL
+
+ [controller.error() should do nothing after writable.abort() has completed]
+ expected: FAIL
+
+ [when controller.error is followed by a rejection, the error reason should come from controller.error]
+ expected: FAIL
+
+ [an exception from transform() should error the stream if terminate has been requested but not completed]
+ expected: FAIL
+
+
+[errors.any.worker.html]
+ [when strategy.size throws inside start(), the constructor should throw the same error]
+ expected: FAIL
+
+ [controller.error() should do nothing after a transformer method has thrown an exception]
+ expected: FAIL
+
+ [when strategy.size calls controller.error() then throws, the constructor should throw the first error]
+ expected: FAIL
+
+ [erroring during write with backpressure should result in the write failing]
+ expected: FAIL
+
+ [it should be possible to error the readable between close requested and complete]
+ expected: FAIL
+
+ [TransformStream errors thrown in transform put the writable and readable in an errored state]
+ expected: FAIL
+
+ [controller.error() should do nothing after readable.cancel()]
+ expected: FAIL
+
+ [TransformStream errors thrown in flush put the writable and readable in an errored state]
+ expected: FAIL
+
+ [abort should set the close reason for the writable when it happens before cancel during underlying sink write, but cancel should still succeed]
+ expected: FAIL
+
+ [cancelling the readable side should error the writable]
+ expected: FAIL
+
+ [TransformStream transformer.start() rejected promise should error the stream]
+ expected: FAIL
+
+ [abort should set the close reason for the writable when it happens before cancel during start, but cancel should still succeed]
+ expected: FAIL
+
+ [errored TransformStream should not enqueue new chunks]
+ expected: FAIL
+
+ [controller.error() should do nothing the second time it is called]
+ expected: FAIL
+
+ [TransformStream constructor should throw when start does]
+ expected: FAIL
+
+ [a write() that was waiting for backpressure should reject if the writable is aborted]
+ expected: FAIL
+
+ [the readable should be errored with the reason passed to the writable abort() method]
+ expected: FAIL
+
+ [controller.error() should do nothing after writable.abort() has completed]
+ expected: FAIL
+
+ [when controller.error is followed by a rejection, the error reason should come from controller.error]
+ expected: FAIL
+
+ [an exception from transform() should error the stream if terminate has been requested but not completed]
+ expected: FAIL
+
+
+[errors.any.html]
+ [when strategy.size throws inside start(), the constructor should throw the same error]
+ expected: FAIL
+
+ [controller.error() should do nothing after a transformer method has thrown an exception]
+ expected: FAIL
+
+ [when strategy.size calls controller.error() then throws, the constructor should throw the first error]
+ expected: FAIL
+
+ [erroring during write with backpressure should result in the write failing]
+ expected: FAIL
+
+ [it should be possible to error the readable between close requested and complete]
+ expected: FAIL
+
+ [TransformStream errors thrown in transform put the writable and readable in an errored state]
+ expected: FAIL
+
+ [controller.error() should do nothing after readable.cancel()]
+ expected: FAIL
+
+ [TransformStream errors thrown in flush put the writable and readable in an errored state]
+ expected: FAIL
+
+ [abort should set the close reason for the writable when it happens before cancel during underlying sink write, but cancel should still succeed]
+ expected: FAIL
+
+ [cancelling the readable side should error the writable]
+ expected: FAIL
+
+ [TransformStream transformer.start() rejected promise should error the stream]
+ expected: FAIL
+
+ [abort should set the close reason for the writable when it happens before cancel during start, but cancel should still succeed]
+ expected: FAIL
+
+ [errored TransformStream should not enqueue new chunks]
+ expected: FAIL
+
+ [controller.error() should do nothing the second time it is called]
+ expected: FAIL
+
+ [TransformStream constructor should throw when start does]
+ expected: FAIL
+
+ [a write() that was waiting for backpressure should reject if the writable is aborted]
+ expected: FAIL
+
+ [the readable should be errored with the reason passed to the writable abort() method]
+ expected: FAIL
+
+ [controller.error() should do nothing after writable.abort() has completed]
+ expected: FAIL
+
+ [when controller.error is followed by a rejection, the error reason should come from controller.error]
+ expected: FAIL
+
+ [an exception from transform() should error the stream if terminate has been requested but not completed]
+ expected: FAIL
+
+
+[errors.any.serviceworker.html]
+ [when strategy.size throws inside start(), the constructor should throw the same error]
+ expected: FAIL
+
+ [controller.error() should do nothing after a transformer method has thrown an exception]
+ expected: FAIL
+
+ [when strategy.size calls controller.error() then throws, the constructor should throw the first error]
+ expected: FAIL
+
+ [erroring during write with backpressure should result in the write failing]
+ expected: FAIL
+
+ [it should be possible to error the readable between close requested and complete]
+ expected: FAIL
+
+ [TransformStream errors thrown in transform put the writable and readable in an errored state]
+ expected: FAIL
+
+ [controller.error() should do nothing after readable.cancel()]
+ expected: FAIL
+
+ [TransformStream errors thrown in flush put the writable and readable in an errored state]
+ expected: FAIL
+
+ [abort should set the close reason for the writable when it happens before cancel during underlying sink write, but cancel should still succeed]
+ expected: FAIL
+
+ [cancelling the readable side should error the writable]
+ expected: FAIL
+
+ [TransformStream transformer.start() rejected promise should error the stream]
+ expected: FAIL
+
+ [abort should set the close reason for the writable when it happens before cancel during start, but cancel should still succeed]
+ expected: FAIL
+
+ [errored TransformStream should not enqueue new chunks]
+ expected: FAIL
+
+ [controller.error() should do nothing the second time it is called]
+ expected: FAIL
+
+ [TransformStream constructor should throw when start does]
+ expected: FAIL
+
+ [a write() that was waiting for backpressure should reject if the writable is aborted]
+ expected: FAIL
+
+ [the readable should be errored with the reason passed to the writable abort() method]
+ expected: FAIL
+
+ [controller.error() should do nothing after writable.abort() has completed]
+ expected: FAIL
+
+ [when controller.error is followed by a rejection, the error reason should come from controller.error]
+ expected: FAIL
+
+ [an exception from transform() should error the stream if terminate has been requested but not completed]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/streams/transform-streams/errors.dedicatedworker.html.ini b/testing/web-platform/meta/streams/transform-streams/errors.dedicatedworker.html.ini
deleted file mode 100644
index 0f5155e04d080..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/errors.dedicatedworker.html.ini
+++ /dev/null
@@ -1,61 +0,0 @@
-[errors.dedicatedworker.html]
- [TransformStream errors thrown in transform put the writable and readable in an errored state]
- expected: FAIL
-
- [TransformStream errors thrown in flush put the writable and readable in an errored state]
- expected: FAIL
-
- [errored TransformStream should not enqueue new chunks]
- expected: FAIL
-
- [TransformStream transformer.start() rejected promise should error the stream]
- expected: FAIL
-
- [when controller.error is followed by a rejection, the error reason should come from controller.error]
- expected: FAIL
-
- [TransformStream constructor should throw when start does]
- expected: FAIL
-
- [when strategy.size throws inside start(), the constructor should throw the same error]
- expected: FAIL
-
- [when strategy.size calls controller.error() then throws, the constructor should throw the first error]
- expected: FAIL
-
- [cancelling the readable side should error the writable]
- expected: FAIL
-
- [it should be possible to error the readable between close requested and complete]
- expected: FAIL
-
- [an exception from transform() should error the stream if terminate has been requested but not completed]
- expected: FAIL
-
- [abort should set the close reason for the writable when it happens before cancel during start, but cancel should still succeed]
- expected: FAIL
-
- [abort should set the close reason for the writable when it happens before cancel during underlying sink write, but cancel should still succeed]
- expected: FAIL
-
- [controller.error() should do nothing the second time it is called]
- expected: FAIL
-
- [controller.error() should do nothing after readable.cancel()]
- expected: FAIL
-
- [controller.error() should do nothing after writable.abort() has completed]
- expected: FAIL
-
- [controller.error() should do nothing after a transformer method has thrown an exception]
- expected: FAIL
-
- [erroring during write with backpressure should result in the write failing]
- expected: FAIL
-
- [a write() that was waiting for backpressure should reject if the writable is aborted]
- expected: FAIL
-
- [the readable should be errored with the reason passed to the writable abort() method]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/errors.html.ini b/testing/web-platform/meta/streams/transform-streams/errors.html.ini
deleted file mode 100644
index cc56c7a1f95f7..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/errors.html.ini
+++ /dev/null
@@ -1,61 +0,0 @@
-[errors.html]
- [TransformStream errors thrown in transform put the writable and readable in an errored state]
- expected: FAIL
-
- [TransformStream errors thrown in flush put the writable and readable in an errored state]
- expected: FAIL
-
- [errored TransformStream should not enqueue new chunks]
- expected: FAIL
-
- [TransformStream transformer.start() rejected promise should error the stream]
- expected: FAIL
-
- [when controller.error is followed by a rejection, the error reason should come from controller.error]
- expected: FAIL
-
- [TransformStream constructor should throw when start does]
- expected: FAIL
-
- [when strategy.size throws inside start(), the constructor should throw the same error]
- expected: FAIL
-
- [when strategy.size calls controller.error() then throws, the constructor should throw the first error]
- expected: FAIL
-
- [cancelling the readable side should error the writable]
- expected: FAIL
-
- [it should be possible to error the readable between close requested and complete]
- expected: FAIL
-
- [an exception from transform() should error the stream if terminate has been requested but not completed]
- expected: FAIL
-
- [abort should set the close reason for the writable when it happens before cancel during start, but cancel should still succeed]
- expected: FAIL
-
- [abort should set the close reason for the writable when it happens before cancel during underlying sink write, but cancel should still succeed]
- expected: FAIL
-
- [controller.error() should do nothing the second time it is called]
- expected: FAIL
-
- [controller.error() should do nothing after readable.cancel()]
- expected: FAIL
-
- [controller.error() should do nothing after writable.abort() has completed]
- expected: FAIL
-
- [controller.error() should do nothing after a transformer method has thrown an exception]
- expected: FAIL
-
- [erroring during write with backpressure should result in the write failing]
- expected: FAIL
-
- [a write() that was waiting for backpressure should reject if the writable is aborted]
- expected: FAIL
-
- [the readable should be errored with the reason passed to the writable abort() method]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/errors.serviceworker.https.html.ini b/testing/web-platform/meta/streams/transform-streams/errors.serviceworker.https.html.ini
deleted file mode 100644
index fd0b919138bd9..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/errors.serviceworker.https.html.ini
+++ /dev/null
@@ -1,61 +0,0 @@
-[errors.serviceworker.https.html]
- [TransformStream errors thrown in transform put the writable and readable in an errored state]
- expected: FAIL
-
- [TransformStream errors thrown in flush put the writable and readable in an errored state]
- expected: FAIL
-
- [errored TransformStream should not enqueue new chunks]
- expected: FAIL
-
- [TransformStream transformer.start() rejected promise should error the stream]
- expected: FAIL
-
- [when controller.error is followed by a rejection, the error reason should come from controller.error]
- expected: FAIL
-
- [TransformStream constructor should throw when start does]
- expected: FAIL
-
- [when strategy.size throws inside start(), the constructor should throw the same error]
- expected: FAIL
-
- [when strategy.size calls controller.error() then throws, the constructor should throw the first error]
- expected: FAIL
-
- [cancelling the readable side should error the writable]
- expected: FAIL
-
- [it should be possible to error the readable between close requested and complete]
- expected: FAIL
-
- [an exception from transform() should error the stream if terminate has been requested but not completed]
- expected: FAIL
-
- [abort should set the close reason for the writable when it happens before cancel during start, but cancel should still succeed]
- expected: FAIL
-
- [abort should set the close reason for the writable when it happens before cancel during underlying sink write, but cancel should still succeed]
- expected: FAIL
-
- [controller.error() should do nothing the second time it is called]
- expected: FAIL
-
- [controller.error() should do nothing after readable.cancel()]
- expected: FAIL
-
- [controller.error() should do nothing after writable.abort() has completed]
- expected: FAIL
-
- [controller.error() should do nothing after a transformer method has thrown an exception]
- expected: FAIL
-
- [erroring during write with backpressure should result in the write failing]
- expected: FAIL
-
- [a write() that was waiting for backpressure should reject if the writable is aborted]
- expected: FAIL
-
- [the readable should be errored with the reason passed to the writable abort() method]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/errors.sharedworker.html.ini b/testing/web-platform/meta/streams/transform-streams/errors.sharedworker.html.ini
deleted file mode 100644
index a0810fdbec4ba..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/errors.sharedworker.html.ini
+++ /dev/null
@@ -1,61 +0,0 @@
-[errors.sharedworker.html]
- [TransformStream errors thrown in transform put the writable and readable in an errored state]
- expected: FAIL
-
- [TransformStream errors thrown in flush put the writable and readable in an errored state]
- expected: FAIL
-
- [errored TransformStream should not enqueue new chunks]
- expected: FAIL
-
- [TransformStream transformer.start() rejected promise should error the stream]
- expected: FAIL
-
- [when controller.error is followed by a rejection, the error reason should come from controller.error]
- expected: FAIL
-
- [TransformStream constructor should throw when start does]
- expected: FAIL
-
- [when strategy.size throws inside start(), the constructor should throw the same error]
- expected: FAIL
-
- [when strategy.size calls controller.error() then throws, the constructor should throw the first error]
- expected: FAIL
-
- [cancelling the readable side should error the writable]
- expected: FAIL
-
- [it should be possible to error the readable between close requested and complete]
- expected: FAIL
-
- [an exception from transform() should error the stream if terminate has been requested but not completed]
- expected: FAIL
-
- [abort should set the close reason for the writable when it happens before cancel during start, but cancel should still succeed]
- expected: FAIL
-
- [abort should set the close reason for the writable when it happens before cancel during underlying sink write, but cancel should still succeed]
- expected: FAIL
-
- [controller.error() should do nothing the second time it is called]
- expected: FAIL
-
- [controller.error() should do nothing after readable.cancel()]
- expected: FAIL
-
- [controller.error() should do nothing after writable.abort() has completed]
- expected: FAIL
-
- [controller.error() should do nothing after a transformer method has thrown an exception]
- expected: FAIL
-
- [erroring during write with backpressure should result in the write failing]
- expected: FAIL
-
- [a write() that was waiting for backpressure should reject if the writable is aborted]
- expected: FAIL
-
- [the readable should be errored with the reason passed to the writable abort() method]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/flush.any.js.ini b/testing/web-platform/meta/streams/transform-streams/flush.any.js.ini
new file mode 100644
index 0000000000000..fcde9472cae92
--- /dev/null
+++ b/testing/web-platform/meta/streams/transform-streams/flush.any.js.ini
@@ -0,0 +1,67 @@
+[flush.any.html]
+ [TransformStream flush is called after all queued writes finish, once the writable is closed]
+ expected: FAIL
+
+ [TransformStream flush gets a chance to enqueue more into the readable]
+ expected: FAIL
+
+ [TransformStream flush is called immediately when the writable is closed, if no writes are queued]
+ expected: FAIL
+
+ [TransformStream flush gets a chance to enqueue more into the readable, and can then async close]
+ expected: FAIL
+
+ [error() during flush should cause writer.close() to reject]
+ expected: FAIL
+
+
+[flush.any.worker.html]
+ [TransformStream flush is called after all queued writes finish, once the writable is closed]
+ expected: FAIL
+
+ [TransformStream flush gets a chance to enqueue more into the readable]
+ expected: FAIL
+
+ [TransformStream flush is called immediately when the writable is closed, if no writes are queued]
+ expected: FAIL
+
+ [TransformStream flush gets a chance to enqueue more into the readable, and can then async close]
+ expected: FAIL
+
+ [error() during flush should cause writer.close() to reject]
+ expected: FAIL
+
+
+[flush.any.sharedworker.html]
+ [TransformStream flush is called after all queued writes finish, once the writable is closed]
+ expected: FAIL
+
+ [TransformStream flush gets a chance to enqueue more into the readable]
+ expected: FAIL
+
+ [TransformStream flush is called immediately when the writable is closed, if no writes are queued]
+ expected: FAIL
+
+ [TransformStream flush gets a chance to enqueue more into the readable, and can then async close]
+ expected: FAIL
+
+ [error() during flush should cause writer.close() to reject]
+ expected: FAIL
+
+
+[flush.any.serviceworker.html]
+ [TransformStream flush is called after all queued writes finish, once the writable is closed]
+ expected: FAIL
+
+ [TransformStream flush gets a chance to enqueue more into the readable]
+ expected: FAIL
+
+ [TransformStream flush is called immediately when the writable is closed, if no writes are queued]
+ expected: FAIL
+
+ [TransformStream flush gets a chance to enqueue more into the readable, and can then async close]
+ expected: FAIL
+
+ [error() during flush should cause writer.close() to reject]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/streams/transform-streams/flush.dedicatedworker.html.ini b/testing/web-platform/meta/streams/transform-streams/flush.dedicatedworker.html.ini
deleted file mode 100644
index 744bc7fc860a8..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/flush.dedicatedworker.html.ini
+++ /dev/null
@@ -1,16 +0,0 @@
-[flush.dedicatedworker.html]
- [TransformStream flush is called immediately when the writable is closed, if no writes are queued]
- expected: FAIL
-
- [TransformStream flush is called after all queued writes finish, once the writable is closed]
- expected: FAIL
-
- [TransformStream flush gets a chance to enqueue more into the readable]
- expected: FAIL
-
- [TransformStream flush gets a chance to enqueue more into the readable, and can then async close]
- expected: FAIL
-
- [error() during flush should cause writer.close() to reject]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/flush.html.ini b/testing/web-platform/meta/streams/transform-streams/flush.html.ini
deleted file mode 100644
index 87233e4a22b7c..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/flush.html.ini
+++ /dev/null
@@ -1,16 +0,0 @@
-[flush.html]
- [TransformStream flush is called immediately when the writable is closed, if no writes are queued]
- expected: FAIL
-
- [TransformStream flush is called after all queued writes finish, once the writable is closed]
- expected: FAIL
-
- [TransformStream flush gets a chance to enqueue more into the readable]
- expected: FAIL
-
- [TransformStream flush gets a chance to enqueue more into the readable, and can then async close]
- expected: FAIL
-
- [error() during flush should cause writer.close() to reject]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/flush.serviceworker.https.html.ini b/testing/web-platform/meta/streams/transform-streams/flush.serviceworker.https.html.ini
deleted file mode 100644
index c9c0bb499b2c2..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/flush.serviceworker.https.html.ini
+++ /dev/null
@@ -1,16 +0,0 @@
-[flush.serviceworker.https.html]
- [TransformStream flush is called immediately when the writable is closed, if no writes are queued]
- expected: FAIL
-
- [TransformStream flush is called after all queued writes finish, once the writable is closed]
- expected: FAIL
-
- [TransformStream flush gets a chance to enqueue more into the readable]
- expected: FAIL
-
- [TransformStream flush gets a chance to enqueue more into the readable, and can then async close]
- expected: FAIL
-
- [error() during flush should cause writer.close() to reject]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/flush.sharedworker.html.ini b/testing/web-platform/meta/streams/transform-streams/flush.sharedworker.html.ini
deleted file mode 100644
index e81ecd136c0fc..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/flush.sharedworker.html.ini
+++ /dev/null
@@ -1,16 +0,0 @@
-[flush.sharedworker.html]
- [TransformStream flush is called immediately when the writable is closed, if no writes are queued]
- expected: FAIL
-
- [TransformStream flush is called after all queued writes finish, once the writable is closed]
- expected: FAIL
-
- [TransformStream flush gets a chance to enqueue more into the readable]
- expected: FAIL
-
- [TransformStream flush gets a chance to enqueue more into the readable, and can then async close]
- expected: FAIL
-
- [error() during flush should cause writer.close() to reject]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/general.any.js.ini b/testing/web-platform/meta/streams/transform-streams/general.any.js.ini
new file mode 100644
index 0000000000000..88d194446d0ca
--- /dev/null
+++ b/testing/web-platform/meta/streams/transform-streams/general.any.js.ini
@@ -0,0 +1,307 @@
+[general.any.html]
+ [enqueue() should throw after readable.cancel()]
+ expected: FAIL
+
+ [Transform stream should call transformer methods as methods]
+ expected: FAIL
+
+ [specifying a defined writableType should throw]
+ expected: FAIL
+
+ [TransformStream can be constructed with a transform function]
+ expected: FAIL
+
+ [methods should not not have .apply() or .call() called]
+ expected: FAIL
+
+ [Uppercaser async TransformStream: can read from readable transformed version of what is put into writable]
+ expected: FAIL
+
+ [Uppercaser sync TransformStream: can read from readable transformed version of what is put into writable]
+ expected: FAIL
+
+ [specifying a defined readableType should throw]
+ expected: FAIL
+
+ [enqueue() should throw after controller.terminate()]
+ expected: FAIL
+
+ [TransformStream: by default, closing the writable closes the readable (when there are no queued writes)]
+ expected: FAIL
+
+ [TransformStream: by default, closing the writable closes the readable after async enqueues and async done]
+ expected: FAIL
+
+ [controller.terminate() should do nothing the second time it is called]
+ expected: FAIL
+
+ [TransformStream: by default, closing the writable waits for transforms to finish before closing both]
+ expected: FAIL
+
+ [TransformStream: by default, closing the writable closes the readable after sync enqueues and async done]
+ expected: FAIL
+
+ [TransformStream can be constructed with no transform function]
+ expected: FAIL
+
+ [start() should not be called twice]
+ expected: FAIL
+
+ [terminate() should do nothing after readable.cancel()]
+ expected: FAIL
+
+ [Identity TransformStream: can read from readable what is put into writable]
+ expected: FAIL
+
+ [TransformStream start, transform, and flush should be strictly ordered]
+ expected: FAIL
+
+ [TransformStream instances must have writable and readable properties of the correct types]
+ expected: FAIL
+
+ [Uppercaser-doubler async TransformStream: can read both chunks put into the readable]
+ expected: FAIL
+
+ [Uppercaser-doubler sync TransformStream: can read both chunks put into the readable]
+ expected: FAIL
+
+ [closing the writable should close the readable when there are no queued chunks, even with backpressure]
+ expected: FAIL
+
+ [it should be possible to call transform() synchronously]
+ expected: FAIL
+
+ [TransformStream writable starts in the writable state]
+ expected: FAIL
+
+
+[general.any.worker.html]
+ [enqueue() should throw after readable.cancel()]
+ expected: FAIL
+
+ [Transform stream should call transformer methods as methods]
+ expected: FAIL
+
+ [specifying a defined writableType should throw]
+ expected: FAIL
+
+ [TransformStream can be constructed with a transform function]
+ expected: FAIL
+
+ [methods should not not have .apply() or .call() called]
+ expected: FAIL
+
+ [Uppercaser async TransformStream: can read from readable transformed version of what is put into writable]
+ expected: FAIL
+
+ [Uppercaser sync TransformStream: can read from readable transformed version of what is put into writable]
+ expected: FAIL
+
+ [specifying a defined readableType should throw]
+ expected: FAIL
+
+ [enqueue() should throw after controller.terminate()]
+ expected: FAIL
+
+ [TransformStream: by default, closing the writable closes the readable (when there are no queued writes)]
+ expected: FAIL
+
+ [TransformStream: by default, closing the writable closes the readable after async enqueues and async done]
+ expected: FAIL
+
+ [controller.terminate() should do nothing the second time it is called]
+ expected: FAIL
+
+ [TransformStream: by default, closing the writable waits for transforms to finish before closing both]
+ expected: FAIL
+
+ [TransformStream: by default, closing the writable closes the readable after sync enqueues and async done]
+ expected: FAIL
+
+ [TransformStream can be constructed with no transform function]
+ expected: FAIL
+
+ [start() should not be called twice]
+ expected: FAIL
+
+ [terminate() should do nothing after readable.cancel()]
+ expected: FAIL
+
+ [Identity TransformStream: can read from readable what is put into writable]
+ expected: FAIL
+
+ [TransformStream start, transform, and flush should be strictly ordered]
+ expected: FAIL
+
+ [TransformStream instances must have writable and readable properties of the correct types]
+ expected: FAIL
+
+ [Uppercaser-doubler async TransformStream: can read both chunks put into the readable]
+ expected: FAIL
+
+ [Uppercaser-doubler sync TransformStream: can read both chunks put into the readable]
+ expected: FAIL
+
+ [closing the writable should close the readable when there are no queued chunks, even with backpressure]
+ expected: FAIL
+
+ [it should be possible to call transform() synchronously]
+ expected: FAIL
+
+ [TransformStream writable starts in the writable state]
+ expected: FAIL
+
+
+[general.any.serviceworker.html]
+ [enqueue() should throw after readable.cancel()]
+ expected: FAIL
+
+ [Transform stream should call transformer methods as methods]
+ expected: FAIL
+
+ [specifying a defined writableType should throw]
+ expected: FAIL
+
+ [TransformStream can be constructed with a transform function]
+ expected: FAIL
+
+ [methods should not not have .apply() or .call() called]
+ expected: FAIL
+
+ [Uppercaser async TransformStream: can read from readable transformed version of what is put into writable]
+ expected: FAIL
+
+ [Uppercaser sync TransformStream: can read from readable transformed version of what is put into writable]
+ expected: FAIL
+
+ [specifying a defined readableType should throw]
+ expected: FAIL
+
+ [enqueue() should throw after controller.terminate()]
+ expected: FAIL
+
+ [TransformStream: by default, closing the writable closes the readable (when there are no queued writes)]
+ expected: FAIL
+
+ [TransformStream: by default, closing the writable closes the readable after async enqueues and async done]
+ expected: FAIL
+
+ [controller.terminate() should do nothing the second time it is called]
+ expected: FAIL
+
+ [TransformStream: by default, closing the writable waits for transforms to finish before closing both]
+ expected: FAIL
+
+ [TransformStream: by default, closing the writable closes the readable after sync enqueues and async done]
+ expected: FAIL
+
+ [TransformStream can be constructed with no transform function]
+ expected: FAIL
+
+ [start() should not be called twice]
+ expected: FAIL
+
+ [terminate() should do nothing after readable.cancel()]
+ expected: FAIL
+
+ [Identity TransformStream: can read from readable what is put into writable]
+ expected: FAIL
+
+ [TransformStream start, transform, and flush should be strictly ordered]
+ expected: FAIL
+
+ [TransformStream instances must have writable and readable properties of the correct types]
+ expected: FAIL
+
+ [Uppercaser-doubler async TransformStream: can read both chunks put into the readable]
+ expected: FAIL
+
+ [Uppercaser-doubler sync TransformStream: can read both chunks put into the readable]
+ expected: FAIL
+
+ [closing the writable should close the readable when there are no queued chunks, even with backpressure]
+ expected: FAIL
+
+ [it should be possible to call transform() synchronously]
+ expected: FAIL
+
+ [TransformStream writable starts in the writable state]
+ expected: FAIL
+
+
+[general.any.sharedworker.html]
+ [enqueue() should throw after readable.cancel()]
+ expected: FAIL
+
+ [Transform stream should call transformer methods as methods]
+ expected: FAIL
+
+ [specifying a defined writableType should throw]
+ expected: FAIL
+
+ [TransformStream can be constructed with a transform function]
+ expected: FAIL
+
+ [methods should not not have .apply() or .call() called]
+ expected: FAIL
+
+ [Uppercaser async TransformStream: can read from readable transformed version of what is put into writable]
+ expected: FAIL
+
+ [Uppercaser sync TransformStream: can read from readable transformed version of what is put into writable]
+ expected: FAIL
+
+ [specifying a defined readableType should throw]
+ expected: FAIL
+
+ [enqueue() should throw after controller.terminate()]
+ expected: FAIL
+
+ [TransformStream: by default, closing the writable closes the readable (when there are no queued writes)]
+ expected: FAIL
+
+ [TransformStream: by default, closing the writable closes the readable after async enqueues and async done]
+ expected: FAIL
+
+ [controller.terminate() should do nothing the second time it is called]
+ expected: FAIL
+
+ [TransformStream: by default, closing the writable waits for transforms to finish before closing both]
+ expected: FAIL
+
+ [TransformStream: by default, closing the writable closes the readable after sync enqueues and async done]
+ expected: FAIL
+
+ [TransformStream can be constructed with no transform function]
+ expected: FAIL
+
+ [start() should not be called twice]
+ expected: FAIL
+
+ [terminate() should do nothing after readable.cancel()]
+ expected: FAIL
+
+ [Identity TransformStream: can read from readable what is put into writable]
+ expected: FAIL
+
+ [TransformStream start, transform, and flush should be strictly ordered]
+ expected: FAIL
+
+ [TransformStream instances must have writable and readable properties of the correct types]
+ expected: FAIL
+
+ [Uppercaser-doubler async TransformStream: can read both chunks put into the readable]
+ expected: FAIL
+
+ [Uppercaser-doubler sync TransformStream: can read both chunks put into the readable]
+ expected: FAIL
+
+ [closing the writable should close the readable when there are no queued chunks, even with backpressure]
+ expected: FAIL
+
+ [it should be possible to call transform() synchronously]
+ expected: FAIL
+
+ [TransformStream writable starts in the writable state]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/streams/transform-streams/general.dedicatedworker.html.ini b/testing/web-platform/meta/streams/transform-streams/general.dedicatedworker.html.ini
deleted file mode 100644
index 42d561b7bccd1..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/general.dedicatedworker.html.ini
+++ /dev/null
@@ -1,76 +0,0 @@
-[general.dedicatedworker.html]
- [TransformStream can be constructed with a transform function]
- expected: FAIL
-
- [TransformStream can be constructed with no transform function]
- expected: FAIL
-
- [TransformStream instances must have writable and readable properties of the correct types]
- expected: FAIL
-
- [TransformStream writable starts in the writable state]
- expected: FAIL
-
- [Identity TransformStream: can read from readable what is put into writable]
- expected: FAIL
-
- [Uppercaser sync TransformStream: can read from readable transformed version of what is put into writable]
- expected: FAIL
-
- [Uppercaser-doubler sync TransformStream: can read both chunks put into the readable]
- expected: FAIL
-
- [Uppercaser async TransformStream: can read from readable transformed version of what is put into writable]
- expected: FAIL
-
- [Uppercaser-doubler async TransformStream: can read both chunks put into the readable]
- expected: FAIL
-
- [TransformStream: by default, closing the writable closes the readable (when there are no queued writes)]
- expected: FAIL
-
- [TransformStream: by default, closing the writable waits for transforms to finish before closing both]
- expected: FAIL
-
- [TransformStream: by default, closing the writable closes the readable after sync enqueues and async done]
- expected: FAIL
-
- [TransformStream: by default, closing the writable closes the readable after async enqueues and async done]
- expected: FAIL
-
- [Transform stream should call transformer methods as methods]
- expected: FAIL
-
- [methods should not not have .apply() or .call() called]
- expected: FAIL
-
- [TransformStream start, transform, and flush should be strictly ordered]
- expected: FAIL
-
- [it should be possible to call transform() synchronously]
- expected: FAIL
-
- [closing the writable should close the readable when there are no queued chunks, even with backpressure]
- expected: FAIL
-
- [enqueue() should throw after controller.terminate()]
- expected: FAIL
-
- [enqueue() should throw after readable.cancel()]
- expected: FAIL
-
- [controller.terminate() should do nothing the second time it is called]
- expected: FAIL
-
- [terminate() should do nothing after readable.cancel()]
- expected: FAIL
-
- [start() should not be called twice]
- expected: FAIL
-
- [specifying a defined readableType should throw]
- expected: FAIL
-
- [specifying a defined writableType should throw]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/general.html.ini b/testing/web-platform/meta/streams/transform-streams/general.html.ini
deleted file mode 100644
index 98e5a93831d75..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/general.html.ini
+++ /dev/null
@@ -1,76 +0,0 @@
-[general.html]
- [TransformStream can be constructed with a transform function]
- expected: FAIL
-
- [TransformStream can be constructed with no transform function]
- expected: FAIL
-
- [TransformStream instances must have writable and readable properties of the correct types]
- expected: FAIL
-
- [TransformStream writable starts in the writable state]
- expected: FAIL
-
- [Identity TransformStream: can read from readable what is put into writable]
- expected: FAIL
-
- [Uppercaser sync TransformStream: can read from readable transformed version of what is put into writable]
- expected: FAIL
-
- [Uppercaser-doubler sync TransformStream: can read both chunks put into the readable]
- expected: FAIL
-
- [Uppercaser async TransformStream: can read from readable transformed version of what is put into writable]
- expected: FAIL
-
- [Uppercaser-doubler async TransformStream: can read both chunks put into the readable]
- expected: FAIL
-
- [TransformStream: by default, closing the writable closes the readable (when there are no queued writes)]
- expected: FAIL
-
- [TransformStream: by default, closing the writable waits for transforms to finish before closing both]
- expected: FAIL
-
- [TransformStream: by default, closing the writable closes the readable after sync enqueues and async done]
- expected: FAIL
-
- [TransformStream: by default, closing the writable closes the readable after async enqueues and async done]
- expected: FAIL
-
- [Transform stream should call transformer methods as methods]
- expected: FAIL
-
- [methods should not not have .apply() or .call() called]
- expected: FAIL
-
- [TransformStream start, transform, and flush should be strictly ordered]
- expected: FAIL
-
- [it should be possible to call transform() synchronously]
- expected: FAIL
-
- [closing the writable should close the readable when there are no queued chunks, even with backpressure]
- expected: FAIL
-
- [enqueue() should throw after controller.terminate()]
- expected: FAIL
-
- [enqueue() should throw after readable.cancel()]
- expected: FAIL
-
- [controller.terminate() should do nothing the second time it is called]
- expected: FAIL
-
- [terminate() should do nothing after readable.cancel()]
- expected: FAIL
-
- [start() should not be called twice]
- expected: FAIL
-
- [specifying a defined readableType should throw]
- expected: FAIL
-
- [specifying a defined writableType should throw]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/general.serviceworker.https.html.ini b/testing/web-platform/meta/streams/transform-streams/general.serviceworker.https.html.ini
deleted file mode 100644
index 0a4ed279aa0f5..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/general.serviceworker.https.html.ini
+++ /dev/null
@@ -1,76 +0,0 @@
-[general.serviceworker.https.html]
- [TransformStream can be constructed with a transform function]
- expected: FAIL
-
- [TransformStream can be constructed with no transform function]
- expected: FAIL
-
- [TransformStream instances must have writable and readable properties of the correct types]
- expected: FAIL
-
- [TransformStream writable starts in the writable state]
- expected: FAIL
-
- [Identity TransformStream: can read from readable what is put into writable]
- expected: FAIL
-
- [Uppercaser sync TransformStream: can read from readable transformed version of what is put into writable]
- expected: FAIL
-
- [Uppercaser-doubler sync TransformStream: can read both chunks put into the readable]
- expected: FAIL
-
- [Uppercaser async TransformStream: can read from readable transformed version of what is put into writable]
- expected: FAIL
-
- [Uppercaser-doubler async TransformStream: can read both chunks put into the readable]
- expected: FAIL
-
- [TransformStream: by default, closing the writable closes the readable (when there are no queued writes)]
- expected: FAIL
-
- [TransformStream: by default, closing the writable waits for transforms to finish before closing both]
- expected: FAIL
-
- [TransformStream: by default, closing the writable closes the readable after sync enqueues and async done]
- expected: FAIL
-
- [TransformStream: by default, closing the writable closes the readable after async enqueues and async done]
- expected: FAIL
-
- [Transform stream should call transformer methods as methods]
- expected: FAIL
-
- [methods should not not have .apply() or .call() called]
- expected: FAIL
-
- [TransformStream start, transform, and flush should be strictly ordered]
- expected: FAIL
-
- [it should be possible to call transform() synchronously]
- expected: FAIL
-
- [closing the writable should close the readable when there are no queued chunks, even with backpressure]
- expected: FAIL
-
- [enqueue() should throw after controller.terminate()]
- expected: FAIL
-
- [enqueue() should throw after readable.cancel()]
- expected: FAIL
-
- [controller.terminate() should do nothing the second time it is called]
- expected: FAIL
-
- [terminate() should do nothing after readable.cancel()]
- expected: FAIL
-
- [start() should not be called twice]
- expected: FAIL
-
- [specifying a defined readableType should throw]
- expected: FAIL
-
- [specifying a defined writableType should throw]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/general.sharedworker.html.ini b/testing/web-platform/meta/streams/transform-streams/general.sharedworker.html.ini
deleted file mode 100644
index fd792fff7e91c..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/general.sharedworker.html.ini
+++ /dev/null
@@ -1,76 +0,0 @@
-[general.sharedworker.html]
- [TransformStream can be constructed with a transform function]
- expected: FAIL
-
- [TransformStream can be constructed with no transform function]
- expected: FAIL
-
- [TransformStream instances must have writable and readable properties of the correct types]
- expected: FAIL
-
- [TransformStream writable starts in the writable state]
- expected: FAIL
-
- [Identity TransformStream: can read from readable what is put into writable]
- expected: FAIL
-
- [Uppercaser sync TransformStream: can read from readable transformed version of what is put into writable]
- expected: FAIL
-
- [Uppercaser-doubler sync TransformStream: can read both chunks put into the readable]
- expected: FAIL
-
- [Uppercaser async TransformStream: can read from readable transformed version of what is put into writable]
- expected: FAIL
-
- [Uppercaser-doubler async TransformStream: can read both chunks put into the readable]
- expected: FAIL
-
- [TransformStream: by default, closing the writable closes the readable (when there are no queued writes)]
- expected: FAIL
-
- [TransformStream: by default, closing the writable waits for transforms to finish before closing both]
- expected: FAIL
-
- [TransformStream: by default, closing the writable closes the readable after sync enqueues and async done]
- expected: FAIL
-
- [TransformStream: by default, closing the writable closes the readable after async enqueues and async done]
- expected: FAIL
-
- [Transform stream should call transformer methods as methods]
- expected: FAIL
-
- [methods should not not have .apply() or .call() called]
- expected: FAIL
-
- [TransformStream start, transform, and flush should be strictly ordered]
- expected: FAIL
-
- [it should be possible to call transform() synchronously]
- expected: FAIL
-
- [closing the writable should close the readable when there are no queued chunks, even with backpressure]
- expected: FAIL
-
- [enqueue() should throw after controller.terminate()]
- expected: FAIL
-
- [enqueue() should throw after readable.cancel()]
- expected: FAIL
-
- [controller.terminate() should do nothing the second time it is called]
- expected: FAIL
-
- [terminate() should do nothing after readable.cancel()]
- expected: FAIL
-
- [start() should not be called twice]
- expected: FAIL
-
- [specifying a defined readableType should throw]
- expected: FAIL
-
- [specifying a defined writableType should throw]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/lipfuzz.any.js.ini b/testing/web-platform/meta/streams/transform-streams/lipfuzz.any.js.ini
new file mode 100644
index 0000000000000..9e242cb1246ae
--- /dev/null
+++ b/testing/web-platform/meta/streams/transform-streams/lipfuzz.any.js.ini
@@ -0,0 +1,247 @@
+[lipfuzz.any.html]
+ [testing "{{wrong}}" (length 1)]
+ expected: FAIL
+
+ [testing "{{in1}}{{in2}}{{in1}}" (length 1)]
+ expected: FAIL
+
+ [testing "{{in1}}q" (length 1)]
+ expected: FAIL
+
+ [testing "{{in1}}" (length 1)]
+ expected: FAIL
+
+ [testing "{{wron,g}}" (length 2)]
+ expected: FAIL
+
+ [testing "{{,in1}}" (length 2)]
+ expected: FAIL
+
+ [testing "{{quine}}" (length 1)]
+ expected: FAIL
+
+ [testing "{,{in1}}" (length 2)]
+ expected: FAIL
+
+ [testing "" (length 0)]
+ expected: FAIL
+
+ [testing "{," (length 2)]
+ expected: FAIL
+
+ [testing "" (length 1)]
+ expected: FAIL
+
+ [testing "{{bogusPartial}}" (length 1)]
+ expected: FAIL
+
+ [testing "{{in1}}{{in1},}" (length 2)]
+ expected: FAIL
+
+ [testing "{{,in1}" (length 2)]
+ expected: FAIL
+
+ [testing "z{{in1}}" (length 1)]
+ expected: FAIL
+
+ [testing "{{in1,}}" (length 2)]
+ expected: FAIL
+
+ [testing "{,{,i,n,1,},}" (length 7)]
+ expected: FAIL
+
+ [testing "{" (length 1)]
+ expected: FAIL
+
+ [testing "{{bogusPartial}}}" (length 1)]
+ expected: FAIL
+
+ [testing "{{in1}}{{in1}" (length 1)]
+ expected: FAIL
+
+
+[lipfuzz.any.worker.html]
+ [testing "{{wrong}}" (length 1)]
+ expected: FAIL
+
+ [testing "{{in1}}{{in2}}{{in1}}" (length 1)]
+ expected: FAIL
+
+ [testing "{{in1}}q" (length 1)]
+ expected: FAIL
+
+ [testing "{{in1}}" (length 1)]
+ expected: FAIL
+
+ [testing "{{wron,g}}" (length 2)]
+ expected: FAIL
+
+ [testing "{{,in1}}" (length 2)]
+ expected: FAIL
+
+ [testing "{{quine}}" (length 1)]
+ expected: FAIL
+
+ [testing "{,{in1}}" (length 2)]
+ expected: FAIL
+
+ [testing "" (length 0)]
+ expected: FAIL
+
+ [testing "{," (length 2)]
+ expected: FAIL
+
+ [testing "" (length 1)]
+ expected: FAIL
+
+ [testing "{{bogusPartial}}" (length 1)]
+ expected: FAIL
+
+ [testing "{{in1}}{{in1},}" (length 2)]
+ expected: FAIL
+
+ [testing "{{,in1}" (length 2)]
+ expected: FAIL
+
+ [testing "z{{in1}}" (length 1)]
+ expected: FAIL
+
+ [testing "{{in1,}}" (length 2)]
+ expected: FAIL
+
+ [testing "{,{,i,n,1,},}" (length 7)]
+ expected: FAIL
+
+ [testing "{" (length 1)]
+ expected: FAIL
+
+ [testing "{{bogusPartial}}}" (length 1)]
+ expected: FAIL
+
+ [testing "{{in1}}{{in1}" (length 1)]
+ expected: FAIL
+
+
+[lipfuzz.any.serviceworker.html]
+ [testing "{{wrong}}" (length 1)]
+ expected: FAIL
+
+ [testing "{{in1}}{{in2}}{{in1}}" (length 1)]
+ expected: FAIL
+
+ [testing "{{in1}}q" (length 1)]
+ expected: FAIL
+
+ [testing "{{in1}}" (length 1)]
+ expected: FAIL
+
+ [testing "{{wron,g}}" (length 2)]
+ expected: FAIL
+
+ [testing "{{,in1}}" (length 2)]
+ expected: FAIL
+
+ [testing "{{quine}}" (length 1)]
+ expected: FAIL
+
+ [testing "{,{in1}}" (length 2)]
+ expected: FAIL
+
+ [testing "" (length 0)]
+ expected: FAIL
+
+ [testing "{," (length 2)]
+ expected: FAIL
+
+ [testing "" (length 1)]
+ expected: FAIL
+
+ [testing "{{bogusPartial}}" (length 1)]
+ expected: FAIL
+
+ [testing "{{in1}}{{in1},}" (length 2)]
+ expected: FAIL
+
+ [testing "{{,in1}" (length 2)]
+ expected: FAIL
+
+ [testing "z{{in1}}" (length 1)]
+ expected: FAIL
+
+ [testing "{{in1,}}" (length 2)]
+ expected: FAIL
+
+ [testing "{,{,i,n,1,},}" (length 7)]
+ expected: FAIL
+
+ [testing "{" (length 1)]
+ expected: FAIL
+
+ [testing "{{bogusPartial}}}" (length 1)]
+ expected: FAIL
+
+ [testing "{{in1}}{{in1}" (length 1)]
+ expected: FAIL
+
+
+[lipfuzz.any.sharedworker.html]
+ [testing "{{wrong}}" (length 1)]
+ expected: FAIL
+
+ [testing "{{in1}}{{in2}}{{in1}}" (length 1)]
+ expected: FAIL
+
+ [testing "{{in1}}q" (length 1)]
+ expected: FAIL
+
+ [testing "{{in1}}" (length 1)]
+ expected: FAIL
+
+ [testing "{{wron,g}}" (length 2)]
+ expected: FAIL
+
+ [testing "{{,in1}}" (length 2)]
+ expected: FAIL
+
+ [testing "{{quine}}" (length 1)]
+ expected: FAIL
+
+ [testing "{,{in1}}" (length 2)]
+ expected: FAIL
+
+ [testing "" (length 0)]
+ expected: FAIL
+
+ [testing "{," (length 2)]
+ expected: FAIL
+
+ [testing "" (length 1)]
+ expected: FAIL
+
+ [testing "{{bogusPartial}}" (length 1)]
+ expected: FAIL
+
+ [testing "{{in1}}{{in1},}" (length 2)]
+ expected: FAIL
+
+ [testing "{{,in1}" (length 2)]
+ expected: FAIL
+
+ [testing "z{{in1}}" (length 1)]
+ expected: FAIL
+
+ [testing "{{in1,}}" (length 2)]
+ expected: FAIL
+
+ [testing "{,{,i,n,1,},}" (length 7)]
+ expected: FAIL
+
+ [testing "{" (length 1)]
+ expected: FAIL
+
+ [testing "{{bogusPartial}}}" (length 1)]
+ expected: FAIL
+
+ [testing "{{in1}}{{in1}" (length 1)]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/streams/transform-streams/lipfuzz.dedicatedworker.html.ini b/testing/web-platform/meta/streams/transform-streams/lipfuzz.dedicatedworker.html.ini
deleted file mode 100644
index 614197464b914..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/lipfuzz.dedicatedworker.html.ini
+++ /dev/null
@@ -1,61 +0,0 @@
-[lipfuzz.dedicatedworker.html]
- [testing "" (length 1)]
- expected: FAIL
-
- [testing "" (length 0)]
- expected: FAIL
-
- [testing "{{in1}}" (length 1)]
- expected: FAIL
-
- [testing "z{{in1}}" (length 1)]
- expected: FAIL
-
- [testing "{{in1}}q" (length 1)]
- expected: FAIL
-
- [testing "{{in1}}{{in1}" (length 1)]
- expected: FAIL
-
- [testing "{{in1}}{{in1},}" (length 2)]
- expected: FAIL
-
- [testing "{{in1,}}" (length 2)]
- expected: FAIL
-
- [testing "{{,in1}}" (length 2)]
- expected: FAIL
-
- [testing "{,{in1}}" (length 2)]
- expected: FAIL
-
- [testing "{{,in1}" (length 2)]
- expected: FAIL
-
- [testing "{" (length 1)]
- expected: FAIL
-
- [testing "{," (length 2)]
- expected: FAIL
-
- [testing "{,{,i,n,1,},}" (length 7)]
- expected: FAIL
-
- [testing "{{in1}}{{in2}}{{in1}}" (length 1)]
- expected: FAIL
-
- [testing "{{wrong}}" (length 1)]
- expected: FAIL
-
- [testing "{{wron,g}}" (length 2)]
- expected: FAIL
-
- [testing "{{quine}}" (length 1)]
- expected: FAIL
-
- [testing "{{bogusPartial}}" (length 1)]
- expected: FAIL
-
- [testing "{{bogusPartial}}}" (length 1)]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/lipfuzz.html.ini b/testing/web-platform/meta/streams/transform-streams/lipfuzz.html.ini
deleted file mode 100644
index 07f1beabd8b61..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/lipfuzz.html.ini
+++ /dev/null
@@ -1,61 +0,0 @@
-[lipfuzz.html]
- [testing "" (length 1)]
- expected: FAIL
-
- [testing "" (length 0)]
- expected: FAIL
-
- [testing "{{in1}}" (length 1)]
- expected: FAIL
-
- [testing "z{{in1}}" (length 1)]
- expected: FAIL
-
- [testing "{{in1}}q" (length 1)]
- expected: FAIL
-
- [testing "{{in1}}{{in1}" (length 1)]
- expected: FAIL
-
- [testing "{{in1}}{{in1},}" (length 2)]
- expected: FAIL
-
- [testing "{{in1,}}" (length 2)]
- expected: FAIL
-
- [testing "{{,in1}}" (length 2)]
- expected: FAIL
-
- [testing "{,{in1}}" (length 2)]
- expected: FAIL
-
- [testing "{{,in1}" (length 2)]
- expected: FAIL
-
- [testing "{" (length 1)]
- expected: FAIL
-
- [testing "{," (length 2)]
- expected: FAIL
-
- [testing "{,{,i,n,1,},}" (length 7)]
- expected: FAIL
-
- [testing "{{in1}}{{in2}}{{in1}}" (length 1)]
- expected: FAIL
-
- [testing "{{wrong}}" (length 1)]
- expected: FAIL
-
- [testing "{{wron,g}}" (length 2)]
- expected: FAIL
-
- [testing "{{quine}}" (length 1)]
- expected: FAIL
-
- [testing "{{bogusPartial}}" (length 1)]
- expected: FAIL
-
- [testing "{{bogusPartial}}}" (length 1)]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/lipfuzz.serviceworker.https.html.ini b/testing/web-platform/meta/streams/transform-streams/lipfuzz.serviceworker.https.html.ini
deleted file mode 100644
index a2e0ec108d453..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/lipfuzz.serviceworker.https.html.ini
+++ /dev/null
@@ -1,61 +0,0 @@
-[lipfuzz.serviceworker.https.html]
- [testing "" (length 1)]
- expected: FAIL
-
- [testing "" (length 0)]
- expected: FAIL
-
- [testing "{{in1}}" (length 1)]
- expected: FAIL
-
- [testing "z{{in1}}" (length 1)]
- expected: FAIL
-
- [testing "{{in1}}q" (length 1)]
- expected: FAIL
-
- [testing "{{in1}}{{in1}" (length 1)]
- expected: FAIL
-
- [testing "{{in1}}{{in1},}" (length 2)]
- expected: FAIL
-
- [testing "{{in1,}}" (length 2)]
- expected: FAIL
-
- [testing "{{,in1}}" (length 2)]
- expected: FAIL
-
- [testing "{,{in1}}" (length 2)]
- expected: FAIL
-
- [testing "{{,in1}" (length 2)]
- expected: FAIL
-
- [testing "{" (length 1)]
- expected: FAIL
-
- [testing "{," (length 2)]
- expected: FAIL
-
- [testing "{,{,i,n,1,},}" (length 7)]
- expected: FAIL
-
- [testing "{{in1}}{{in2}}{{in1}}" (length 1)]
- expected: FAIL
-
- [testing "{{wrong}}" (length 1)]
- expected: FAIL
-
- [testing "{{wron,g}}" (length 2)]
- expected: FAIL
-
- [testing "{{quine}}" (length 1)]
- expected: FAIL
-
- [testing "{{bogusPartial}}" (length 1)]
- expected: FAIL
-
- [testing "{{bogusPartial}}}" (length 1)]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/lipfuzz.sharedworker.html.ini b/testing/web-platform/meta/streams/transform-streams/lipfuzz.sharedworker.html.ini
deleted file mode 100644
index 6786e109f8b53..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/lipfuzz.sharedworker.html.ini
+++ /dev/null
@@ -1,61 +0,0 @@
-[lipfuzz.sharedworker.html]
- [testing "" (length 1)]
- expected: FAIL
-
- [testing "" (length 0)]
- expected: FAIL
-
- [testing "{{in1}}" (length 1)]
- expected: FAIL
-
- [testing "z{{in1}}" (length 1)]
- expected: FAIL
-
- [testing "{{in1}}q" (length 1)]
- expected: FAIL
-
- [testing "{{in1}}{{in1}" (length 1)]
- expected: FAIL
-
- [testing "{{in1}}{{in1},}" (length 2)]
- expected: FAIL
-
- [testing "{{in1,}}" (length 2)]
- expected: FAIL
-
- [testing "{{,in1}}" (length 2)]
- expected: FAIL
-
- [testing "{,{in1}}" (length 2)]
- expected: FAIL
-
- [testing "{{,in1}" (length 2)]
- expected: FAIL
-
- [testing "{" (length 1)]
- expected: FAIL
-
- [testing "{," (length 2)]
- expected: FAIL
-
- [testing "{,{,i,n,1,},}" (length 7)]
- expected: FAIL
-
- [testing "{{in1}}{{in2}}{{in1}}" (length 1)]
- expected: FAIL
-
- [testing "{{wrong}}" (length 1)]
- expected: FAIL
-
- [testing "{{wron,g}}" (length 2)]
- expected: FAIL
-
- [testing "{{quine}}" (length 1)]
- expected: FAIL
-
- [testing "{{bogusPartial}}" (length 1)]
- expected: FAIL
-
- [testing "{{bogusPartial}}}" (length 1)]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/patched-global.any.js.ini b/testing/web-platform/meta/streams/transform-streams/patched-global.any.js.ini
new file mode 100644
index 0000000000000..5871277ba25d1
--- /dev/null
+++ b/testing/web-platform/meta/streams/transform-streams/patched-global.any.js.ini
@@ -0,0 +1,31 @@
+[patched-global.any.serviceworker.html]
+ [TransformStream constructor should not call setters for highWaterMark or size]
+ expected: FAIL
+
+ [TransformStream should use the original value of ReadableStream and WritableStream]
+ expected: FAIL
+
+
+[patched-global.any.sharedworker.html]
+ [TransformStream constructor should not call setters for highWaterMark or size]
+ expected: FAIL
+
+ [TransformStream should use the original value of ReadableStream and WritableStream]
+ expected: FAIL
+
+
+[patched-global.any.html]
+ [TransformStream constructor should not call setters for highWaterMark or size]
+ expected: FAIL
+
+ [TransformStream should use the original value of ReadableStream and WritableStream]
+ expected: FAIL
+
+
+[patched-global.any.worker.html]
+ [TransformStream constructor should not call setters for highWaterMark or size]
+ expected: FAIL
+
+ [TransformStream should use the original value of ReadableStream and WritableStream]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/streams/transform-streams/patched-global.dedicatedworker.html.ini b/testing/web-platform/meta/streams/transform-streams/patched-global.dedicatedworker.html.ini
deleted file mode 100644
index b16e66dbf8e86..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/patched-global.dedicatedworker.html.ini
+++ /dev/null
@@ -1,7 +0,0 @@
-[patched-global.dedicatedworker.html]
- [TransformStream constructor should not call setters for highWaterMark or size]
- expected: FAIL
-
- [TransformStream should use the original value of ReadableStream and WritableStream]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/patched-global.html.ini b/testing/web-platform/meta/streams/transform-streams/patched-global.html.ini
deleted file mode 100644
index 158825ce245a2..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/patched-global.html.ini
+++ /dev/null
@@ -1,7 +0,0 @@
-[patched-global.html]
- [TransformStream constructor should not call setters for highWaterMark or size]
- expected: FAIL
-
- [TransformStream should use the original value of ReadableStream and WritableStream]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/patched-global.serviceworker.https.html.ini b/testing/web-platform/meta/streams/transform-streams/patched-global.serviceworker.https.html.ini
deleted file mode 100644
index 40ada4fc4843e..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/patched-global.serviceworker.https.html.ini
+++ /dev/null
@@ -1,7 +0,0 @@
-[patched-global.serviceworker.https.html]
- [TransformStream constructor should not call setters for highWaterMark or size]
- expected: FAIL
-
- [TransformStream should use the original value of ReadableStream and WritableStream]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/patched-global.sharedworker.html.ini b/testing/web-platform/meta/streams/transform-streams/patched-global.sharedworker.html.ini
deleted file mode 100644
index f81a11de2032d..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/patched-global.sharedworker.html.ini
+++ /dev/null
@@ -1,7 +0,0 @@
-[patched-global.sharedworker.html]
- [TransformStream constructor should not call setters for highWaterMark or size]
- expected: FAIL
-
- [TransformStream should use the original value of ReadableStream and WritableStream]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/properties.any.js.ini b/testing/web-platform/meta/streams/transform-streams/properties.any.js.ini
new file mode 100644
index 0000000000000..432e610f0010a
--- /dev/null
+++ b/testing/web-platform/meta/streams/transform-streams/properties.any.js.ini
@@ -0,0 +1,11 @@
+[properties.any.serviceworker.html]
+ expected: TIMEOUT
+
+[properties.any.sharedworker.html]
+ expected: TIMEOUT
+
+[properties.any.html]
+ expected: ERROR
+
+[properties.any.worker.html]
+ expected: ERROR
diff --git a/testing/web-platform/meta/streams/transform-streams/properties.dedicatedworker.html.ini b/testing/web-platform/meta/streams/transform-streams/properties.dedicatedworker.html.ini
deleted file mode 100644
index 7bdd0600dc2bc..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/properties.dedicatedworker.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[properties.dedicatedworker.html]
- expected: ERROR
diff --git a/testing/web-platform/meta/streams/transform-streams/properties.html.ini b/testing/web-platform/meta/streams/transform-streams/properties.html.ini
deleted file mode 100644
index c7cc1e4a75c8b..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/properties.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[properties.html]
- expected: ERROR
diff --git a/testing/web-platform/meta/streams/transform-streams/properties.serviceworker.https.html.ini b/testing/web-platform/meta/streams/transform-streams/properties.serviceworker.https.html.ini
deleted file mode 100644
index 50c51cead1400..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/properties.serviceworker.https.html.ini
+++ /dev/null
@@ -1,4 +0,0 @@
-[properties.serviceworker.https.html]
- [Service worker test setup]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/properties.sharedworker.html.ini b/testing/web-platform/meta/streams/transform-streams/properties.sharedworker.html.ini
deleted file mode 100644
index 753e337dbd89f..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/properties.sharedworker.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[properties.sharedworker.html]
- expected: TIMEOUT
diff --git a/testing/web-platform/meta/streams/transform-streams/reentrant-strategies.any.js.ini b/testing/web-platform/meta/streams/transform-streams/reentrant-strategies.any.js.ini
new file mode 100644
index 0000000000000..903e37e8169a9
--- /dev/null
+++ b/testing/web-platform/meta/streams/transform-streams/reentrant-strategies.any.js.ini
@@ -0,0 +1,139 @@
+[reentrant-strategies.any.sharedworker.html]
+ [readable cancel() inside size() should work]
+ expected: FAIL
+
+ [writer.close() inside size() should work]
+ expected: FAIL
+
+ [pipeTo() inside size() should work]
+ expected: FAIL
+
+ [desiredSize inside size() should work]
+ expected: FAIL
+
+ [writer.write() inside size() should work]
+ expected: FAIL
+
+ [read() inside of size() should work]
+ expected: FAIL
+
+ [enqueue() inside size() should work]
+ expected: FAIL
+
+ [terminate() inside size() should work]
+ expected: FAIL
+
+ [synchronous writer.write() inside size() should work]
+ expected: FAIL
+
+ [writer.abort() inside size() should work]
+ expected: FAIL
+
+ [error() inside size() should work]
+ expected: FAIL
+
+
+[reentrant-strategies.any.worker.html]
+ [readable cancel() inside size() should work]
+ expected: FAIL
+
+ [writer.close() inside size() should work]
+ expected: FAIL
+
+ [pipeTo() inside size() should work]
+ expected: FAIL
+
+ [desiredSize inside size() should work]
+ expected: FAIL
+
+ [writer.write() inside size() should work]
+ expected: FAIL
+
+ [read() inside of size() should work]
+ expected: FAIL
+
+ [enqueue() inside size() should work]
+ expected: FAIL
+
+ [terminate() inside size() should work]
+ expected: FAIL
+
+ [synchronous writer.write() inside size() should work]
+ expected: FAIL
+
+ [writer.abort() inside size() should work]
+ expected: FAIL
+
+ [error() inside size() should work]
+ expected: FAIL
+
+
+[reentrant-strategies.any.html]
+ [readable cancel() inside size() should work]
+ expected: FAIL
+
+ [writer.close() inside size() should work]
+ expected: FAIL
+
+ [pipeTo() inside size() should work]
+ expected: FAIL
+
+ [desiredSize inside size() should work]
+ expected: FAIL
+
+ [writer.write() inside size() should work]
+ expected: FAIL
+
+ [read() inside of size() should work]
+ expected: FAIL
+
+ [enqueue() inside size() should work]
+ expected: FAIL
+
+ [terminate() inside size() should work]
+ expected: FAIL
+
+ [synchronous writer.write() inside size() should work]
+ expected: FAIL
+
+ [writer.abort() inside size() should work]
+ expected: FAIL
+
+ [error() inside size() should work]
+ expected: FAIL
+
+
+[reentrant-strategies.any.serviceworker.html]
+ [readable cancel() inside size() should work]
+ expected: FAIL
+
+ [writer.close() inside size() should work]
+ expected: FAIL
+
+ [pipeTo() inside size() should work]
+ expected: FAIL
+
+ [desiredSize inside size() should work]
+ expected: FAIL
+
+ [writer.write() inside size() should work]
+ expected: FAIL
+
+ [read() inside of size() should work]
+ expected: FAIL
+
+ [enqueue() inside size() should work]
+ expected: FAIL
+
+ [terminate() inside size() should work]
+ expected: FAIL
+
+ [synchronous writer.write() inside size() should work]
+ expected: FAIL
+
+ [writer.abort() inside size() should work]
+ expected: FAIL
+
+ [error() inside size() should work]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/streams/transform-streams/reentrant-strategies.dedicatedworker.html.ini b/testing/web-platform/meta/streams/transform-streams/reentrant-strategies.dedicatedworker.html.ini
deleted file mode 100644
index 69a4dd28d7207..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/reentrant-strategies.dedicatedworker.html.ini
+++ /dev/null
@@ -1,34 +0,0 @@
-[reentrant-strategies.dedicatedworker.html]
- [enqueue() inside size() should work]
- expected: FAIL
-
- [terminate() inside size() should work]
- expected: FAIL
-
- [error() inside size() should work]
- expected: FAIL
-
- [desiredSize inside size() should work]
- expected: FAIL
-
- [readable cancel() inside size() should work]
- expected: FAIL
-
- [pipeTo() inside size() should work]
- expected: FAIL
-
- [read() inside of size() should work]
- expected: FAIL
-
- [writer.write() inside size() should work]
- expected: FAIL
-
- [synchronous writer.write() inside size() should work]
- expected: FAIL
-
- [writer.close() inside size() should work]
- expected: FAIL
-
- [writer.abort() inside size() should work]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/reentrant-strategies.html.ini b/testing/web-platform/meta/streams/transform-streams/reentrant-strategies.html.ini
deleted file mode 100644
index 60797b1d19629..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/reentrant-strategies.html.ini
+++ /dev/null
@@ -1,34 +0,0 @@
-[reentrant-strategies.html]
- [enqueue() inside size() should work]
- expected: FAIL
-
- [terminate() inside size() should work]
- expected: FAIL
-
- [error() inside size() should work]
- expected: FAIL
-
- [desiredSize inside size() should work]
- expected: FAIL
-
- [readable cancel() inside size() should work]
- expected: FAIL
-
- [pipeTo() inside size() should work]
- expected: FAIL
-
- [read() inside of size() should work]
- expected: FAIL
-
- [writer.write() inside size() should work]
- expected: FAIL
-
- [synchronous writer.write() inside size() should work]
- expected: FAIL
-
- [writer.close() inside size() should work]
- expected: FAIL
-
- [writer.abort() inside size() should work]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/reentrant-strategies.serviceworker.https.html.ini b/testing/web-platform/meta/streams/transform-streams/reentrant-strategies.serviceworker.https.html.ini
deleted file mode 100644
index ce1653d352e61..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/reentrant-strategies.serviceworker.https.html.ini
+++ /dev/null
@@ -1,34 +0,0 @@
-[reentrant-strategies.serviceworker.https.html]
- [enqueue() inside size() should work]
- expected: FAIL
-
- [terminate() inside size() should work]
- expected: FAIL
-
- [error() inside size() should work]
- expected: FAIL
-
- [desiredSize inside size() should work]
- expected: FAIL
-
- [readable cancel() inside size() should work]
- expected: FAIL
-
- [pipeTo() inside size() should work]
- expected: FAIL
-
- [read() inside of size() should work]
- expected: FAIL
-
- [writer.write() inside size() should work]
- expected: FAIL
-
- [synchronous writer.write() inside size() should work]
- expected: FAIL
-
- [writer.close() inside size() should work]
- expected: FAIL
-
- [writer.abort() inside size() should work]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/reentrant-strategies.sharedworker.html.ini b/testing/web-platform/meta/streams/transform-streams/reentrant-strategies.sharedworker.html.ini
deleted file mode 100644
index dcb5556ece734..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/reentrant-strategies.sharedworker.html.ini
+++ /dev/null
@@ -1,34 +0,0 @@
-[reentrant-strategies.sharedworker.html]
- [enqueue() inside size() should work]
- expected: FAIL
-
- [terminate() inside size() should work]
- expected: FAIL
-
- [error() inside size() should work]
- expected: FAIL
-
- [desiredSize inside size() should work]
- expected: FAIL
-
- [readable cancel() inside size() should work]
- expected: FAIL
-
- [pipeTo() inside size() should work]
- expected: FAIL
-
- [read() inside of size() should work]
- expected: FAIL
-
- [writer.write() inside size() should work]
- expected: FAIL
-
- [synchronous writer.write() inside size() should work]
- expected: FAIL
-
- [writer.close() inside size() should work]
- expected: FAIL
-
- [writer.abort() inside size() should work]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/strategies.any.js.ini b/testing/web-platform/meta/streams/transform-streams/strategies.any.js.ini
new file mode 100644
index 0000000000000..f0308617c0377
--- /dev/null
+++ b/testing/web-platform/meta/streams/transform-streams/strategies.any.js.ini
@@ -0,0 +1,127 @@
+[strategies.any.html]
+ [writableStrategy highWaterMark should be converted to a number]
+ expected: FAIL
+
+ [readableStrategy highWaterMark should be converted to a number]
+ expected: FAIL
+
+ [default readable strategy should be equivalent to { highWaterMark: 0 }]
+ expected: FAIL
+
+ [readableStrategy highWaterMark should work]
+ expected: FAIL
+
+ [default writable strategy should be equivalent to { highWaterMark: 1 }]
+ expected: FAIL
+
+ [a bad readableStrategy size function should error the stream on enqueue even when transformer.transform() catches the exception]
+ expected: FAIL
+
+ [a bad readableStrategy size function should cause writer.write() to reject on an identity transform]
+ expected: FAIL
+
+ [writableStrategy highWaterMark should work]
+ expected: FAIL
+
+ [writable should have the correct size() function]
+ expected: FAIL
+
+ [a RangeError should be thrown for an invalid highWaterMark]
+ expected: FAIL
+
+
+[strategies.any.worker.html]
+ [writableStrategy highWaterMark should be converted to a number]
+ expected: FAIL
+
+ [readableStrategy highWaterMark should be converted to a number]
+ expected: FAIL
+
+ [default readable strategy should be equivalent to { highWaterMark: 0 }]
+ expected: FAIL
+
+ [readableStrategy highWaterMark should work]
+ expected: FAIL
+
+ [default writable strategy should be equivalent to { highWaterMark: 1 }]
+ expected: FAIL
+
+ [a bad readableStrategy size function should error the stream on enqueue even when transformer.transform() catches the exception]
+ expected: FAIL
+
+ [a bad readableStrategy size function should cause writer.write() to reject on an identity transform]
+ expected: FAIL
+
+ [writableStrategy highWaterMark should work]
+ expected: FAIL
+
+ [writable should have the correct size() function]
+ expected: FAIL
+
+ [a RangeError should be thrown for an invalid highWaterMark]
+ expected: FAIL
+
+
+[strategies.any.serviceworker.html]
+ [writableStrategy highWaterMark should be converted to a number]
+ expected: FAIL
+
+ [readableStrategy highWaterMark should be converted to a number]
+ expected: FAIL
+
+ [default readable strategy should be equivalent to { highWaterMark: 0 }]
+ expected: FAIL
+
+ [readableStrategy highWaterMark should work]
+ expected: FAIL
+
+ [default writable strategy should be equivalent to { highWaterMark: 1 }]
+ expected: FAIL
+
+ [a bad readableStrategy size function should error the stream on enqueue even when transformer.transform() catches the exception]
+ expected: FAIL
+
+ [a bad readableStrategy size function should cause writer.write() to reject on an identity transform]
+ expected: FAIL
+
+ [writableStrategy highWaterMark should work]
+ expected: FAIL
+
+ [writable should have the correct size() function]
+ expected: FAIL
+
+ [a RangeError should be thrown for an invalid highWaterMark]
+ expected: FAIL
+
+
+[strategies.any.sharedworker.html]
+ [writableStrategy highWaterMark should be converted to a number]
+ expected: FAIL
+
+ [readableStrategy highWaterMark should be converted to a number]
+ expected: FAIL
+
+ [default readable strategy should be equivalent to { highWaterMark: 0 }]
+ expected: FAIL
+
+ [readableStrategy highWaterMark should work]
+ expected: FAIL
+
+ [default writable strategy should be equivalent to { highWaterMark: 1 }]
+ expected: FAIL
+
+ [a bad readableStrategy size function should error the stream on enqueue even when transformer.transform() catches the exception]
+ expected: FAIL
+
+ [a bad readableStrategy size function should cause writer.write() to reject on an identity transform]
+ expected: FAIL
+
+ [writableStrategy highWaterMark should work]
+ expected: FAIL
+
+ [writable should have the correct size() function]
+ expected: FAIL
+
+ [a RangeError should be thrown for an invalid highWaterMark]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/streams/transform-streams/strategies.dedicatedworker.html.ini b/testing/web-platform/meta/streams/transform-streams/strategies.dedicatedworker.html.ini
deleted file mode 100644
index 5920d068c4e95..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/strategies.dedicatedworker.html.ini
+++ /dev/null
@@ -1,31 +0,0 @@
-[strategies.dedicatedworker.html]
- [writableStrategy highWaterMark should work]
- expected: FAIL
-
- [readableStrategy highWaterMark should work]
- expected: FAIL
-
- [writable should have the correct size() function]
- expected: FAIL
-
- [default writable strategy should be equivalent to { highWaterMark: 1 }]
- expected: FAIL
-
- [default readable strategy should be equivalent to { highWaterMark: 0 }]
- expected: FAIL
-
- [a RangeError should be thrown for an invalid highWaterMark]
- expected: FAIL
-
- [writableStrategy highWaterMark should be converted to a number]
- expected: FAIL
-
- [readableStrategy highWaterMark should be converted to a number]
- expected: FAIL
-
- [a bad readableStrategy size function should cause writer.write() to reject on an identity transform]
- expected: FAIL
-
- [a bad readableStrategy size function should error the stream on enqueue even when transformer.transform() catches the exception]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/strategies.html.ini b/testing/web-platform/meta/streams/transform-streams/strategies.html.ini
deleted file mode 100644
index fc225a47fd1bc..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/strategies.html.ini
+++ /dev/null
@@ -1,31 +0,0 @@
-[strategies.html]
- [writableStrategy highWaterMark should work]
- expected: FAIL
-
- [readableStrategy highWaterMark should work]
- expected: FAIL
-
- [writable should have the correct size() function]
- expected: FAIL
-
- [default writable strategy should be equivalent to { highWaterMark: 1 }]
- expected: FAIL
-
- [default readable strategy should be equivalent to { highWaterMark: 0 }]
- expected: FAIL
-
- [a RangeError should be thrown for an invalid highWaterMark]
- expected: FAIL
-
- [writableStrategy highWaterMark should be converted to a number]
- expected: FAIL
-
- [readableStrategy highWaterMark should be converted to a number]
- expected: FAIL
-
- [a bad readableStrategy size function should cause writer.write() to reject on an identity transform]
- expected: FAIL
-
- [a bad readableStrategy size function should error the stream on enqueue even when transformer.transform() catches the exception]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/strategies.serviceworker.https.html.ini b/testing/web-platform/meta/streams/transform-streams/strategies.serviceworker.https.html.ini
deleted file mode 100644
index 1b68fab398d47..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/strategies.serviceworker.https.html.ini
+++ /dev/null
@@ -1,31 +0,0 @@
-[strategies.serviceworker.https.html]
- [writableStrategy highWaterMark should work]
- expected: FAIL
-
- [readableStrategy highWaterMark should work]
- expected: FAIL
-
- [writable should have the correct size() function]
- expected: FAIL
-
- [default writable strategy should be equivalent to { highWaterMark: 1 }]
- expected: FAIL
-
- [default readable strategy should be equivalent to { highWaterMark: 0 }]
- expected: FAIL
-
- [a RangeError should be thrown for an invalid highWaterMark]
- expected: FAIL
-
- [writableStrategy highWaterMark should be converted to a number]
- expected: FAIL
-
- [readableStrategy highWaterMark should be converted to a number]
- expected: FAIL
-
- [a bad readableStrategy size function should cause writer.write() to reject on an identity transform]
- expected: FAIL
-
- [a bad readableStrategy size function should error the stream on enqueue even when transformer.transform() catches the exception]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/strategies.sharedworker.html.ini b/testing/web-platform/meta/streams/transform-streams/strategies.sharedworker.html.ini
deleted file mode 100644
index 0c102c218580a..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/strategies.sharedworker.html.ini
+++ /dev/null
@@ -1,31 +0,0 @@
-[strategies.sharedworker.html]
- [writableStrategy highWaterMark should work]
- expected: FAIL
-
- [readableStrategy highWaterMark should work]
- expected: FAIL
-
- [writable should have the correct size() function]
- expected: FAIL
-
- [default writable strategy should be equivalent to { highWaterMark: 1 }]
- expected: FAIL
-
- [default readable strategy should be equivalent to { highWaterMark: 0 }]
- expected: FAIL
-
- [a RangeError should be thrown for an invalid highWaterMark]
- expected: FAIL
-
- [writableStrategy highWaterMark should be converted to a number]
- expected: FAIL
-
- [readableStrategy highWaterMark should be converted to a number]
- expected: FAIL
-
- [a bad readableStrategy size function should cause writer.write() to reject on an identity transform]
- expected: FAIL
-
- [a bad readableStrategy size function should error the stream on enqueue even when transformer.transform() catches the exception]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/terminate.any.js.ini b/testing/web-platform/meta/streams/transform-streams/terminate.any.js.ini
new file mode 100644
index 0000000000000..e3d1457ecaa43
--- /dev/null
+++ b/testing/web-platform/meta/streams/transform-streams/terminate.any.js.ini
@@ -0,0 +1,79 @@
+[terminate.any.html]
+ [controller.terminate() should prevent remaining chunks from being processed]
+ expected: FAIL
+
+ [controller.terminate() inside flush() should not prevent writer.close() from succeeding]
+ expected: FAIL
+
+ [controller.error() after controller.terminate() without queued chunk should do nothing]
+ expected: FAIL
+
+ [controller.error() after controller.terminate() with queued chunk should error the readable]
+ expected: FAIL
+
+ [controller.enqueue() should throw after controller.terminate()]
+ expected: FAIL
+
+ [controller.terminate() should error pipeTo()]
+ expected: FAIL
+
+
+[terminate.any.worker.html]
+ [controller.terminate() should prevent remaining chunks from being processed]
+ expected: FAIL
+
+ [controller.terminate() inside flush() should not prevent writer.close() from succeeding]
+ expected: FAIL
+
+ [controller.error() after controller.terminate() without queued chunk should do nothing]
+ expected: FAIL
+
+ [controller.error() after controller.terminate() with queued chunk should error the readable]
+ expected: FAIL
+
+ [controller.enqueue() should throw after controller.terminate()]
+ expected: FAIL
+
+ [controller.terminate() should error pipeTo()]
+ expected: FAIL
+
+
+[terminate.any.serviceworker.html]
+ [controller.terminate() should prevent remaining chunks from being processed]
+ expected: FAIL
+
+ [controller.terminate() inside flush() should not prevent writer.close() from succeeding]
+ expected: FAIL
+
+ [controller.error() after controller.terminate() without queued chunk should do nothing]
+ expected: FAIL
+
+ [controller.error() after controller.terminate() with queued chunk should error the readable]
+ expected: FAIL
+
+ [controller.enqueue() should throw after controller.terminate()]
+ expected: FAIL
+
+ [controller.terminate() should error pipeTo()]
+ expected: FAIL
+
+
+[terminate.any.sharedworker.html]
+ [controller.terminate() should prevent remaining chunks from being processed]
+ expected: FAIL
+
+ [controller.terminate() inside flush() should not prevent writer.close() from succeeding]
+ expected: FAIL
+
+ [controller.error() after controller.terminate() without queued chunk should do nothing]
+ expected: FAIL
+
+ [controller.error() after controller.terminate() with queued chunk should error the readable]
+ expected: FAIL
+
+ [controller.enqueue() should throw after controller.terminate()]
+ expected: FAIL
+
+ [controller.terminate() should error pipeTo()]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/streams/transform-streams/terminate.dedicatedworker.html.ini b/testing/web-platform/meta/streams/transform-streams/terminate.dedicatedworker.html.ini
deleted file mode 100644
index 3432013751f7b..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/terminate.dedicatedworker.html.ini
+++ /dev/null
@@ -1,19 +0,0 @@
-[terminate.dedicatedworker.html]
- [controller.terminate() should error pipeTo()]
- expected: FAIL
-
- [controller.terminate() should prevent remaining chunks from being processed]
- expected: FAIL
-
- [controller.enqueue() should throw after controller.terminate()]
- expected: FAIL
-
- [controller.error() after controller.terminate() with queued chunk should error the readable]
- expected: FAIL
-
- [controller.error() after controller.terminate() without queued chunk should do nothing]
- expected: FAIL
-
- [controller.terminate() inside flush() should not prevent writer.close() from succeeding]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/terminate.html.ini b/testing/web-platform/meta/streams/transform-streams/terminate.html.ini
deleted file mode 100644
index 080bb6476b38d..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/terminate.html.ini
+++ /dev/null
@@ -1,19 +0,0 @@
-[terminate.html]
- [controller.terminate() should error pipeTo()]
- expected: FAIL
-
- [controller.terminate() should prevent remaining chunks from being processed]
- expected: FAIL
-
- [controller.enqueue() should throw after controller.terminate()]
- expected: FAIL
-
- [controller.error() after controller.terminate() with queued chunk should error the readable]
- expected: FAIL
-
- [controller.error() after controller.terminate() without queued chunk should do nothing]
- expected: FAIL
-
- [controller.terminate() inside flush() should not prevent writer.close() from succeeding]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/terminate.serviceworker.https.html.ini b/testing/web-platform/meta/streams/transform-streams/terminate.serviceworker.https.html.ini
deleted file mode 100644
index 0d3a5a9f18428..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/terminate.serviceworker.https.html.ini
+++ /dev/null
@@ -1,19 +0,0 @@
-[terminate.serviceworker.https.html]
- [controller.terminate() should error pipeTo()]
- expected: FAIL
-
- [controller.terminate() should prevent remaining chunks from being processed]
- expected: FAIL
-
- [controller.enqueue() should throw after controller.terminate()]
- expected: FAIL
-
- [controller.error() after controller.terminate() with queued chunk should error the readable]
- expected: FAIL
-
- [controller.error() after controller.terminate() without queued chunk should do nothing]
- expected: FAIL
-
- [controller.terminate() inside flush() should not prevent writer.close() from succeeding]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/transform-streams/terminate.sharedworker.html.ini b/testing/web-platform/meta/streams/transform-streams/terminate.sharedworker.html.ini
deleted file mode 100644
index e518d91abf6dc..0000000000000
--- a/testing/web-platform/meta/streams/transform-streams/terminate.sharedworker.html.ini
+++ /dev/null
@@ -1,19 +0,0 @@
-[terminate.sharedworker.html]
- [controller.terminate() should error pipeTo()]
- expected: FAIL
-
- [controller.terminate() should prevent remaining chunks from being processed]
- expected: FAIL
-
- [controller.enqueue() should throw after controller.terminate()]
- expected: FAIL
-
- [controller.error() after controller.terminate() with queued chunk should error the readable]
- expected: FAIL
-
- [controller.error() after controller.terminate() without queued chunk should do nothing]
- expected: FAIL
-
- [controller.terminate() inside flush() should not prevent writer.close() from succeeding]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/aborting.any.js.ini b/testing/web-platform/meta/streams/writable-streams/aborting.any.js.ini
new file mode 100644
index 0000000000000..1d9926b0bef44
--- /dev/null
+++ b/testing/web-platform/meta/streams/writable-streams/aborting.any.js.ini
@@ -0,0 +1,655 @@
+[aborting.any.html]
+ [an abort() that happens during a write() should trigger the underlying abort() even with a close() queued]
+ expected: FAIL
+
+ [underlying abort() should not be called until underlying write() completes]
+ expected: FAIL
+
+ [sink abort() should not be called if stream was erroring due to controller.error() before abort() was called]
+ expected: FAIL
+
+ [Aborting a WritableStream causes any outstanding write() promises to be rejected with the reason supplied]
+ expected: FAIL
+
+ [.closed should not resolve before fulfilled write()]
+ expected: FAIL
+
+ [abort() should succeed despite rejection from write]
+ expected: FAIL
+
+ [WritableStream if sink's abort throws, the promise returned by ws.abort() rejects]
+ expected: FAIL
+
+ [WritableStream should NOT call underlying sink's close if no abort is supplied (historical)]
+ expected: FAIL
+
+ [writer abort() during sink start() should replace the writer.ready promise synchronously]
+ expected: FAIL
+
+ [WritableStream if sink's abort throws, for an abort performed during a write, the promise returned by ws.abort() rejects]
+ expected: FAIL
+
+ [a rejecting sink.write() should not prevent sink.abort() from being called]
+ expected: FAIL
+
+ [if a writer is created for a stream with a pending abort, its ready should be rejected with the abort error]
+ expected: FAIL
+
+ [underlying abort() should not be called if underlying close() has started]
+ expected: FAIL
+
+ [Aborting a WritableStream passes through the given reason]
+ expected: FAIL
+
+ [Aborting a WritableStream should cause the writer's fulfilled ready promise to reset to a rejected one]
+ expected: FAIL
+
+ [writer.ready should reject on controller error without waiting for underlying write]
+ expected: FAIL
+
+ [if underlying close() has started and then rejects, the abort() and close() promises should reject with the underlying close rejection reason]
+ expected: FAIL
+
+ [if start attempts to error the controller after abort() has been called, then it should lose]
+ expected: FAIL
+
+ [abort with an undefined argument should set the stored error to undefined]
+ expected: FAIL
+
+ [writer.abort(), controller.error() while there is an in-flight close, and then finish the close]
+ expected: FAIL
+
+ [.closed should not resolve before rejected write(); write() error should not overwrite abort() error]
+ expected: FAIL
+
+ [stream abort() promise should still resolve if sink start() rejects]
+ expected: FAIL
+
+ [controller.error(), writer.abort() while there is an in-flight close, and then finish the close]
+ expected: FAIL
+
+ [Aborting a WritableStream prevents further writes after any that are in progress]
+ expected: FAIL
+
+ [writes should be satisfied in order when aborting]
+ expected: FAIL
+
+ [abort with a string argument should set the stored error to that argument]
+ expected: FAIL
+
+ [abort() should be rejected with the rejection returned from close()]
+ expected: FAIL
+
+ [Aborting a WritableStream immediately prevents future writes]
+ expected: FAIL
+
+ [Aborting a WritableStream before it starts should cause the writer's unsettled ready promise to reject]
+ expected: FAIL
+
+ [Aborting a WritableStream puts it in an errored state with the error passed to abort()]
+ expected: FAIL
+
+ [Fulfillment value of ws.abort() call must be undefined even if the underlying sink returns a non-undefined value]
+ expected: FAIL
+
+ [sink abort() should not be called if stream was erroring due to bad strategy before abort() was called]
+ expected: FAIL
+
+ [writes should be satisfied in order after rejected write when aborting]
+ expected: FAIL
+
+ [releaseLock() while aborting should reject the original closed promise]
+ expected: FAIL
+
+ [when calling abort() twice on the same stream, both should give the same promise that fulfills with undefined]
+ expected: FAIL
+
+ [releaseLock() during delayed async abort() should reject the writer.closed promise]
+ expected: FAIL
+
+ [writer.abort(), controller.error() while there is an in-flight write, and then finish the write]
+ expected: FAIL
+
+ [close() should reject with abort reason why abort() is first error]
+ expected: FAIL
+
+ [WritableStream if sink's abort throws, the promise returned by multiple writer.abort()s is the same and rejects]
+ expected: FAIL
+
+ [returning a thenable from abort() should work]
+ expected: FAIL
+
+ [when start errors after stream abort(), underlying sink abort() should be called anyway]
+ expected: FAIL
+
+ [sink abort() should not be called until sink start() is done]
+ expected: FAIL
+
+ [abort() on a released writer rejects]
+ expected: FAIL
+
+ [Aborting a WritableStream after it is closed is a no-op]
+ expected: FAIL
+
+ [writer close() promise should resolve before abort() promise]
+ expected: FAIL
+
+ [promises returned from other writer methods should be rejected when writer abort() happens during sink start()]
+ expected: FAIL
+
+ [abort with no arguments should set the stored error to undefined]
+ expected: FAIL
+
+ [controller.error(), writer.abort() while there is an in-flight write, and then finish the write]
+ expected: FAIL
+
+ [calling abort() on an errored stream should fulfill with undefined]
+ expected: FAIL
+
+ [Closing a WritableStream and aborting it while it closes causes the stream to ignore the abort attempt]
+ expected: FAIL
+
+ [WritableStream if sink's abort throws, the promise returned by writer.abort() rejects]
+ expected: FAIL
+
+ [when calling abort() twice on the same stream, but sequentially so so there's no pending abort the second time, both should fulfill with undefined]
+ expected: FAIL
+
+ [writer.abort() while there is an in-flight write, and then finish the write with rejection]
+ expected: FAIL
+
+ [Closing but then immediately aborting a WritableStream causes the stream to error]
+ expected: FAIL
+
+
+[aborting.any.worker.html]
+ [an abort() that happens during a write() should trigger the underlying abort() even with a close() queued]
+ expected: FAIL
+
+ [underlying abort() should not be called until underlying write() completes]
+ expected: FAIL
+
+ [sink abort() should not be called if stream was erroring due to controller.error() before abort() was called]
+ expected: FAIL
+
+ [Aborting a WritableStream causes any outstanding write() promises to be rejected with the reason supplied]
+ expected: FAIL
+
+ [.closed should not resolve before fulfilled write()]
+ expected: FAIL
+
+ [abort() should succeed despite rejection from write]
+ expected: FAIL
+
+ [WritableStream if sink's abort throws, the promise returned by ws.abort() rejects]
+ expected: FAIL
+
+ [WritableStream should NOT call underlying sink's close if no abort is supplied (historical)]
+ expected: FAIL
+
+ [writer abort() during sink start() should replace the writer.ready promise synchronously]
+ expected: FAIL
+
+ [WritableStream if sink's abort throws, for an abort performed during a write, the promise returned by ws.abort() rejects]
+ expected: FAIL
+
+ [a rejecting sink.write() should not prevent sink.abort() from being called]
+ expected: FAIL
+
+ [if a writer is created for a stream with a pending abort, its ready should be rejected with the abort error]
+ expected: FAIL
+
+ [underlying abort() should not be called if underlying close() has started]
+ expected: FAIL
+
+ [Aborting a WritableStream passes through the given reason]
+ expected: FAIL
+
+ [Aborting a WritableStream should cause the writer's fulfilled ready promise to reset to a rejected one]
+ expected: FAIL
+
+ [writer.ready should reject on controller error without waiting for underlying write]
+ expected: FAIL
+
+ [if underlying close() has started and then rejects, the abort() and close() promises should reject with the underlying close rejection reason]
+ expected: FAIL
+
+ [if start attempts to error the controller after abort() has been called, then it should lose]
+ expected: FAIL
+
+ [abort with an undefined argument should set the stored error to undefined]
+ expected: FAIL
+
+ [writer.abort(), controller.error() while there is an in-flight close, and then finish the close]
+ expected: FAIL
+
+ [.closed should not resolve before rejected write(); write() error should not overwrite abort() error]
+ expected: FAIL
+
+ [stream abort() promise should still resolve if sink start() rejects]
+ expected: FAIL
+
+ [controller.error(), writer.abort() while there is an in-flight close, and then finish the close]
+ expected: FAIL
+
+ [Aborting a WritableStream prevents further writes after any that are in progress]
+ expected: FAIL
+
+ [writes should be satisfied in order when aborting]
+ expected: FAIL
+
+ [abort with a string argument should set the stored error to that argument]
+ expected: FAIL
+
+ [abort() should be rejected with the rejection returned from close()]
+ expected: FAIL
+
+ [Aborting a WritableStream immediately prevents future writes]
+ expected: FAIL
+
+ [Aborting a WritableStream before it starts should cause the writer's unsettled ready promise to reject]
+ expected: FAIL
+
+ [Aborting a WritableStream puts it in an errored state with the error passed to abort()]
+ expected: FAIL
+
+ [Fulfillment value of ws.abort() call must be undefined even if the underlying sink returns a non-undefined value]
+ expected: FAIL
+
+ [sink abort() should not be called if stream was erroring due to bad strategy before abort() was called]
+ expected: FAIL
+
+ [writes should be satisfied in order after rejected write when aborting]
+ expected: FAIL
+
+ [releaseLock() while aborting should reject the original closed promise]
+ expected: FAIL
+
+ [when calling abort() twice on the same stream, both should give the same promise that fulfills with undefined]
+ expected: FAIL
+
+ [releaseLock() during delayed async abort() should reject the writer.closed promise]
+ expected: FAIL
+
+ [writer.abort(), controller.error() while there is an in-flight write, and then finish the write]
+ expected: FAIL
+
+ [close() should reject with abort reason why abort() is first error]
+ expected: FAIL
+
+ [WritableStream if sink's abort throws, the promise returned by multiple writer.abort()s is the same and rejects]
+ expected: FAIL
+
+ [returning a thenable from abort() should work]
+ expected: FAIL
+
+ [when start errors after stream abort(), underlying sink abort() should be called anyway]
+ expected: FAIL
+
+ [sink abort() should not be called until sink start() is done]
+ expected: FAIL
+
+ [abort() on a released writer rejects]
+ expected: FAIL
+
+ [Aborting a WritableStream after it is closed is a no-op]
+ expected: FAIL
+
+ [writer close() promise should resolve before abort() promise]
+ expected: FAIL
+
+ [promises returned from other writer methods should be rejected when writer abort() happens during sink start()]
+ expected: FAIL
+
+ [abort with no arguments should set the stored error to undefined]
+ expected: FAIL
+
+ [controller.error(), writer.abort() while there is an in-flight write, and then finish the write]
+ expected: FAIL
+
+ [calling abort() on an errored stream should fulfill with undefined]
+ expected: FAIL
+
+ [Closing a WritableStream and aborting it while it closes causes the stream to ignore the abort attempt]
+ expected: FAIL
+
+ [WritableStream if sink's abort throws, the promise returned by writer.abort() rejects]
+ expected: FAIL
+
+ [when calling abort() twice on the same stream, but sequentially so so there's no pending abort the second time, both should fulfill with undefined]
+ expected: FAIL
+
+ [writer.abort() while there is an in-flight write, and then finish the write with rejection]
+ expected: FAIL
+
+ [Closing but then immediately aborting a WritableStream causes the stream to error]
+ expected: FAIL
+
+
+[aborting.any.serviceworker.html]
+ [an abort() that happens during a write() should trigger the underlying abort() even with a close() queued]
+ expected: FAIL
+
+ [underlying abort() should not be called until underlying write() completes]
+ expected: FAIL
+
+ [sink abort() should not be called if stream was erroring due to controller.error() before abort() was called]
+ expected: FAIL
+
+ [Aborting a WritableStream causes any outstanding write() promises to be rejected with the reason supplied]
+ expected: FAIL
+
+ [.closed should not resolve before fulfilled write()]
+ expected: FAIL
+
+ [abort() should succeed despite rejection from write]
+ expected: FAIL
+
+ [WritableStream if sink's abort throws, the promise returned by ws.abort() rejects]
+ expected: FAIL
+
+ [WritableStream should NOT call underlying sink's close if no abort is supplied (historical)]
+ expected: FAIL
+
+ [writer abort() during sink start() should replace the writer.ready promise synchronously]
+ expected: FAIL
+
+ [WritableStream if sink's abort throws, for an abort performed during a write, the promise returned by ws.abort() rejects]
+ expected: FAIL
+
+ [a rejecting sink.write() should not prevent sink.abort() from being called]
+ expected: FAIL
+
+ [if a writer is created for a stream with a pending abort, its ready should be rejected with the abort error]
+ expected: FAIL
+
+ [underlying abort() should not be called if underlying close() has started]
+ expected: FAIL
+
+ [Aborting a WritableStream passes through the given reason]
+ expected: FAIL
+
+ [Aborting a WritableStream should cause the writer's fulfilled ready promise to reset to a rejected one]
+ expected: FAIL
+
+ [writer.ready should reject on controller error without waiting for underlying write]
+ expected: FAIL
+
+ [if underlying close() has started and then rejects, the abort() and close() promises should reject with the underlying close rejection reason]
+ expected: FAIL
+
+ [if start attempts to error the controller after abort() has been called, then it should lose]
+ expected: FAIL
+
+ [abort with an undefined argument should set the stored error to undefined]
+ expected: FAIL
+
+ [writer.abort(), controller.error() while there is an in-flight close, and then finish the close]
+ expected: FAIL
+
+ [.closed should not resolve before rejected write(); write() error should not overwrite abort() error]
+ expected: FAIL
+
+ [stream abort() promise should still resolve if sink start() rejects]
+ expected: FAIL
+
+ [controller.error(), writer.abort() while there is an in-flight close, and then finish the close]
+ expected: FAIL
+
+ [Aborting a WritableStream prevents further writes after any that are in progress]
+ expected: FAIL
+
+ [writes should be satisfied in order when aborting]
+ expected: FAIL
+
+ [abort with a string argument should set the stored error to that argument]
+ expected: FAIL
+
+ [abort() should be rejected with the rejection returned from close()]
+ expected: FAIL
+
+ [Aborting a WritableStream immediately prevents future writes]
+ expected: FAIL
+
+ [Aborting a WritableStream before it starts should cause the writer's unsettled ready promise to reject]
+ expected: FAIL
+
+ [Aborting a WritableStream puts it in an errored state with the error passed to abort()]
+ expected: FAIL
+
+ [Fulfillment value of ws.abort() call must be undefined even if the underlying sink returns a non-undefined value]
+ expected: FAIL
+
+ [sink abort() should not be called if stream was erroring due to bad strategy before abort() was called]
+ expected: FAIL
+
+ [writes should be satisfied in order after rejected write when aborting]
+ expected: FAIL
+
+ [releaseLock() while aborting should reject the original closed promise]
+ expected: FAIL
+
+ [when calling abort() twice on the same stream, both should give the same promise that fulfills with undefined]
+ expected: FAIL
+
+ [releaseLock() during delayed async abort() should reject the writer.closed promise]
+ expected: FAIL
+
+ [writer.abort(), controller.error() while there is an in-flight write, and then finish the write]
+ expected: FAIL
+
+ [close() should reject with abort reason why abort() is first error]
+ expected: FAIL
+
+ [WritableStream if sink's abort throws, the promise returned by multiple writer.abort()s is the same and rejects]
+ expected: FAIL
+
+ [returning a thenable from abort() should work]
+ expected: FAIL
+
+ [when start errors after stream abort(), underlying sink abort() should be called anyway]
+ expected: FAIL
+
+ [sink abort() should not be called until sink start() is done]
+ expected: FAIL
+
+ [abort() on a released writer rejects]
+ expected: FAIL
+
+ [Aborting a WritableStream after it is closed is a no-op]
+ expected: FAIL
+
+ [writer close() promise should resolve before abort() promise]
+ expected: FAIL
+
+ [promises returned from other writer methods should be rejected when writer abort() happens during sink start()]
+ expected: FAIL
+
+ [abort with no arguments should set the stored error to undefined]
+ expected: FAIL
+
+ [controller.error(), writer.abort() while there is an in-flight write, and then finish the write]
+ expected: FAIL
+
+ [calling abort() on an errored stream should fulfill with undefined]
+ expected: FAIL
+
+ [Closing a WritableStream and aborting it while it closes causes the stream to ignore the abort attempt]
+ expected: FAIL
+
+ [WritableStream if sink's abort throws, the promise returned by writer.abort() rejects]
+ expected: FAIL
+
+ [when calling abort() twice on the same stream, but sequentially so so there's no pending abort the second time, both should fulfill with undefined]
+ expected: FAIL
+
+ [writer.abort() while there is an in-flight write, and then finish the write with rejection]
+ expected: FAIL
+
+ [Closing but then immediately aborting a WritableStream causes the stream to error]
+ expected: FAIL
+
+
+[aborting.any.sharedworker.html]
+ [an abort() that happens during a write() should trigger the underlying abort() even with a close() queued]
+ expected: FAIL
+
+ [underlying abort() should not be called until underlying write() completes]
+ expected: FAIL
+
+ [sink abort() should not be called if stream was erroring due to controller.error() before abort() was called]
+ expected: FAIL
+
+ [Aborting a WritableStream causes any outstanding write() promises to be rejected with the reason supplied]
+ expected: FAIL
+
+ [.closed should not resolve before fulfilled write()]
+ expected: FAIL
+
+ [abort() should succeed despite rejection from write]
+ expected: FAIL
+
+ [WritableStream if sink's abort throws, the promise returned by ws.abort() rejects]
+ expected: FAIL
+
+ [WritableStream should NOT call underlying sink's close if no abort is supplied (historical)]
+ expected: FAIL
+
+ [writer abort() during sink start() should replace the writer.ready promise synchronously]
+ expected: FAIL
+
+ [WritableStream if sink's abort throws, for an abort performed during a write, the promise returned by ws.abort() rejects]
+ expected: FAIL
+
+ [a rejecting sink.write() should not prevent sink.abort() from being called]
+ expected: FAIL
+
+ [if a writer is created for a stream with a pending abort, its ready should be rejected with the abort error]
+ expected: FAIL
+
+ [underlying abort() should not be called if underlying close() has started]
+ expected: FAIL
+
+ [Aborting a WritableStream passes through the given reason]
+ expected: FAIL
+
+ [Aborting a WritableStream should cause the writer's fulfilled ready promise to reset to a rejected one]
+ expected: FAIL
+
+ [writer.ready should reject on controller error without waiting for underlying write]
+ expected: FAIL
+
+ [if underlying close() has started and then rejects, the abort() and close() promises should reject with the underlying close rejection reason]
+ expected: FAIL
+
+ [if start attempts to error the controller after abort() has been called, then it should lose]
+ expected: FAIL
+
+ [abort with an undefined argument should set the stored error to undefined]
+ expected: FAIL
+
+ [writer.abort(), controller.error() while there is an in-flight close, and then finish the close]
+ expected: FAIL
+
+ [.closed should not resolve before rejected write(); write() error should not overwrite abort() error]
+ expected: FAIL
+
+ [stream abort() promise should still resolve if sink start() rejects]
+ expected: FAIL
+
+ [controller.error(), writer.abort() while there is an in-flight close, and then finish the close]
+ expected: FAIL
+
+ [Aborting a WritableStream prevents further writes after any that are in progress]
+ expected: FAIL
+
+ [writes should be satisfied in order when aborting]
+ expected: FAIL
+
+ [abort with a string argument should set the stored error to that argument]
+ expected: FAIL
+
+ [abort() should be rejected with the rejection returned from close()]
+ expected: FAIL
+
+ [Aborting a WritableStream immediately prevents future writes]
+ expected: FAIL
+
+ [Aborting a WritableStream before it starts should cause the writer's unsettled ready promise to reject]
+ expected: FAIL
+
+ [Aborting a WritableStream puts it in an errored state with the error passed to abort()]
+ expected: FAIL
+
+ [Fulfillment value of ws.abort() call must be undefined even if the underlying sink returns a non-undefined value]
+ expected: FAIL
+
+ [sink abort() should not be called if stream was erroring due to bad strategy before abort() was called]
+ expected: FAIL
+
+ [writes should be satisfied in order after rejected write when aborting]
+ expected: FAIL
+
+ [releaseLock() while aborting should reject the original closed promise]
+ expected: FAIL
+
+ [when calling abort() twice on the same stream, both should give the same promise that fulfills with undefined]
+ expected: FAIL
+
+ [releaseLock() during delayed async abort() should reject the writer.closed promise]
+ expected: FAIL
+
+ [writer.abort(), controller.error() while there is an in-flight write, and then finish the write]
+ expected: FAIL
+
+ [close() should reject with abort reason why abort() is first error]
+ expected: FAIL
+
+ [WritableStream if sink's abort throws, the promise returned by multiple writer.abort()s is the same and rejects]
+ expected: FAIL
+
+ [returning a thenable from abort() should work]
+ expected: FAIL
+
+ [when start errors after stream abort(), underlying sink abort() should be called anyway]
+ expected: FAIL
+
+ [sink abort() should not be called until sink start() is done]
+ expected: FAIL
+
+ [abort() on a released writer rejects]
+ expected: FAIL
+
+ [Aborting a WritableStream after it is closed is a no-op]
+ expected: FAIL
+
+ [writer close() promise should resolve before abort() promise]
+ expected: FAIL
+
+ [promises returned from other writer methods should be rejected when writer abort() happens during sink start()]
+ expected: FAIL
+
+ [abort with no arguments should set the stored error to undefined]
+ expected: FAIL
+
+ [controller.error(), writer.abort() while there is an in-flight write, and then finish the write]
+ expected: FAIL
+
+ [calling abort() on an errored stream should fulfill with undefined]
+ expected: FAIL
+
+ [Closing a WritableStream and aborting it while it closes causes the stream to ignore the abort attempt]
+ expected: FAIL
+
+ [WritableStream if sink's abort throws, the promise returned by writer.abort() rejects]
+ expected: FAIL
+
+ [when calling abort() twice on the same stream, but sequentially so so there's no pending abort the second time, both should fulfill with undefined]
+ expected: FAIL
+
+ [writer.abort() while there is an in-flight write, and then finish the write with rejection]
+ expected: FAIL
+
+ [Closing but then immediately aborting a WritableStream causes the stream to error]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/streams/writable-streams/aborting.dedicatedworker.html.ini b/testing/web-platform/meta/streams/writable-streams/aborting.dedicatedworker.html.ini
deleted file mode 100644
index 307cef6f11871..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/aborting.dedicatedworker.html.ini
+++ /dev/null
@@ -1,214 +0,0 @@
-[aborting.dedicatedworker.html]
- [Aborting a WritableStream before it starts should cause the writer's unsettled ready promise to reject]
- expected: FAIL
-
- [Aborting a WritableStream should cause the writer's fulfilled ready promise to reset to a rejected one]
- expected: FAIL
-
- [abort() on a released writer rejects]
- expected: FAIL
-
- [Aborting a WritableStream immediately prevents future writes]
- expected: FAIL
-
- [Aborting a WritableStream prevents further writes after any that are in progress]
- expected: FAIL
-
- [Fulfillment value of ws.abort() call must be undefined even if the underlying sink returns a non-undefined value]
- expected: FAIL
-
- [WritableStream if sink's abort throws, the promise returned by writer.abort() rejects]
- expected: FAIL
-
- [WritableStream if sink's abort throws, the promise returned by ws.abort() rejects]
- expected: FAIL
-
- [WritableStream if sink's abort throws, for an abort performed during a write, the promise returned by ws.abort() rejects]
- expected: FAIL
-
- [Aborting a WritableStream passes through the given reason]
- expected: FAIL
-
- [Aborting a WritableStream puts it in an errored state, with a TypeError as the stored error]
- expected: FAIL
-
- [Aborting a WritableStream causes any outstanding write() promises to be rejected with a TypeError]
- expected: FAIL
-
- [Closing but then immediately aborting a WritableStream causes the stream to error]
- expected: FAIL
-
- [Closing a WritableStream and aborting it while it closes causes the stream to error]
- expected: FAIL
-
- [Aborting a WritableStream after it is closed is a no-op]
- expected: FAIL
-
- [WritableStream should NOT call underlying sink's close if no abort is supplied (historical)]
- expected: FAIL
-
- [returning a thenable from abort() should work]
- expected: FAIL
-
- [.closed should not resolve before fulfilled write()]
- expected: FAIL
-
- [.closed should not resolve before rejected write(); write() error should overwrite abort() error]
- expected: FAIL
-
- [writes should be satisfied in order when aborting]
- expected: FAIL
-
- [writes should be satisfied in order after rejected write when aborting]
- expected: FAIL
-
- [close() should use error from underlying write() on abort]
- expected: FAIL
-
- [underlying abort() should not be called until underlying write() completes]
- expected: FAIL
-
- [underlying abort() should not be called if underlying close() has started]
- expected: FAIL
-
- [if underlying close() has started and then rejects, the abort() and close() promises should reject with the underlying close rejection reason]
- expected: FAIL
-
- [underlying abort() should be called while closing if underlying close() has not started yet]
- expected: FAIL
-
- [writer close() promise should resolve before abort() promise]
- expected: FAIL
-
- [writer.ready should reject on controller error without waiting for underlying write]
- expected: FAIL
-
- [writer.abort() while there is a pending write, and then finish the write with rejection]
- expected: FAIL
-
- [writer.abort(), controller.error() while there is a pending write, and then finish the write]
- expected: FAIL
-
- [controller.error(), writer.abort() while there is a pending write, and then finish the write]
- expected: FAIL
-
- [releaseLock() while aborting should reject the original closed promise]
- expected: FAIL
-
- [releaseLock() during delayed async abort() should create a new rejected closed promise]
- expected: FAIL
-
- [Closing a WritableStream and aborting it while it closes causes the stream to ignore the abort attempt]
- expected: FAIL
-
- [an abort() that happens during a write() should trigger the underlying abort() even with a close() queued]
- expected: FAIL
-
- [if a writer is created for a stream with a pending abort, its ready should be rejected with a TypeError]
- expected: FAIL
-
- [writer.abort() while there is an in-flight write, and then finish the write with rejection]
- expected: FAIL
-
- [writer.abort(), controller.error() while there is an in-flight write, and then finish the write]
- expected: FAIL
-
- [writer.abort(), controller.error() while there is an in-flight close, and then finish the close]
- expected: FAIL
-
- [controller.error(), writer.abort() while there is an in-flight write, and then finish the write]
- expected: FAIL
-
- [controller.error(), writer.abort() while there is an in-flight close, and then finish the close]
- expected: FAIL
-
- [sink abort() should not be called until sink start() is done]
- expected: FAIL
-
- [abort() promise should reject if start() errors the controller]
- expected: FAIL
-
- [stream abort() promise should reject if sink start() rejects]
- expected: FAIL
-
- [writer abort() during sink start() should replace the writer.ready promise synchronously]
- expected: FAIL
-
- [promises returned from other writer methods should be rejected when writer abort() happens during sink start()]
- expected: FAIL
-
- [abort() should be rejected with the error passed to controller.error() during pending write()]
- expected: FAIL
-
- [abort() should be rejected with the error passed to controller.error() during pending close()]
- expected: FAIL
-
- [.closed should not resolve before rejected write(); write() error should not overwrite abort() error]
- expected: FAIL
-
- [close() should reject with TypeError when abort() is first error]
- expected: FAIL
-
- [releaseLock() during delayed async abort() should reject the writer.closed promise]
- expected: FAIL
-
- [if start attempts to error the controller after abort() has been called, then it should lose]
- expected: FAIL
-
- [stream abort() promise should still resolve if sink start() rejects]
- expected: FAIL
-
- [abort() should succeed despite rejection from write]
- expected: FAIL
-
- [abort() should be rejected with the rejection returned from close()]
- expected: FAIL
-
- [a rejecting sink.write() should not prevent sink.abort() from being called]
- expected: FAIL
-
- [when start errors after stream abort(), underlying sink abort() should be called anyway]
- expected: FAIL
-
- [when calling abort() twice on the same stream, the second call should reject]
- expected: FAIL
-
- [sink abort() should not be called if stream was erroring due to controller.error() before abort() was called]
- expected: FAIL
-
- [sink abort() should not be called if stream was erroring due to bad strategy before abort() was called]
- expected: FAIL
-
- [WritableStream if sink's abort throws, the promise returned by multiple writer.abort()s is the same and rejects]
- expected: FAIL
-
- [Aborting a WritableStream puts it in an errored state with the error passed to abort()]
- expected: FAIL
-
- [Aborting a WritableStream causes any outstanding write() promises to be rejected with the reason supplied]
- expected: FAIL
-
- [close() should reject with abort reason why abort() is first error]
- expected: FAIL
-
- [if a writer is created for a stream with a pending abort, its ready should be rejected with the abort error]
- expected: FAIL
-
- [when calling abort() twice on the same stream, both should give the same promise that fulfills with undefined]
- expected: FAIL
-
- [when calling abort() twice on the same stream, but sequentially so so there's no pending abort the second time, both should fulfill with undefined]
- expected: FAIL
-
- [calling abort() on an errored stream should fulfill with undefined]
- expected: FAIL
-
- [abort with no arguments should set the stored error to undefined]
- expected: FAIL
-
- [abort with an undefined argument should set the stored error to undefined]
- expected: FAIL
-
- [abort with a string argument should set the stored error to that argument]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/aborting.html.ini b/testing/web-platform/meta/streams/writable-streams/aborting.html.ini
deleted file mode 100644
index 668f0aa49f036..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/aborting.html.ini
+++ /dev/null
@@ -1,214 +0,0 @@
-[aborting.html]
- [Aborting a WritableStream before it starts should cause the writer's unsettled ready promise to reject]
- expected: FAIL
-
- [Aborting a WritableStream should cause the writer's fulfilled ready promise to reset to a rejected one]
- expected: FAIL
-
- [abort() on a released writer rejects]
- expected: FAIL
-
- [Aborting a WritableStream immediately prevents future writes]
- expected: FAIL
-
- [Aborting a WritableStream prevents further writes after any that are in progress]
- expected: FAIL
-
- [Fulfillment value of ws.abort() call must be undefined even if the underlying sink returns a non-undefined value]
- expected: FAIL
-
- [WritableStream if sink's abort throws, the promise returned by writer.abort() rejects]
- expected: FAIL
-
- [WritableStream if sink's abort throws, the promise returned by ws.abort() rejects]
- expected: FAIL
-
- [WritableStream if sink's abort throws, for an abort performed during a write, the promise returned by ws.abort() rejects]
- expected: FAIL
-
- [Aborting a WritableStream passes through the given reason]
- expected: FAIL
-
- [Aborting a WritableStream puts it in an errored state, with a TypeError as the stored error]
- expected: FAIL
-
- [Aborting a WritableStream causes any outstanding write() promises to be rejected with a TypeError]
- expected: FAIL
-
- [Closing but then immediately aborting a WritableStream causes the stream to error]
- expected: FAIL
-
- [Closing a WritableStream and aborting it while it closes causes the stream to error]
- expected: FAIL
-
- [Aborting a WritableStream after it is closed is a no-op]
- expected: FAIL
-
- [WritableStream should NOT call underlying sink's close if no abort is supplied (historical)]
- expected: FAIL
-
- [returning a thenable from abort() should work]
- expected: FAIL
-
- [.closed should not resolve before fulfilled write()]
- expected: FAIL
-
- [.closed should not resolve before rejected write(); write() error should overwrite abort() error]
- expected: FAIL
-
- [writes should be satisfied in order when aborting]
- expected: FAIL
-
- [writes should be satisfied in order after rejected write when aborting]
- expected: FAIL
-
- [close() should use error from underlying write() on abort]
- expected: FAIL
-
- [underlying abort() should not be called until underlying write() completes]
- expected: FAIL
-
- [underlying abort() should not be called if underlying close() has started]
- expected: FAIL
-
- [if underlying close() has started and then rejects, the abort() and close() promises should reject with the underlying close rejection reason]
- expected: FAIL
-
- [underlying abort() should be called while closing if underlying close() has not started yet]
- expected: FAIL
-
- [writer close() promise should resolve before abort() promise]
- expected: FAIL
-
- [writer.ready should reject on controller error without waiting for underlying write]
- expected: FAIL
-
- [writer.abort() while there is a pending write, and then finish the write with rejection]
- expected: FAIL
-
- [writer.abort(), controller.error() while there is a pending write, and then finish the write]
- expected: FAIL
-
- [controller.error(), writer.abort() while there is a pending write, and then finish the write]
- expected: FAIL
-
- [releaseLock() while aborting should reject the original closed promise]
- expected: FAIL
-
- [releaseLock() during delayed async abort() should create a new rejected closed promise]
- expected: FAIL
-
- [Closing a WritableStream and aborting it while it closes causes the stream to ignore the abort attempt]
- expected: FAIL
-
- [an abort() that happens during a write() should trigger the underlying abort() even with a close() queued]
- expected: FAIL
-
- [if a writer is created for a stream with a pending abort, its ready should be rejected with a TypeError]
- expected: FAIL
-
- [writer.abort() while there is an in-flight write, and then finish the write with rejection]
- expected: FAIL
-
- [writer.abort(), controller.error() while there is an in-flight write, and then finish the write]
- expected: FAIL
-
- [writer.abort(), controller.error() while there is an in-flight close, and then finish the close]
- expected: FAIL
-
- [controller.error(), writer.abort() while there is an in-flight write, and then finish the write]
- expected: FAIL
-
- [controller.error(), writer.abort() while there is an in-flight close, and then finish the close]
- expected: FAIL
-
- [sink abort() should not be called until sink start() is done]
- expected: FAIL
-
- [abort() promise should reject if start() errors the controller]
- expected: FAIL
-
- [stream abort() promise should reject if sink start() rejects]
- expected: FAIL
-
- [writer abort() during sink start() should replace the writer.ready promise synchronously]
- expected: FAIL
-
- [promises returned from other writer methods should be rejected when writer abort() happens during sink start()]
- expected: FAIL
-
- [abort() should be rejected with the error passed to controller.error() during pending write()]
- expected: FAIL
-
- [abort() should be rejected with the error passed to controller.error() during pending close()]
- expected: FAIL
-
- [.closed should not resolve before rejected write(); write() error should not overwrite abort() error]
- expected: FAIL
-
- [close() should reject with TypeError when abort() is first error]
- expected: FAIL
-
- [releaseLock() during delayed async abort() should reject the writer.closed promise]
- expected: FAIL
-
- [if start attempts to error the controller after abort() has been called, then it should lose]
- expected: FAIL
-
- [stream abort() promise should still resolve if sink start() rejects]
- expected: FAIL
-
- [abort() should succeed despite rejection from write]
- expected: FAIL
-
- [abort() should be rejected with the rejection returned from close()]
- expected: FAIL
-
- [a rejecting sink.write() should not prevent sink.abort() from being called]
- expected: FAIL
-
- [when start errors after stream abort(), underlying sink abort() should be called anyway]
- expected: FAIL
-
- [when calling abort() twice on the same stream, the second call should reject]
- expected: FAIL
-
- [sink abort() should not be called if stream was erroring due to controller.error() before abort() was called]
- expected: FAIL
-
- [sink abort() should not be called if stream was erroring due to bad strategy before abort() was called]
- expected: FAIL
-
- [WritableStream if sink's abort throws, the promise returned by multiple writer.abort()s is the same and rejects]
- expected: FAIL
-
- [Aborting a WritableStream puts it in an errored state with the error passed to abort()]
- expected: FAIL
-
- [Aborting a WritableStream causes any outstanding write() promises to be rejected with the reason supplied]
- expected: FAIL
-
- [close() should reject with abort reason why abort() is first error]
- expected: FAIL
-
- [if a writer is created for a stream with a pending abort, its ready should be rejected with the abort error]
- expected: FAIL
-
- [when calling abort() twice on the same stream, both should give the same promise that fulfills with undefined]
- expected: FAIL
-
- [when calling abort() twice on the same stream, but sequentially so so there's no pending abort the second time, both should fulfill with undefined]
- expected: FAIL
-
- [calling abort() on an errored stream should fulfill with undefined]
- expected: FAIL
-
- [abort with no arguments should set the stored error to undefined]
- expected: FAIL
-
- [abort with an undefined argument should set the stored error to undefined]
- expected: FAIL
-
- [abort with a string argument should set the stored error to that argument]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/aborting.serviceworker.https.html.ini b/testing/web-platform/meta/streams/writable-streams/aborting.serviceworker.https.html.ini
deleted file mode 100644
index 5a937e11f5459..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/aborting.serviceworker.https.html.ini
+++ /dev/null
@@ -1,214 +0,0 @@
-[aborting.serviceworker.https.html]
- [Aborting a WritableStream before it starts should cause the writer's unsettled ready promise to reject]
- expected: FAIL
-
- [Aborting a WritableStream should cause the writer's fulfilled ready promise to reset to a rejected one]
- expected: FAIL
-
- [abort() on a released writer rejects]
- expected: FAIL
-
- [Aborting a WritableStream immediately prevents future writes]
- expected: FAIL
-
- [Aborting a WritableStream prevents further writes after any that are in progress]
- expected: FAIL
-
- [Fulfillment value of ws.abort() call must be undefined even if the underlying sink returns a non-undefined value]
- expected: FAIL
-
- [WritableStream if sink's abort throws, the promise returned by writer.abort() rejects]
- expected: FAIL
-
- [WritableStream if sink's abort throws, the promise returned by ws.abort() rejects]
- expected: FAIL
-
- [WritableStream if sink's abort throws, for an abort performed during a write, the promise returned by ws.abort() rejects]
- expected: FAIL
-
- [Aborting a WritableStream passes through the given reason]
- expected: FAIL
-
- [Aborting a WritableStream puts it in an errored state, with a TypeError as the stored error]
- expected: FAIL
-
- [Aborting a WritableStream causes any outstanding write() promises to be rejected with a TypeError]
- expected: FAIL
-
- [Closing but then immediately aborting a WritableStream causes the stream to error]
- expected: FAIL
-
- [Closing a WritableStream and aborting it while it closes causes the stream to error]
- expected: FAIL
-
- [Aborting a WritableStream after it is closed is a no-op]
- expected: FAIL
-
- [WritableStream should NOT call underlying sink's close if no abort is supplied (historical)]
- expected: FAIL
-
- [returning a thenable from abort() should work]
- expected: FAIL
-
- [.closed should not resolve before fulfilled write()]
- expected: FAIL
-
- [.closed should not resolve before rejected write(); write() error should overwrite abort() error]
- expected: FAIL
-
- [writes should be satisfied in order when aborting]
- expected: FAIL
-
- [writes should be satisfied in order after rejected write when aborting]
- expected: FAIL
-
- [close() should use error from underlying write() on abort]
- expected: FAIL
-
- [underlying abort() should not be called until underlying write() completes]
- expected: FAIL
-
- [underlying abort() should not be called if underlying close() has started]
- expected: FAIL
-
- [if underlying close() has started and then rejects, the abort() and close() promises should reject with the underlying close rejection reason]
- expected: FAIL
-
- [underlying abort() should be called while closing if underlying close() has not started yet]
- expected: FAIL
-
- [writer close() promise should resolve before abort() promise]
- expected: FAIL
-
- [writer.ready should reject on controller error without waiting for underlying write]
- expected: FAIL
-
- [writer.abort() while there is a pending write, and then finish the write with rejection]
- expected: FAIL
-
- [writer.abort(), controller.error() while there is a pending write, and then finish the write]
- expected: FAIL
-
- [controller.error(), writer.abort() while there is a pending write, and then finish the write]
- expected: FAIL
-
- [releaseLock() while aborting should reject the original closed promise]
- expected: FAIL
-
- [releaseLock() during delayed async abort() should create a new rejected closed promise]
- expected: FAIL
-
- [Closing a WritableStream and aborting it while it closes causes the stream to ignore the abort attempt]
- expected: FAIL
-
- [an abort() that happens during a write() should trigger the underlying abort() even with a close() queued]
- expected: FAIL
-
- [if a writer is created for a stream with a pending abort, its ready should be rejected with a TypeError]
- expected: FAIL
-
- [writer.abort() while there is an in-flight write, and then finish the write with rejection]
- expected: FAIL
-
- [writer.abort(), controller.error() while there is an in-flight write, and then finish the write]
- expected: FAIL
-
- [writer.abort(), controller.error() while there is an in-flight close, and then finish the close]
- expected: FAIL
-
- [controller.error(), writer.abort() while there is an in-flight write, and then finish the write]
- expected: FAIL
-
- [controller.error(), writer.abort() while there is an in-flight close, and then finish the close]
- expected: FAIL
-
- [sink abort() should not be called until sink start() is done]
- expected: FAIL
-
- [abort() promise should reject if start() errors the controller]
- expected: FAIL
-
- [stream abort() promise should reject if sink start() rejects]
- expected: FAIL
-
- [writer abort() during sink start() should replace the writer.ready promise synchronously]
- expected: FAIL
-
- [promises returned from other writer methods should be rejected when writer abort() happens during sink start()]
- expected: FAIL
-
- [abort() should be rejected with the error passed to controller.error() during pending write()]
- expected: FAIL
-
- [abort() should be rejected with the error passed to controller.error() during pending close()]
- expected: FAIL
-
- [.closed should not resolve before rejected write(); write() error should not overwrite abort() error]
- expected: FAIL
-
- [close() should reject with TypeError when abort() is first error]
- expected: FAIL
-
- [releaseLock() during delayed async abort() should reject the writer.closed promise]
- expected: FAIL
-
- [if start attempts to error the controller after abort() has been called, then it should lose]
- expected: FAIL
-
- [stream abort() promise should still resolve if sink start() rejects]
- expected: FAIL
-
- [abort() should succeed despite rejection from write]
- expected: FAIL
-
- [abort() should be rejected with the rejection returned from close()]
- expected: FAIL
-
- [a rejecting sink.write() should not prevent sink.abort() from being called]
- expected: FAIL
-
- [when start errors after stream abort(), underlying sink abort() should be called anyway]
- expected: FAIL
-
- [when calling abort() twice on the same stream, the second call should reject]
- expected: FAIL
-
- [sink abort() should not be called if stream was erroring due to controller.error() before abort() was called]
- expected: FAIL
-
- [sink abort() should not be called if stream was erroring due to bad strategy before abort() was called]
- expected: FAIL
-
- [WritableStream if sink's abort throws, the promise returned by multiple writer.abort()s is the same and rejects]
- expected: FAIL
-
- [Aborting a WritableStream puts it in an errored state with the error passed to abort()]
- expected: FAIL
-
- [Aborting a WritableStream causes any outstanding write() promises to be rejected with the reason supplied]
- expected: FAIL
-
- [close() should reject with abort reason why abort() is first error]
- expected: FAIL
-
- [if a writer is created for a stream with a pending abort, its ready should be rejected with the abort error]
- expected: FAIL
-
- [when calling abort() twice on the same stream, both should give the same promise that fulfills with undefined]
- expected: FAIL
-
- [when calling abort() twice on the same stream, but sequentially so so there's no pending abort the second time, both should fulfill with undefined]
- expected: FAIL
-
- [calling abort() on an errored stream should fulfill with undefined]
- expected: FAIL
-
- [abort with no arguments should set the stored error to undefined]
- expected: FAIL
-
- [abort with an undefined argument should set the stored error to undefined]
- expected: FAIL
-
- [abort with a string argument should set the stored error to that argument]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/aborting.sharedworker.html.ini b/testing/web-platform/meta/streams/writable-streams/aborting.sharedworker.html.ini
deleted file mode 100644
index 01778c2b665f5..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/aborting.sharedworker.html.ini
+++ /dev/null
@@ -1,214 +0,0 @@
-[aborting.sharedworker.html]
- [Aborting a WritableStream before it starts should cause the writer's unsettled ready promise to reject]
- expected: FAIL
-
- [Aborting a WritableStream should cause the writer's fulfilled ready promise to reset to a rejected one]
- expected: FAIL
-
- [abort() on a released writer rejects]
- expected: FAIL
-
- [Aborting a WritableStream immediately prevents future writes]
- expected: FAIL
-
- [Aborting a WritableStream prevents further writes after any that are in progress]
- expected: FAIL
-
- [Fulfillment value of ws.abort() call must be undefined even if the underlying sink returns a non-undefined value]
- expected: FAIL
-
- [WritableStream if sink's abort throws, the promise returned by writer.abort() rejects]
- expected: FAIL
-
- [WritableStream if sink's abort throws, the promise returned by ws.abort() rejects]
- expected: FAIL
-
- [WritableStream if sink's abort throws, for an abort performed during a write, the promise returned by ws.abort() rejects]
- expected: FAIL
-
- [Aborting a WritableStream passes through the given reason]
- expected: FAIL
-
- [Aborting a WritableStream puts it in an errored state, with a TypeError as the stored error]
- expected: FAIL
-
- [Aborting a WritableStream causes any outstanding write() promises to be rejected with a TypeError]
- expected: FAIL
-
- [Closing but then immediately aborting a WritableStream causes the stream to error]
- expected: FAIL
-
- [Closing a WritableStream and aborting it while it closes causes the stream to error]
- expected: FAIL
-
- [Aborting a WritableStream after it is closed is a no-op]
- expected: FAIL
-
- [WritableStream should NOT call underlying sink's close if no abort is supplied (historical)]
- expected: FAIL
-
- [returning a thenable from abort() should work]
- expected: FAIL
-
- [.closed should not resolve before fulfilled write()]
- expected: FAIL
-
- [.closed should not resolve before rejected write(); write() error should overwrite abort() error]
- expected: FAIL
-
- [writes should be satisfied in order when aborting]
- expected: FAIL
-
- [writes should be satisfied in order after rejected write when aborting]
- expected: FAIL
-
- [close() should use error from underlying write() on abort]
- expected: FAIL
-
- [underlying abort() should not be called until underlying write() completes]
- expected: FAIL
-
- [underlying abort() should not be called if underlying close() has started]
- expected: FAIL
-
- [if underlying close() has started and then rejects, the abort() and close() promises should reject with the underlying close rejection reason]
- expected: FAIL
-
- [underlying abort() should be called while closing if underlying close() has not started yet]
- expected: FAIL
-
- [writer close() promise should resolve before abort() promise]
- expected: FAIL
-
- [writer.ready should reject on controller error without waiting for underlying write]
- expected: FAIL
-
- [writer.abort() while there is a pending write, and then finish the write with rejection]
- expected: FAIL
-
- [writer.abort(), controller.error() while there is a pending write, and then finish the write]
- expected: FAIL
-
- [controller.error(), writer.abort() while there is a pending write, and then finish the write]
- expected: FAIL
-
- [releaseLock() while aborting should reject the original closed promise]
- expected: FAIL
-
- [releaseLock() during delayed async abort() should create a new rejected closed promise]
- expected: FAIL
-
- [Closing a WritableStream and aborting it while it closes causes the stream to ignore the abort attempt]
- expected: FAIL
-
- [an abort() that happens during a write() should trigger the underlying abort() even with a close() queued]
- expected: FAIL
-
- [if a writer is created for a stream with a pending abort, its ready should be rejected with a TypeError]
- expected: FAIL
-
- [writer.abort() while there is an in-flight write, and then finish the write with rejection]
- expected: FAIL
-
- [writer.abort(), controller.error() while there is an in-flight write, and then finish the write]
- expected: FAIL
-
- [writer.abort(), controller.error() while there is an in-flight close, and then finish the close]
- expected: FAIL
-
- [controller.error(), writer.abort() while there is an in-flight write, and then finish the write]
- expected: FAIL
-
- [controller.error(), writer.abort() while there is an in-flight close, and then finish the close]
- expected: FAIL
-
- [sink abort() should not be called until sink start() is done]
- expected: FAIL
-
- [abort() promise should reject if start() errors the controller]
- expected: FAIL
-
- [stream abort() promise should reject if sink start() rejects]
- expected: FAIL
-
- [writer abort() during sink start() should replace the writer.ready promise synchronously]
- expected: FAIL
-
- [promises returned from other writer methods should be rejected when writer abort() happens during sink start()]
- expected: FAIL
-
- [abort() should be rejected with the error passed to controller.error() during pending write()]
- expected: FAIL
-
- [abort() should be rejected with the error passed to controller.error() during pending close()]
- expected: FAIL
-
- [.closed should not resolve before rejected write(); write() error should not overwrite abort() error]
- expected: FAIL
-
- [close() should reject with TypeError when abort() is first error]
- expected: FAIL
-
- [releaseLock() during delayed async abort() should reject the writer.closed promise]
- expected: FAIL
-
- [if start attempts to error the controller after abort() has been called, then it should lose]
- expected: FAIL
-
- [stream abort() promise should still resolve if sink start() rejects]
- expected: FAIL
-
- [abort() should succeed despite rejection from write]
- expected: FAIL
-
- [abort() should be rejected with the rejection returned from close()]
- expected: FAIL
-
- [a rejecting sink.write() should not prevent sink.abort() from being called]
- expected: FAIL
-
- [when start errors after stream abort(), underlying sink abort() should be called anyway]
- expected: FAIL
-
- [when calling abort() twice on the same stream, the second call should reject]
- expected: FAIL
-
- [sink abort() should not be called if stream was erroring due to controller.error() before abort() was called]
- expected: FAIL
-
- [sink abort() should not be called if stream was erroring due to bad strategy before abort() was called]
- expected: FAIL
-
- [WritableStream if sink's abort throws, the promise returned by multiple writer.abort()s is the same and rejects]
- expected: FAIL
-
- [Aborting a WritableStream puts it in an errored state with the error passed to abort()]
- expected: FAIL
-
- [Aborting a WritableStream causes any outstanding write() promises to be rejected with the reason supplied]
- expected: FAIL
-
- [close() should reject with abort reason why abort() is first error]
- expected: FAIL
-
- [if a writer is created for a stream with a pending abort, its ready should be rejected with the abort error]
- expected: FAIL
-
- [when calling abort() twice on the same stream, both should give the same promise that fulfills with undefined]
- expected: FAIL
-
- [when calling abort() twice on the same stream, but sequentially so so there's no pending abort the second time, both should fulfill with undefined]
- expected: FAIL
-
- [calling abort() on an errored stream should fulfill with undefined]
- expected: FAIL
-
- [abort with no arguments should set the stored error to undefined]
- expected: FAIL
-
- [abort with an undefined argument should set the stored error to undefined]
- expected: FAIL
-
- [abort with a string argument should set the stored error to that argument]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/bad-strategies.any.js.ini b/testing/web-platform/meta/streams/writable-streams/bad-strategies.any.js.ini
new file mode 100644
index 0000000000000..3dea17eb49464
--- /dev/null
+++ b/testing/web-platform/meta/streams/writable-streams/bad-strategies.any.js.ini
@@ -0,0 +1,91 @@
+[bad-strategies.any.worker.html]
+ [reject any non-function value for strategy.size]
+ expected: FAIL
+
+ [Writable stream: invalid strategy.size return value]
+ expected: FAIL
+
+ [Writable stream: invalid strategy.highWaterMark]
+ expected: FAIL
+
+ [Writable stream: throwing strategy.highWaterMark getter]
+ expected: FAIL
+
+ [Writable stream: throwing strategy.size method]
+ expected: FAIL
+
+ [Writable stream: invalid size beats invalid highWaterMark]
+ expected: FAIL
+
+ [Writable stream: throwing strategy.size getter]
+ expected: FAIL
+
+
+[bad-strategies.any.serviceworker.html]
+ [reject any non-function value for strategy.size]
+ expected: FAIL
+
+ [Writable stream: invalid strategy.size return value]
+ expected: FAIL
+
+ [Writable stream: invalid strategy.highWaterMark]
+ expected: FAIL
+
+ [Writable stream: throwing strategy.highWaterMark getter]
+ expected: FAIL
+
+ [Writable stream: throwing strategy.size method]
+ expected: FAIL
+
+ [Writable stream: invalid size beats invalid highWaterMark]
+ expected: FAIL
+
+ [Writable stream: throwing strategy.size getter]
+ expected: FAIL
+
+
+[bad-strategies.any.html]
+ [reject any non-function value for strategy.size]
+ expected: FAIL
+
+ [Writable stream: invalid strategy.size return value]
+ expected: FAIL
+
+ [Writable stream: invalid strategy.highWaterMark]
+ expected: FAIL
+
+ [Writable stream: throwing strategy.highWaterMark getter]
+ expected: FAIL
+
+ [Writable stream: throwing strategy.size method]
+ expected: FAIL
+
+ [Writable stream: invalid size beats invalid highWaterMark]
+ expected: FAIL
+
+ [Writable stream: throwing strategy.size getter]
+ expected: FAIL
+
+
+[bad-strategies.any.sharedworker.html]
+ [reject any non-function value for strategy.size]
+ expected: FAIL
+
+ [Writable stream: invalid strategy.size return value]
+ expected: FAIL
+
+ [Writable stream: invalid strategy.highWaterMark]
+ expected: FAIL
+
+ [Writable stream: throwing strategy.highWaterMark getter]
+ expected: FAIL
+
+ [Writable stream: throwing strategy.size method]
+ expected: FAIL
+
+ [Writable stream: invalid size beats invalid highWaterMark]
+ expected: FAIL
+
+ [Writable stream: throwing strategy.size getter]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/streams/writable-streams/bad-strategies.dedicatedworker.html.ini b/testing/web-platform/meta/streams/writable-streams/bad-strategies.dedicatedworker.html.ini
deleted file mode 100644
index d152225da9635..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/bad-strategies.dedicatedworker.html.ini
+++ /dev/null
@@ -1,22 +0,0 @@
-[bad-strategies.dedicatedworker.html]
- [Writable stream: throwing strategy.size getter]
- expected: FAIL
-
- [reject any non-function value for strategy.size]
- expected: FAIL
-
- [Writable stream: throwing strategy.highWaterMark getter]
- expected: FAIL
-
- [Writable stream: invalid strategy.highWaterMark]
- expected: FAIL
-
- [Writable stream: throwing strategy.size method]
- expected: FAIL
-
- [Writable stream: invalid strategy.size return value]
- expected: FAIL
-
- [Writable stream: invalid size beats invalid highWaterMark]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/bad-strategies.html.ini b/testing/web-platform/meta/streams/writable-streams/bad-strategies.html.ini
deleted file mode 100644
index 1ef7dbdf78a89..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/bad-strategies.html.ini
+++ /dev/null
@@ -1,22 +0,0 @@
-[bad-strategies.html]
- [Writable stream: throwing strategy.size getter]
- expected: FAIL
-
- [reject any non-function value for strategy.size]
- expected: FAIL
-
- [Writable stream: throwing strategy.highWaterMark getter]
- expected: FAIL
-
- [Writable stream: invalid strategy.highWaterMark]
- expected: FAIL
-
- [Writable stream: throwing strategy.size method]
- expected: FAIL
-
- [Writable stream: invalid strategy.size return value]
- expected: FAIL
-
- [Writable stream: invalid size beats invalid highWaterMark]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/bad-strategies.serviceworker.https.html.ini b/testing/web-platform/meta/streams/writable-streams/bad-strategies.serviceworker.https.html.ini
deleted file mode 100644
index fd926ebbe4c5e..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/bad-strategies.serviceworker.https.html.ini
+++ /dev/null
@@ -1,22 +0,0 @@
-[bad-strategies.serviceworker.https.html]
- [Writable stream: throwing strategy.size getter]
- expected: FAIL
-
- [reject any non-function value for strategy.size]
- expected: FAIL
-
- [Writable stream: throwing strategy.highWaterMark getter]
- expected: FAIL
-
- [Writable stream: invalid strategy.highWaterMark]
- expected: FAIL
-
- [Writable stream: throwing strategy.size method]
- expected: FAIL
-
- [Writable stream: invalid strategy.size return value]
- expected: FAIL
-
- [Writable stream: invalid size beats invalid highWaterMark]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/bad-strategies.sharedworker.html.ini b/testing/web-platform/meta/streams/writable-streams/bad-strategies.sharedworker.html.ini
deleted file mode 100644
index ac7a50eb7df1f..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/bad-strategies.sharedworker.html.ini
+++ /dev/null
@@ -1,22 +0,0 @@
-[bad-strategies.sharedworker.html]
- [Writable stream: throwing strategy.size getter]
- expected: FAIL
-
- [reject any non-function value for strategy.size]
- expected: FAIL
-
- [Writable stream: throwing strategy.highWaterMark getter]
- expected: FAIL
-
- [Writable stream: invalid strategy.highWaterMark]
- expected: FAIL
-
- [Writable stream: throwing strategy.size method]
- expected: FAIL
-
- [Writable stream: invalid strategy.size return value]
- expected: FAIL
-
- [Writable stream: invalid size beats invalid highWaterMark]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/bad-underlying-sinks.any.js.ini b/testing/web-platform/meta/streams/writable-streams/bad-underlying-sinks.any.js.ini
new file mode 100644
index 0000000000000..9973ce3992d91
--- /dev/null
+++ b/testing/web-platform/meta/streams/writable-streams/bad-underlying-sinks.any.js.ini
@@ -0,0 +1,139 @@
+[bad-underlying-sinks.any.worker.html]
+ [write: returning a promise that becomes rejected after the writer write() should cause writer write() and ready to reject]
+ expected: FAIL
+
+ [abort: non-function abort method with .apply]
+ expected: FAIL
+
+ [write: throwing method should cause write() and closed to reject]
+ expected: FAIL
+
+ [close: throwing getter should cause constructor to throw]
+ expected: FAIL
+
+ [close: returning a rejected promise should cause writer close() and ready to reject]
+ expected: FAIL
+
+ [close: throwing method should cause writer close() and ready to reject]
+ expected: FAIL
+
+ [write: returning a rejected promise (second write) should cause writer write() and ready to reject]
+ expected: FAIL
+
+ [abort: throwing getter should cause abort() and closed to reject]
+ expected: FAIL
+
+ [write: throwing getter should cause write() and closed to reject]
+ expected: FAIL
+
+ [start: errors in start cause WritableStream constructor to throw]
+ expected: FAIL
+
+ [abort: throwing method should cause abort() and closed to reject]
+ expected: FAIL
+
+
+[bad-underlying-sinks.any.sharedworker.html]
+ [write: returning a promise that becomes rejected after the writer write() should cause writer write() and ready to reject]
+ expected: FAIL
+
+ [abort: non-function abort method with .apply]
+ expected: FAIL
+
+ [write: throwing method should cause write() and closed to reject]
+ expected: FAIL
+
+ [close: throwing getter should cause constructor to throw]
+ expected: FAIL
+
+ [close: returning a rejected promise should cause writer close() and ready to reject]
+ expected: FAIL
+
+ [close: throwing method should cause writer close() and ready to reject]
+ expected: FAIL
+
+ [write: returning a rejected promise (second write) should cause writer write() and ready to reject]
+ expected: FAIL
+
+ [abort: throwing getter should cause abort() and closed to reject]
+ expected: FAIL
+
+ [write: throwing getter should cause write() and closed to reject]
+ expected: FAIL
+
+ [start: errors in start cause WritableStream constructor to throw]
+ expected: FAIL
+
+ [abort: throwing method should cause abort() and closed to reject]
+ expected: FAIL
+
+
+[bad-underlying-sinks.any.html]
+ [write: returning a promise that becomes rejected after the writer write() should cause writer write() and ready to reject]
+ expected: FAIL
+
+ [abort: non-function abort method with .apply]
+ expected: FAIL
+
+ [write: throwing method should cause write() and closed to reject]
+ expected: FAIL
+
+ [close: throwing getter should cause constructor to throw]
+ expected: FAIL
+
+ [close: returning a rejected promise should cause writer close() and ready to reject]
+ expected: FAIL
+
+ [close: throwing method should cause writer close() and ready to reject]
+ expected: FAIL
+
+ [write: returning a rejected promise (second write) should cause writer write() and ready to reject]
+ expected: FAIL
+
+ [abort: throwing getter should cause abort() and closed to reject]
+ expected: FAIL
+
+ [write: throwing getter should cause write() and closed to reject]
+ expected: FAIL
+
+ [start: errors in start cause WritableStream constructor to throw]
+ expected: FAIL
+
+ [abort: throwing method should cause abort() and closed to reject]
+ expected: FAIL
+
+
+[bad-underlying-sinks.any.serviceworker.html]
+ [write: returning a promise that becomes rejected after the writer write() should cause writer write() and ready to reject]
+ expected: FAIL
+
+ [abort: non-function abort method with .apply]
+ expected: FAIL
+
+ [write: throwing method should cause write() and closed to reject]
+ expected: FAIL
+
+ [close: throwing getter should cause constructor to throw]
+ expected: FAIL
+
+ [close: returning a rejected promise should cause writer close() and ready to reject]
+ expected: FAIL
+
+ [close: throwing method should cause writer close() and ready to reject]
+ expected: FAIL
+
+ [write: returning a rejected promise (second write) should cause writer write() and ready to reject]
+ expected: FAIL
+
+ [abort: throwing getter should cause abort() and closed to reject]
+ expected: FAIL
+
+ [write: throwing getter should cause write() and closed to reject]
+ expected: FAIL
+
+ [start: errors in start cause WritableStream constructor to throw]
+ expected: FAIL
+
+ [abort: throwing method should cause abort() and closed to reject]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/streams/writable-streams/bad-underlying-sinks.dedicatedworker.html.ini b/testing/web-platform/meta/streams/writable-streams/bad-underlying-sinks.dedicatedworker.html.ini
deleted file mode 100644
index 2c4ea9a7e576e..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/bad-underlying-sinks.dedicatedworker.html.ini
+++ /dev/null
@@ -1,37 +0,0 @@
-[bad-underlying-sinks.dedicatedworker.html]
- [start: errors in start cause WritableStream constructor to throw]
- expected: FAIL
-
- [close: throwing method should cause writer close() and ready to reject]
- expected: FAIL
-
- [close: returning a rejected promise should cause writer close() and ready to reject]
- expected: FAIL
-
- [close: throwing getter should cause writer close() to reject]
- expected: FAIL
-
- [write: throwing getter should cause write() and closed to reject]
- expected: FAIL
-
- [write: throwing method should cause write() and closed to reject]
- expected: FAIL
-
- [write: returning a promise that becomes rejected after the writer write() should cause writer write() and ready to reject]
- expected: FAIL
-
- [write: returning a rejected promise (second write) should cause writer write() and ready to reject]
- expected: FAIL
-
- [abort: non-function abort method with .apply]
- expected: FAIL
-
- [abort: throwing getter should cause abort() and closed to reject]
- expected: FAIL
-
- [abort: throwing method should cause abort() and closed to reject]
- expected: FAIL
-
- [close: throwing getter should cause constructor to throw]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/bad-underlying-sinks.html.ini b/testing/web-platform/meta/streams/writable-streams/bad-underlying-sinks.html.ini
deleted file mode 100644
index 56cf914130391..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/bad-underlying-sinks.html.ini
+++ /dev/null
@@ -1,37 +0,0 @@
-[bad-underlying-sinks.html]
- [start: errors in start cause WritableStream constructor to throw]
- expected: FAIL
-
- [close: throwing method should cause writer close() and ready to reject]
- expected: FAIL
-
- [close: returning a rejected promise should cause writer close() and ready to reject]
- expected: FAIL
-
- [close: throwing getter should cause writer close() to reject]
- expected: FAIL
-
- [write: throwing getter should cause write() and closed to reject]
- expected: FAIL
-
- [write: throwing method should cause write() and closed to reject]
- expected: FAIL
-
- [write: returning a promise that becomes rejected after the writer write() should cause writer write() and ready to reject]
- expected: FAIL
-
- [write: returning a rejected promise (second write) should cause writer write() and ready to reject]
- expected: FAIL
-
- [abort: non-function abort method with .apply]
- expected: FAIL
-
- [abort: throwing getter should cause abort() and closed to reject]
- expected: FAIL
-
- [abort: throwing method should cause abort() and closed to reject]
- expected: FAIL
-
- [close: throwing getter should cause constructor to throw]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/bad-underlying-sinks.serviceworker.https.html.ini b/testing/web-platform/meta/streams/writable-streams/bad-underlying-sinks.serviceworker.https.html.ini
deleted file mode 100644
index 2c0bc45d441f5..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/bad-underlying-sinks.serviceworker.https.html.ini
+++ /dev/null
@@ -1,37 +0,0 @@
-[bad-underlying-sinks.serviceworker.https.html]
- [start: errors in start cause WritableStream constructor to throw]
- expected: FAIL
-
- [close: throwing method should cause writer close() and ready to reject]
- expected: FAIL
-
- [close: returning a rejected promise should cause writer close() and ready to reject]
- expected: FAIL
-
- [close: throwing getter should cause writer close() to reject]
- expected: FAIL
-
- [write: throwing getter should cause write() and closed to reject]
- expected: FAIL
-
- [write: throwing method should cause write() and closed to reject]
- expected: FAIL
-
- [write: returning a promise that becomes rejected after the writer write() should cause writer write() and ready to reject]
- expected: FAIL
-
- [write: returning a rejected promise (second write) should cause writer write() and ready to reject]
- expected: FAIL
-
- [abort: non-function abort method with .apply]
- expected: FAIL
-
- [abort: throwing getter should cause abort() and closed to reject]
- expected: FAIL
-
- [abort: throwing method should cause abort() and closed to reject]
- expected: FAIL
-
- [close: throwing getter should cause constructor to throw]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/bad-underlying-sinks.sharedworker.html.ini b/testing/web-platform/meta/streams/writable-streams/bad-underlying-sinks.sharedworker.html.ini
deleted file mode 100644
index 950c08f8fab98..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/bad-underlying-sinks.sharedworker.html.ini
+++ /dev/null
@@ -1,37 +0,0 @@
-[bad-underlying-sinks.sharedworker.html]
- [start: errors in start cause WritableStream constructor to throw]
- expected: FAIL
-
- [close: throwing method should cause writer close() and ready to reject]
- expected: FAIL
-
- [close: returning a rejected promise should cause writer close() and ready to reject]
- expected: FAIL
-
- [close: throwing getter should cause writer close() to reject]
- expected: FAIL
-
- [write: throwing getter should cause write() and closed to reject]
- expected: FAIL
-
- [write: throwing method should cause write() and closed to reject]
- expected: FAIL
-
- [write: returning a promise that becomes rejected after the writer write() should cause writer write() and ready to reject]
- expected: FAIL
-
- [write: returning a rejected promise (second write) should cause writer write() and ready to reject]
- expected: FAIL
-
- [abort: non-function abort method with .apply]
- expected: FAIL
-
- [abort: throwing getter should cause abort() and closed to reject]
- expected: FAIL
-
- [abort: throwing method should cause abort() and closed to reject]
- expected: FAIL
-
- [close: throwing getter should cause constructor to throw]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/brand-checks.any.js.ini b/testing/web-platform/meta/streams/writable-streams/brand-checks.any.js.ini
new file mode 100644
index 0000000000000..673d57000e078
--- /dev/null
+++ b/testing/web-platform/meta/streams/writable-streams/brand-checks.any.js.ini
@@ -0,0 +1,15 @@
+[brand-checks.any.worker.html]
+ [brand-checks]
+ expected: FAIL
+
+
+[brand-checks.any.serviceworker.html]
+ expected: TIMEOUT
+
+[brand-checks.any.html]
+ [brand-checks]
+ expected: FAIL
+
+
+[brand-checks.any.sharedworker.html]
+ expected: TIMEOUT
diff --git a/testing/web-platform/meta/streams/writable-streams/brand-checks.dedicatedworker.html.ini b/testing/web-platform/meta/streams/writable-streams/brand-checks.dedicatedworker.html.ini
deleted file mode 100644
index 527cde4d2984f..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/brand-checks.dedicatedworker.html.ini
+++ /dev/null
@@ -1,7 +0,0 @@
-[brand-checks.dedicatedworker.html]
- [Untitled]
- expected: FAIL
-
- [brand-checks]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/brand-checks.html.ini b/testing/web-platform/meta/streams/writable-streams/brand-checks.html.ini
deleted file mode 100644
index c792c237c3a70..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/brand-checks.html.ini
+++ /dev/null
@@ -1,4 +0,0 @@
-[brand-checks.html]
- [brand-checks.js browser context wrapper file]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/brand-checks.serviceworker.https.html.ini b/testing/web-platform/meta/streams/writable-streams/brand-checks.serviceworker.https.html.ini
deleted file mode 100644
index 76a4dd0a11123..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/brand-checks.serviceworker.https.html.ini
+++ /dev/null
@@ -1,4 +0,0 @@
-[brand-checks.serviceworker.https.html]
- [Service worker test setup]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/brand-checks.sharedworker.html.ini b/testing/web-platform/meta/streams/writable-streams/brand-checks.sharedworker.html.ini
deleted file mode 100644
index 72c8b0ded8ad7..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/brand-checks.sharedworker.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[brand-checks.sharedworker.html]
- expected: TIMEOUT
diff --git a/testing/web-platform/meta/streams/writable-streams/byte-length-queuing-strategy.any.js.ini b/testing/web-platform/meta/streams/writable-streams/byte-length-queuing-strategy.any.js.ini
new file mode 100644
index 0000000000000..42cb638d5dacb
--- /dev/null
+++ b/testing/web-platform/meta/streams/writable-streams/byte-length-queuing-strategy.any.js.ini
@@ -0,0 +1,19 @@
+[byte-length-queuing-strategy.any.html]
+ [Closing a writable stream with in-flight writes below the high water mark delays the close call properly]
+ expected: FAIL
+
+
+[byte-length-queuing-strategy.any.worker.html]
+ [Closing a writable stream with in-flight writes below the high water mark delays the close call properly]
+ expected: FAIL
+
+
+[byte-length-queuing-strategy.any.serviceworker.html]
+ [Closing a writable stream with in-flight writes below the high water mark delays the close call properly]
+ expected: FAIL
+
+
+[byte-length-queuing-strategy.any.sharedworker.html]
+ [Closing a writable stream with in-flight writes below the high water mark delays the close call properly]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/streams/writable-streams/byte-length-queuing-strategy.dedicatedworker.html.ini b/testing/web-platform/meta/streams/writable-streams/byte-length-queuing-strategy.dedicatedworker.html.ini
deleted file mode 100644
index d8e7f0e799f56..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/byte-length-queuing-strategy.dedicatedworker.html.ini
+++ /dev/null
@@ -1,4 +0,0 @@
-[byte-length-queuing-strategy.dedicatedworker.html]
- [Closing a writable stream with in-flight writes below the high water mark delays the close call properly]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/byte-length-queuing-strategy.html.ini b/testing/web-platform/meta/streams/writable-streams/byte-length-queuing-strategy.html.ini
deleted file mode 100644
index d14690f7d3613..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/byte-length-queuing-strategy.html.ini
+++ /dev/null
@@ -1,4 +0,0 @@
-[byte-length-queuing-strategy.html]
- [Closing a writable stream with in-flight writes below the high water mark delays the close call properly]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/byte-length-queuing-strategy.serviceworker.https.html.ini b/testing/web-platform/meta/streams/writable-streams/byte-length-queuing-strategy.serviceworker.https.html.ini
deleted file mode 100644
index 14e8397cd585e..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/byte-length-queuing-strategy.serviceworker.https.html.ini
+++ /dev/null
@@ -1,4 +0,0 @@
-[byte-length-queuing-strategy.serviceworker.https.html]
- [Closing a writable stream with in-flight writes below the high water mark delays the close call properly]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/byte-length-queuing-strategy.sharedworker.html.ini b/testing/web-platform/meta/streams/writable-streams/byte-length-queuing-strategy.sharedworker.html.ini
deleted file mode 100644
index 1c83e7f8da05c..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/byte-length-queuing-strategy.sharedworker.html.ini
+++ /dev/null
@@ -1,4 +0,0 @@
-[byte-length-queuing-strategy.sharedworker.html]
- [Closing a writable stream with in-flight writes below the high water mark delays the close call properly]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/close.any.js.ini b/testing/web-platform/meta/streams/writable-streams/close.any.js.ini
new file mode 100644
index 0000000000000..1797b4ca0b6b9
--- /dev/null
+++ b/testing/web-platform/meta/streams/writable-streams/close.any.js.ini
@@ -0,0 +1,223 @@
+[close.any.serviceworker.html]
+ [releaseLock() should not change the result of async close()]
+ expected: FAIL
+
+ [promises must fulfill/reject in the expected order on closure]
+ expected: FAIL
+
+ [when sink calls error asynchronously while sink close is in-flight, the stream should not become errored]
+ expected: FAIL
+
+ [releaseLock on a stream with a pending write in which the stream has been errored]
+ expected: FAIL
+
+ [the promise returned by async abort during close should resolve]
+ expected: FAIL
+
+ [releaseLock() should not change the result of sync close()]
+ expected: FAIL
+
+ [when close is called on a WritableStream in writable state, ready should return a fulfilled promise]
+ expected: FAIL
+
+ [releaseLock on a stream with a pending close in which controller.error() was called]
+ expected: FAIL
+
+ [close() should set state to CLOSED even if writer has detached]
+ expected: FAIL
+
+ [promises must fulfill/reject in the expected order on aborted closure]
+ expected: FAIL
+
+ [returning a thenable from close() should work]
+ expected: FAIL
+
+ [when the sink throws during close, and the close is requested while a write is still in-flight, the stream should become errored during the close]
+ expected: FAIL
+
+ [when close is called on a WritableStream in waiting state, ready promise should be fulfilled]
+ expected: FAIL
+
+ [when sink calls error synchronously while closing, the stream should not become errored]
+ expected: FAIL
+
+ [fulfillment value of ws.close() call must be undefined even if the underlying sink returns a non-undefined value]
+ expected: FAIL
+
+ [promises must fulfill/reject in the expected order on aborted and errored closure]
+ expected: FAIL
+
+ [close() should not reject until no sink methods are in flight]
+ expected: FAIL
+
+ [when close is called on a WritableStream in waiting state, ready should be fulfilled immediately even if close takes a long time]
+ expected: FAIL
+
+
+[close.any.sharedworker.html]
+ [releaseLock() should not change the result of async close()]
+ expected: FAIL
+
+ [promises must fulfill/reject in the expected order on closure]
+ expected: FAIL
+
+ [when sink calls error asynchronously while sink close is in-flight, the stream should not become errored]
+ expected: FAIL
+
+ [releaseLock on a stream with a pending write in which the stream has been errored]
+ expected: FAIL
+
+ [the promise returned by async abort during close should resolve]
+ expected: FAIL
+
+ [releaseLock() should not change the result of sync close()]
+ expected: FAIL
+
+ [when close is called on a WritableStream in writable state, ready should return a fulfilled promise]
+ expected: FAIL
+
+ [releaseLock on a stream with a pending close in which controller.error() was called]
+ expected: FAIL
+
+ [close() should set state to CLOSED even if writer has detached]
+ expected: FAIL
+
+ [promises must fulfill/reject in the expected order on aborted closure]
+ expected: FAIL
+
+ [returning a thenable from close() should work]
+ expected: FAIL
+
+ [when the sink throws during close, and the close is requested while a write is still in-flight, the stream should become errored during the close]
+ expected: FAIL
+
+ [when close is called on a WritableStream in waiting state, ready promise should be fulfilled]
+ expected: FAIL
+
+ [when sink calls error synchronously while closing, the stream should not become errored]
+ expected: FAIL
+
+ [fulfillment value of ws.close() call must be undefined even if the underlying sink returns a non-undefined value]
+ expected: FAIL
+
+ [promises must fulfill/reject in the expected order on aborted and errored closure]
+ expected: FAIL
+
+ [close() should not reject until no sink methods are in flight]
+ expected: FAIL
+
+ [when close is called on a WritableStream in waiting state, ready should be fulfilled immediately even if close takes a long time]
+ expected: FAIL
+
+
+[close.any.html]
+ [releaseLock() should not change the result of async close()]
+ expected: FAIL
+
+ [promises must fulfill/reject in the expected order on closure]
+ expected: FAIL
+
+ [when sink calls error asynchronously while sink close is in-flight, the stream should not become errored]
+ expected: FAIL
+
+ [releaseLock on a stream with a pending write in which the stream has been errored]
+ expected: FAIL
+
+ [the promise returned by async abort during close should resolve]
+ expected: FAIL
+
+ [releaseLock() should not change the result of sync close()]
+ expected: FAIL
+
+ [when close is called on a WritableStream in writable state, ready should return a fulfilled promise]
+ expected: FAIL
+
+ [releaseLock on a stream with a pending close in which controller.error() was called]
+ expected: FAIL
+
+ [close() should set state to CLOSED even if writer has detached]
+ expected: FAIL
+
+ [promises must fulfill/reject in the expected order on aborted closure]
+ expected: FAIL
+
+ [returning a thenable from close() should work]
+ expected: FAIL
+
+ [when the sink throws during close, and the close is requested while a write is still in-flight, the stream should become errored during the close]
+ expected: FAIL
+
+ [when close is called on a WritableStream in waiting state, ready promise should be fulfilled]
+ expected: FAIL
+
+ [when sink calls error synchronously while closing, the stream should not become errored]
+ expected: FAIL
+
+ [fulfillment value of ws.close() call must be undefined even if the underlying sink returns a non-undefined value]
+ expected: FAIL
+
+ [promises must fulfill/reject in the expected order on aborted and errored closure]
+ expected: FAIL
+
+ [close() should not reject until no sink methods are in flight]
+ expected: FAIL
+
+ [when close is called on a WritableStream in waiting state, ready should be fulfilled immediately even if close takes a long time]
+ expected: FAIL
+
+
+[close.any.worker.html]
+ [releaseLock() should not change the result of async close()]
+ expected: FAIL
+
+ [promises must fulfill/reject in the expected order on closure]
+ expected: FAIL
+
+ [when sink calls error asynchronously while sink close is in-flight, the stream should not become errored]
+ expected: FAIL
+
+ [releaseLock on a stream with a pending write in which the stream has been errored]
+ expected: FAIL
+
+ [the promise returned by async abort during close should resolve]
+ expected: FAIL
+
+ [releaseLock() should not change the result of sync close()]
+ expected: FAIL
+
+ [when close is called on a WritableStream in writable state, ready should return a fulfilled promise]
+ expected: FAIL
+
+ [releaseLock on a stream with a pending close in which controller.error() was called]
+ expected: FAIL
+
+ [close() should set state to CLOSED even if writer has detached]
+ expected: FAIL
+
+ [promises must fulfill/reject in the expected order on aborted closure]
+ expected: FAIL
+
+ [returning a thenable from close() should work]
+ expected: FAIL
+
+ [when the sink throws during close, and the close is requested while a write is still in-flight, the stream should become errored during the close]
+ expected: FAIL
+
+ [when close is called on a WritableStream in waiting state, ready promise should be fulfilled]
+ expected: FAIL
+
+ [when sink calls error synchronously while closing, the stream should not become errored]
+ expected: FAIL
+
+ [fulfillment value of ws.close() call must be undefined even if the underlying sink returns a non-undefined value]
+ expected: FAIL
+
+ [promises must fulfill/reject in the expected order on aborted and errored closure]
+ expected: FAIL
+
+ [close() should not reject until no sink methods are in flight]
+ expected: FAIL
+
+ [when close is called on a WritableStream in waiting state, ready should be fulfilled immediately even if close takes a long time]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/streams/writable-streams/close.dedicatedworker.html.ini b/testing/web-platform/meta/streams/writable-streams/close.dedicatedworker.html.ini
deleted file mode 100644
index 8305a94bee779..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/close.dedicatedworker.html.ini
+++ /dev/null
@@ -1,64 +0,0 @@
-[close.dedicatedworker.html]
- [fulfillment value of ws.close() call must be undefined even if the underlying sink returns a non-undefined value]
- expected: FAIL
-
- [when sink calls error asynchronously while closing, the stream should become errored]
- expected: FAIL
-
- [when sink calls error synchronously while closing, the stream should become errored]
- expected: FAIL
-
- [releaseLock on a stream with a pending write in which the stream has been errored]
- expected: FAIL
-
- [releaseLock on a stream with a pending close in which the stream has been errored]
- expected: FAIL
-
- [when close is called on a WritableStream in writable state, ready should return a fulfilled promise]
- expected: FAIL
-
- [when close is called on a WritableStream in waiting state, ready promise should be fulfilled]
- expected: FAIL
-
- [when close is called on a WritableStream in waiting state, ready should be fulfilled immediately even if close takes a long time]
- expected: FAIL
-
- [returning a thenable from close() should work]
- expected: FAIL
-
- [releaseLock() should not change the result of sync close()]
- expected: FAIL
-
- [releaseLock() should not change the result of async close()]
- expected: FAIL
-
- [close() should set state to CLOSED even if writer has detached]
- expected: FAIL
-
- [the promise returned by async abort during close should resolve]
- expected: FAIL
-
- [promises must fulfill/reject in the expected order on closure]
- expected: FAIL
-
- [promises must fulfill/reject in the expected order on aborted closure]
- expected: FAIL
-
- [promises must fulfill/reject in the expected order on aborted and errored closure]
- expected: FAIL
-
- [when the sink throws during close, and the close is requested while a write is still in-flight, the stream should become errored during the close]
- expected: FAIL
-
- [when sink calls error asynchronously while sink close is in-flight, the stream should not become errored]
- expected: FAIL
-
- [when sink calls error synchronously while closing, the stream should not become errored]
- expected: FAIL
-
- [releaseLock on a stream with a pending close in which controller.error() was called]
- expected: FAIL
-
- [close() should not reject until no sink methods are in flight]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/close.html.ini b/testing/web-platform/meta/streams/writable-streams/close.html.ini
deleted file mode 100644
index d8a53cf4d5f95..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/close.html.ini
+++ /dev/null
@@ -1,64 +0,0 @@
-[close.html]
- [fulfillment value of ws.close() call must be undefined even if the underlying sink returns a non-undefined value]
- expected: FAIL
-
- [when sink calls error asynchronously while closing, the stream should become errored]
- expected: FAIL
-
- [when sink calls error synchronously while closing, the stream should become errored]
- expected: FAIL
-
- [releaseLock on a stream with a pending write in which the stream has been errored]
- expected: FAIL
-
- [releaseLock on a stream with a pending close in which the stream has been errored]
- expected: FAIL
-
- [when close is called on a WritableStream in writable state, ready should return a fulfilled promise]
- expected: FAIL
-
- [when close is called on a WritableStream in waiting state, ready promise should be fulfilled]
- expected: FAIL
-
- [when close is called on a WritableStream in waiting state, ready should be fulfilled immediately even if close takes a long time]
- expected: FAIL
-
- [returning a thenable from close() should work]
- expected: FAIL
-
- [releaseLock() should not change the result of sync close()]
- expected: FAIL
-
- [releaseLock() should not change the result of async close()]
- expected: FAIL
-
- [close() should set state to CLOSED even if writer has detached]
- expected: FAIL
-
- [the promise returned by async abort during close should resolve]
- expected: FAIL
-
- [promises must fulfill/reject in the expected order on closure]
- expected: FAIL
-
- [promises must fulfill/reject in the expected order on aborted closure]
- expected: FAIL
-
- [promises must fulfill/reject in the expected order on aborted and errored closure]
- expected: FAIL
-
- [when the sink throws during close, and the close is requested while a write is still in-flight, the stream should become errored during the close]
- expected: FAIL
-
- [when sink calls error asynchronously while sink close is in-flight, the stream should not become errored]
- expected: FAIL
-
- [when sink calls error synchronously while closing, the stream should not become errored]
- expected: FAIL
-
- [releaseLock on a stream with a pending close in which controller.error() was called]
- expected: FAIL
-
- [close() should not reject until no sink methods are in flight]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/close.serviceworker.https.html.ini b/testing/web-platform/meta/streams/writable-streams/close.serviceworker.https.html.ini
deleted file mode 100644
index 70b0891f65db9..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/close.serviceworker.https.html.ini
+++ /dev/null
@@ -1,64 +0,0 @@
-[close.serviceworker.https.html]
- [fulfillment value of ws.close() call must be undefined even if the underlying sink returns a non-undefined value]
- expected: FAIL
-
- [when sink calls error asynchronously while closing, the stream should become errored]
- expected: FAIL
-
- [when sink calls error synchronously while closing, the stream should become errored]
- expected: FAIL
-
- [releaseLock on a stream with a pending write in which the stream has been errored]
- expected: FAIL
-
- [releaseLock on a stream with a pending close in which the stream has been errored]
- expected: FAIL
-
- [when close is called on a WritableStream in writable state, ready should return a fulfilled promise]
- expected: FAIL
-
- [when close is called on a WritableStream in waiting state, ready promise should be fulfilled]
- expected: FAIL
-
- [when close is called on a WritableStream in waiting state, ready should be fulfilled immediately even if close takes a long time]
- expected: FAIL
-
- [returning a thenable from close() should work]
- expected: FAIL
-
- [releaseLock() should not change the result of sync close()]
- expected: FAIL
-
- [releaseLock() should not change the result of async close()]
- expected: FAIL
-
- [close() should set state to CLOSED even if writer has detached]
- expected: FAIL
-
- [the promise returned by async abort during close should resolve]
- expected: FAIL
-
- [promises must fulfill/reject in the expected order on closure]
- expected: FAIL
-
- [promises must fulfill/reject in the expected order on aborted closure]
- expected: FAIL
-
- [promises must fulfill/reject in the expected order on aborted and errored closure]
- expected: FAIL
-
- [when the sink throws during close, and the close is requested while a write is still in-flight, the stream should become errored during the close]
- expected: FAIL
-
- [when sink calls error asynchronously while sink close is in-flight, the stream should not become errored]
- expected: FAIL
-
- [when sink calls error synchronously while closing, the stream should not become errored]
- expected: FAIL
-
- [releaseLock on a stream with a pending close in which controller.error() was called]
- expected: FAIL
-
- [close() should not reject until no sink methods are in flight]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/close.sharedworker.html.ini b/testing/web-platform/meta/streams/writable-streams/close.sharedworker.html.ini
deleted file mode 100644
index 5e190cb713c6d..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/close.sharedworker.html.ini
+++ /dev/null
@@ -1,64 +0,0 @@
-[close.sharedworker.html]
- [fulfillment value of ws.close() call must be undefined even if the underlying sink returns a non-undefined value]
- expected: FAIL
-
- [when sink calls error asynchronously while closing, the stream should become errored]
- expected: FAIL
-
- [when sink calls error synchronously while closing, the stream should become errored]
- expected: FAIL
-
- [releaseLock on a stream with a pending write in which the stream has been errored]
- expected: FAIL
-
- [releaseLock on a stream with a pending close in which the stream has been errored]
- expected: FAIL
-
- [when close is called on a WritableStream in writable state, ready should return a fulfilled promise]
- expected: FAIL
-
- [when close is called on a WritableStream in waiting state, ready promise should be fulfilled]
- expected: FAIL
-
- [when close is called on a WritableStream in waiting state, ready should be fulfilled immediately even if close takes a long time]
- expected: FAIL
-
- [returning a thenable from close() should work]
- expected: FAIL
-
- [releaseLock() should not change the result of sync close()]
- expected: FAIL
-
- [releaseLock() should not change the result of async close()]
- expected: FAIL
-
- [close() should set state to CLOSED even if writer has detached]
- expected: FAIL
-
- [the promise returned by async abort during close should resolve]
- expected: FAIL
-
- [promises must fulfill/reject in the expected order on closure]
- expected: FAIL
-
- [promises must fulfill/reject in the expected order on aborted closure]
- expected: FAIL
-
- [promises must fulfill/reject in the expected order on aborted and errored closure]
- expected: FAIL
-
- [when the sink throws during close, and the close is requested while a write is still in-flight, the stream should become errored during the close]
- expected: FAIL
-
- [when sink calls error asynchronously while sink close is in-flight, the stream should not become errored]
- expected: FAIL
-
- [when sink calls error synchronously while closing, the stream should not become errored]
- expected: FAIL
-
- [releaseLock on a stream with a pending close in which controller.error() was called]
- expected: FAIL
-
- [close() should not reject until no sink methods are in flight]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/constructor.any.js.ini b/testing/web-platform/meta/streams/writable-streams/constructor.any.js.ini
new file mode 100644
index 0000000000000..9c3e654bec28c
--- /dev/null
+++ b/testing/web-platform/meta/streams/writable-streams/constructor.any.js.ini
@@ -0,0 +1,319 @@
+[constructor.any.serviceworker.html]
+ [WritableStreamDefaultController constructor should throw]
+ expected: FAIL
+
+ [WritableStream constructor should stop after get on write fails]
+ expected: FAIL
+
+ [controller argument should be passed to write method]
+ expected: FAIL
+
+ [WritableStream constructor should stop after get on close fails]
+ expected: FAIL
+
+ [controller argument should not be passed to close method]
+ expected: FAIL
+
+ [WritableStream constructor should stop after tonumber on highWaterMark fails]
+ expected: FAIL
+
+ [WritableStream constructor should stop after validate on start fails]
+ expected: FAIL
+
+ [WritableStream constructor should stop after get on size fails]
+ expected: FAIL
+
+ [highWaterMark should be reflected to desiredSize]
+ expected: FAIL
+
+ [WritableStream constructor should stop after validate on type fails]
+ expected: FAIL
+
+ [WritableStream constructor should stop after get on start fails]
+ expected: FAIL
+
+ [WritableStream should be constructible with no arguments]
+ expected: FAIL
+
+ [WritableStream constructor should stop after validate on highWaterMark fails]
+ expected: FAIL
+
+ [WritableStream constructor should stop after validate on close fails]
+ expected: FAIL
+
+ [controller argument should be passed to start method]
+ expected: FAIL
+
+ [WritableStreamDefaultWriter should throw unless passed a WritableStream]
+ expected: FAIL
+
+ [WritableStream constructor should stop after get on highWaterMark fails]
+ expected: FAIL
+
+ [WritableStream constructor should stop after get on type fails]
+ expected: FAIL
+
+ [WritableStream constructor should stop after validate on size fails]
+ expected: FAIL
+
+ [WritableStreamDefaultWriter constructor should throw when stream argument is locked]
+ expected: FAIL
+
+ [WritableStream constructor should stop after validate on write fails]
+ expected: FAIL
+
+ [WritableStream constructor should stop after validate on abort fails]
+ expected: FAIL
+
+ [WritableStream should be writable and ready should fulfill immediately if the strategy does not apply backpressure]
+ expected: FAIL
+
+ [WritableStreamDefaultController constructor should throw when passed an initialised WritableStream]
+ expected: FAIL
+
+ [WritableStream constructor should stop after get on abort fails]
+ expected: FAIL
+
+ [WritableStream instances should have standard methods and properties]
+ expected: FAIL
+
+
+[constructor.any.html]
+ [WritableStreamDefaultController constructor should throw]
+ expected: FAIL
+
+ [WritableStream constructor should stop after get on write fails]
+ expected: FAIL
+
+ [controller argument should be passed to write method]
+ expected: FAIL
+
+ [WritableStream constructor should stop after get on close fails]
+ expected: FAIL
+
+ [controller argument should not be passed to close method]
+ expected: FAIL
+
+ [WritableStream constructor should stop after tonumber on highWaterMark fails]
+ expected: FAIL
+
+ [WritableStream constructor should stop after validate on start fails]
+ expected: FAIL
+
+ [WritableStream constructor should stop after get on size fails]
+ expected: FAIL
+
+ [highWaterMark should be reflected to desiredSize]
+ expected: FAIL
+
+ [WritableStream constructor should stop after validate on type fails]
+ expected: FAIL
+
+ [WritableStream constructor should stop after get on start fails]
+ expected: FAIL
+
+ [WritableStream should be constructible with no arguments]
+ expected: FAIL
+
+ [WritableStream constructor should stop after validate on highWaterMark fails]
+ expected: FAIL
+
+ [WritableStream constructor should stop after validate on close fails]
+ expected: FAIL
+
+ [controller argument should be passed to start method]
+ expected: FAIL
+
+ [WritableStreamDefaultWriter should throw unless passed a WritableStream]
+ expected: FAIL
+
+ [WritableStream constructor should stop after get on highWaterMark fails]
+ expected: FAIL
+
+ [WritableStream constructor should stop after get on type fails]
+ expected: FAIL
+
+ [WritableStream constructor should stop after validate on size fails]
+ expected: FAIL
+
+ [WritableStreamDefaultWriter constructor should throw when stream argument is locked]
+ expected: FAIL
+
+ [WritableStream constructor should stop after validate on write fails]
+ expected: FAIL
+
+ [WritableStream constructor should stop after validate on abort fails]
+ expected: FAIL
+
+ [WritableStream should be writable and ready should fulfill immediately if the strategy does not apply backpressure]
+ expected: FAIL
+
+ [WritableStreamDefaultController constructor should throw when passed an initialised WritableStream]
+ expected: FAIL
+
+ [WritableStream constructor should stop after get on abort fails]
+ expected: FAIL
+
+ [WritableStream instances should have standard methods and properties]
+ expected: FAIL
+
+
+[constructor.any.worker.html]
+ [WritableStreamDefaultController constructor should throw]
+ expected: FAIL
+
+ [WritableStream constructor should stop after get on write fails]
+ expected: FAIL
+
+ [controller argument should be passed to write method]
+ expected: FAIL
+
+ [WritableStream constructor should stop after get on close fails]
+ expected: FAIL
+
+ [controller argument should not be passed to close method]
+ expected: FAIL
+
+ [WritableStream constructor should stop after tonumber on highWaterMark fails]
+ expected: FAIL
+
+ [WritableStream constructor should stop after validate on start fails]
+ expected: FAIL
+
+ [WritableStream constructor should stop after get on size fails]
+ expected: FAIL
+
+ [highWaterMark should be reflected to desiredSize]
+ expected: FAIL
+
+ [WritableStream constructor should stop after validate on type fails]
+ expected: FAIL
+
+ [WritableStream constructor should stop after get on start fails]
+ expected: FAIL
+
+ [WritableStream should be constructible with no arguments]
+ expected: FAIL
+
+ [WritableStream constructor should stop after validate on highWaterMark fails]
+ expected: FAIL
+
+ [WritableStream constructor should stop after validate on close fails]
+ expected: FAIL
+
+ [controller argument should be passed to start method]
+ expected: FAIL
+
+ [WritableStreamDefaultWriter should throw unless passed a WritableStream]
+ expected: FAIL
+
+ [WritableStream constructor should stop after get on highWaterMark fails]
+ expected: FAIL
+
+ [WritableStream constructor should stop after get on type fails]
+ expected: FAIL
+
+ [WritableStream constructor should stop after validate on size fails]
+ expected: FAIL
+
+ [WritableStreamDefaultWriter constructor should throw when stream argument is locked]
+ expected: FAIL
+
+ [WritableStream constructor should stop after validate on write fails]
+ expected: FAIL
+
+ [WritableStream constructor should stop after validate on abort fails]
+ expected: FAIL
+
+ [WritableStream should be writable and ready should fulfill immediately if the strategy does not apply backpressure]
+ expected: FAIL
+
+ [WritableStreamDefaultController constructor should throw when passed an initialised WritableStream]
+ expected: FAIL
+
+ [WritableStream constructor should stop after get on abort fails]
+ expected: FAIL
+
+ [WritableStream instances should have standard methods and properties]
+ expected: FAIL
+
+
+[constructor.any.sharedworker.html]
+ [WritableStreamDefaultController constructor should throw]
+ expected: FAIL
+
+ [WritableStream constructor should stop after get on write fails]
+ expected: FAIL
+
+ [controller argument should be passed to write method]
+ expected: FAIL
+
+ [WritableStream constructor should stop after get on close fails]
+ expected: FAIL
+
+ [controller argument should not be passed to close method]
+ expected: FAIL
+
+ [WritableStream constructor should stop after tonumber on highWaterMark fails]
+ expected: FAIL
+
+ [WritableStream constructor should stop after validate on start fails]
+ expected: FAIL
+
+ [WritableStream constructor should stop after get on size fails]
+ expected: FAIL
+
+ [highWaterMark should be reflected to desiredSize]
+ expected: FAIL
+
+ [WritableStream constructor should stop after validate on type fails]
+ expected: FAIL
+
+ [WritableStream constructor should stop after get on start fails]
+ expected: FAIL
+
+ [WritableStream should be constructible with no arguments]
+ expected: FAIL
+
+ [WritableStream constructor should stop after validate on highWaterMark fails]
+ expected: FAIL
+
+ [WritableStream constructor should stop after validate on close fails]
+ expected: FAIL
+
+ [controller argument should be passed to start method]
+ expected: FAIL
+
+ [WritableStreamDefaultWriter should throw unless passed a WritableStream]
+ expected: FAIL
+
+ [WritableStream constructor should stop after get on highWaterMark fails]
+ expected: FAIL
+
+ [WritableStream constructor should stop after get on type fails]
+ expected: FAIL
+
+ [WritableStream constructor should stop after validate on size fails]
+ expected: FAIL
+
+ [WritableStreamDefaultWriter constructor should throw when stream argument is locked]
+ expected: FAIL
+
+ [WritableStream constructor should stop after validate on write fails]
+ expected: FAIL
+
+ [WritableStream constructor should stop after validate on abort fails]
+ expected: FAIL
+
+ [WritableStream should be writable and ready should fulfill immediately if the strategy does not apply backpressure]
+ expected: FAIL
+
+ [WritableStreamDefaultController constructor should throw when passed an initialised WritableStream]
+ expected: FAIL
+
+ [WritableStream constructor should stop after get on abort fails]
+ expected: FAIL
+
+ [WritableStream instances should have standard methods and properties]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/streams/writable-streams/constructor.dedicatedworker.html.ini b/testing/web-platform/meta/streams/writable-streams/constructor.dedicatedworker.html.ini
deleted file mode 100644
index 5b88bcc00855d..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/constructor.dedicatedworker.html.ini
+++ /dev/null
@@ -1,85 +0,0 @@
-[constructor.dedicatedworker.html]
- [controller argument should be passed to start method]
- expected: FAIL
-
- [controller argument should be passed to write method]
- expected: FAIL
-
- [controller argument should be passed to close method]
- expected: FAIL
-
- [highWaterMark should be reflected to desiredSize]
- expected: FAIL
-
- [WritableStream should be writable and ready should fulfill immediately if the strategy does not apply backpressure]
- expected: FAIL
-
- [WritableStream should be constructible with no arguments]
- expected: FAIL
-
- [WritableStream instances should have standard methods and properties]
- expected: FAIL
-
- [WritableStreamDefaultController constructor should throw unless passed a WritableStream]
- expected: FAIL
-
- [WritableStreamDefaultController constructor should throw when passed an initialised WritableStream]
- expected: FAIL
-
- [WritableStreamDefaultWriter should throw unless passed a WritableStream]
- expected: FAIL
-
- [WritableStreamDefaultWriter constructor should throw when stream argument is locked]
- expected: FAIL
-
- [controller argument should not be passed to close method]
- expected: FAIL
-
- [WritableStreamDefaultController constructor should throw]
- expected: FAIL
-
- [WritableStream constructor should stop after get on size fails]
- expected: FAIL
-
- [WritableStream constructor should stop after get on highWaterMark fails]
- expected: FAIL
-
- [WritableStream constructor should stop after get on type fails]
- expected: FAIL
-
- [WritableStream constructor should stop after validate on type fails]
- expected: FAIL
-
- [WritableStream constructor should stop after validate on size fails]
- expected: FAIL
-
- [WritableStream constructor should stop after tonumber on highWaterMark fails]
- expected: FAIL
-
- [WritableStream constructor should stop after validate on highWaterMark fails]
- expected: FAIL
-
- [WritableStream constructor should stop after get on write fails]
- expected: FAIL
-
- [WritableStream constructor should stop after validate on write fails]
- expected: FAIL
-
- [WritableStream constructor should stop after get on close fails]
- expected: FAIL
-
- [WritableStream constructor should stop after validate on close fails]
- expected: FAIL
-
- [WritableStream constructor should stop after get on abort fails]
- expected: FAIL
-
- [WritableStream constructor should stop after validate on abort fails]
- expected: FAIL
-
- [WritableStream constructor should stop after get on start fails]
- expected: FAIL
-
- [WritableStream constructor should stop after validate on start fails]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/constructor.html.ini b/testing/web-platform/meta/streams/writable-streams/constructor.html.ini
deleted file mode 100644
index 14dafaea0ce73..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/constructor.html.ini
+++ /dev/null
@@ -1,85 +0,0 @@
-[constructor.html]
- [controller argument should be passed to start method]
- expected: FAIL
-
- [controller argument should be passed to write method]
- expected: FAIL
-
- [controller argument should be passed to close method]
- expected: FAIL
-
- [highWaterMark should be reflected to desiredSize]
- expected: FAIL
-
- [WritableStream should be writable and ready should fulfill immediately if the strategy does not apply backpressure]
- expected: FAIL
-
- [WritableStream should be constructible with no arguments]
- expected: FAIL
-
- [WritableStream instances should have standard methods and properties]
- expected: FAIL
-
- [WritableStreamDefaultController constructor should throw unless passed a WritableStream]
- expected: FAIL
-
- [WritableStreamDefaultController constructor should throw when passed an initialised WritableStream]
- expected: FAIL
-
- [WritableStreamDefaultWriter should throw unless passed a WritableStream]
- expected: FAIL
-
- [WritableStreamDefaultWriter constructor should throw when stream argument is locked]
- expected: FAIL
-
- [controller argument should not be passed to close method]
- expected: FAIL
-
- [WritableStreamDefaultController constructor should throw]
- expected: FAIL
-
- [WritableStream constructor should stop after get on size fails]
- expected: FAIL
-
- [WritableStream constructor should stop after get on highWaterMark fails]
- expected: FAIL
-
- [WritableStream constructor should stop after get on type fails]
- expected: FAIL
-
- [WritableStream constructor should stop after validate on type fails]
- expected: FAIL
-
- [WritableStream constructor should stop after validate on size fails]
- expected: FAIL
-
- [WritableStream constructor should stop after tonumber on highWaterMark fails]
- expected: FAIL
-
- [WritableStream constructor should stop after validate on highWaterMark fails]
- expected: FAIL
-
- [WritableStream constructor should stop after get on write fails]
- expected: FAIL
-
- [WritableStream constructor should stop after validate on write fails]
- expected: FAIL
-
- [WritableStream constructor should stop after get on close fails]
- expected: FAIL
-
- [WritableStream constructor should stop after validate on close fails]
- expected: FAIL
-
- [WritableStream constructor should stop after get on abort fails]
- expected: FAIL
-
- [WritableStream constructor should stop after validate on abort fails]
- expected: FAIL
-
- [WritableStream constructor should stop after get on start fails]
- expected: FAIL
-
- [WritableStream constructor should stop after validate on start fails]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/constructor.serviceworker.https.html.ini b/testing/web-platform/meta/streams/writable-streams/constructor.serviceworker.https.html.ini
deleted file mode 100644
index f40469798610c..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/constructor.serviceworker.https.html.ini
+++ /dev/null
@@ -1,85 +0,0 @@
-[constructor.serviceworker.https.html]
- [controller argument should be passed to start method]
- expected: FAIL
-
- [controller argument should be passed to write method]
- expected: FAIL
-
- [controller argument should be passed to close method]
- expected: FAIL
-
- [highWaterMark should be reflected to desiredSize]
- expected: FAIL
-
- [WritableStream should be writable and ready should fulfill immediately if the strategy does not apply backpressure]
- expected: FAIL
-
- [WritableStream should be constructible with no arguments]
- expected: FAIL
-
- [WritableStream instances should have standard methods and properties]
- expected: FAIL
-
- [WritableStreamDefaultController constructor should throw unless passed a WritableStream]
- expected: FAIL
-
- [WritableStreamDefaultController constructor should throw when passed an initialised WritableStream]
- expected: FAIL
-
- [WritableStreamDefaultWriter should throw unless passed a WritableStream]
- expected: FAIL
-
- [WritableStreamDefaultWriter constructor should throw when stream argument is locked]
- expected: FAIL
-
- [controller argument should not be passed to close method]
- expected: FAIL
-
- [WritableStreamDefaultController constructor should throw]
- expected: FAIL
-
- [WritableStream constructor should stop after get on size fails]
- expected: FAIL
-
- [WritableStream constructor should stop after get on highWaterMark fails]
- expected: FAIL
-
- [WritableStream constructor should stop after get on type fails]
- expected: FAIL
-
- [WritableStream constructor should stop after validate on type fails]
- expected: FAIL
-
- [WritableStream constructor should stop after validate on size fails]
- expected: FAIL
-
- [WritableStream constructor should stop after tonumber on highWaterMark fails]
- expected: FAIL
-
- [WritableStream constructor should stop after validate on highWaterMark fails]
- expected: FAIL
-
- [WritableStream constructor should stop after get on write fails]
- expected: FAIL
-
- [WritableStream constructor should stop after validate on write fails]
- expected: FAIL
-
- [WritableStream constructor should stop after get on close fails]
- expected: FAIL
-
- [WritableStream constructor should stop after validate on close fails]
- expected: FAIL
-
- [WritableStream constructor should stop after get on abort fails]
- expected: FAIL
-
- [WritableStream constructor should stop after validate on abort fails]
- expected: FAIL
-
- [WritableStream constructor should stop after get on start fails]
- expected: FAIL
-
- [WritableStream constructor should stop after validate on start fails]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/constructor.sharedworker.html.ini b/testing/web-platform/meta/streams/writable-streams/constructor.sharedworker.html.ini
deleted file mode 100644
index 152e373e10812..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/constructor.sharedworker.html.ini
+++ /dev/null
@@ -1,85 +0,0 @@
-[constructor.sharedworker.html]
- [controller argument should be passed to start method]
- expected: FAIL
-
- [controller argument should be passed to write method]
- expected: FAIL
-
- [controller argument should be passed to close method]
- expected: FAIL
-
- [highWaterMark should be reflected to desiredSize]
- expected: FAIL
-
- [WritableStream should be writable and ready should fulfill immediately if the strategy does not apply backpressure]
- expected: FAIL
-
- [WritableStream should be constructible with no arguments]
- expected: FAIL
-
- [WritableStream instances should have standard methods and properties]
- expected: FAIL
-
- [WritableStreamDefaultController constructor should throw unless passed a WritableStream]
- expected: FAIL
-
- [WritableStreamDefaultController constructor should throw when passed an initialised WritableStream]
- expected: FAIL
-
- [WritableStreamDefaultWriter should throw unless passed a WritableStream]
- expected: FAIL
-
- [WritableStreamDefaultWriter constructor should throw when stream argument is locked]
- expected: FAIL
-
- [controller argument should not be passed to close method]
- expected: FAIL
-
- [WritableStreamDefaultController constructor should throw]
- expected: FAIL
-
- [WritableStream constructor should stop after get on size fails]
- expected: FAIL
-
- [WritableStream constructor should stop after get on highWaterMark fails]
- expected: FAIL
-
- [WritableStream constructor should stop after get on type fails]
- expected: FAIL
-
- [WritableStream constructor should stop after validate on type fails]
- expected: FAIL
-
- [WritableStream constructor should stop after validate on size fails]
- expected: FAIL
-
- [WritableStream constructor should stop after tonumber on highWaterMark fails]
- expected: FAIL
-
- [WritableStream constructor should stop after validate on highWaterMark fails]
- expected: FAIL
-
- [WritableStream constructor should stop after get on write fails]
- expected: FAIL
-
- [WritableStream constructor should stop after validate on write fails]
- expected: FAIL
-
- [WritableStream constructor should stop after get on close fails]
- expected: FAIL
-
- [WritableStream constructor should stop after validate on close fails]
- expected: FAIL
-
- [WritableStream constructor should stop after get on abort fails]
- expected: FAIL
-
- [WritableStream constructor should stop after validate on abort fails]
- expected: FAIL
-
- [WritableStream constructor should stop after get on start fails]
- expected: FAIL
-
- [WritableStream constructor should stop after validate on start fails]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/count-queuing-strategy.any.js.ini b/testing/web-platform/meta/streams/writable-streams/count-queuing-strategy.any.js.ini
new file mode 100644
index 0000000000000..0cc196cce8c41
--- /dev/null
+++ b/testing/web-platform/meta/streams/writable-streams/count-queuing-strategy.any.js.ini
@@ -0,0 +1,43 @@
+[count-queuing-strategy.any.worker.html]
+ [Correctly governs the value of a WritableStream's state property (HWM = 0)]
+ expected: FAIL
+
+ [Can construct a writable stream with a valid CountQueuingStrategy]
+ expected: FAIL
+
+ [Correctly governs the value of a WritableStream's state property (HWM = 4)]
+ expected: FAIL
+
+
+[count-queuing-strategy.any.sharedworker.html]
+ [Correctly governs the value of a WritableStream's state property (HWM = 0)]
+ expected: FAIL
+
+ [Can construct a writable stream with a valid CountQueuingStrategy]
+ expected: FAIL
+
+ [Correctly governs the value of a WritableStream's state property (HWM = 4)]
+ expected: FAIL
+
+
+[count-queuing-strategy.any.html]
+ [Correctly governs the value of a WritableStream's state property (HWM = 0)]
+ expected: FAIL
+
+ [Can construct a writable stream with a valid CountQueuingStrategy]
+ expected: FAIL
+
+ [Correctly governs the value of a WritableStream's state property (HWM = 4)]
+ expected: FAIL
+
+
+[count-queuing-strategy.any.serviceworker.html]
+ [Correctly governs the value of a WritableStream's state property (HWM = 0)]
+ expected: FAIL
+
+ [Can construct a writable stream with a valid CountQueuingStrategy]
+ expected: FAIL
+
+ [Correctly governs the value of a WritableStream's state property (HWM = 4)]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/streams/writable-streams/count-queuing-strategy.dedicatedworker.html.ini b/testing/web-platform/meta/streams/writable-streams/count-queuing-strategy.dedicatedworker.html.ini
deleted file mode 100644
index a8d232144c2b3..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/count-queuing-strategy.dedicatedworker.html.ini
+++ /dev/null
@@ -1,10 +0,0 @@
-[count-queuing-strategy.dedicatedworker.html]
- [Can construct a writable stream with a valid CountQueuingStrategy]
- expected: FAIL
-
- [Correctly governs the value of a WritableStream's state property (HWM = 0)]
- expected: FAIL
-
- [Correctly governs the value of a WritableStream's state property (HWM = 4)]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/count-queuing-strategy.html.ini b/testing/web-platform/meta/streams/writable-streams/count-queuing-strategy.html.ini
deleted file mode 100644
index 6931b3781cf56..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/count-queuing-strategy.html.ini
+++ /dev/null
@@ -1,10 +0,0 @@
-[count-queuing-strategy.html]
- [Can construct a writable stream with a valid CountQueuingStrategy]
- expected: FAIL
-
- [Correctly governs the value of a WritableStream's state property (HWM = 0)]
- expected: FAIL
-
- [Correctly governs the value of a WritableStream's state property (HWM = 4)]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/count-queuing-strategy.serviceworker.https.html.ini b/testing/web-platform/meta/streams/writable-streams/count-queuing-strategy.serviceworker.https.html.ini
deleted file mode 100644
index 1fa101439faf2..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/count-queuing-strategy.serviceworker.https.html.ini
+++ /dev/null
@@ -1,10 +0,0 @@
-[count-queuing-strategy.serviceworker.https.html]
- [Can construct a writable stream with a valid CountQueuingStrategy]
- expected: FAIL
-
- [Correctly governs the value of a WritableStream's state property (HWM = 0)]
- expected: FAIL
-
- [Correctly governs the value of a WritableStream's state property (HWM = 4)]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/count-queuing-strategy.sharedworker.html.ini b/testing/web-platform/meta/streams/writable-streams/count-queuing-strategy.sharedworker.html.ini
deleted file mode 100644
index 507e7b0b3c037..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/count-queuing-strategy.sharedworker.html.ini
+++ /dev/null
@@ -1,10 +0,0 @@
-[count-queuing-strategy.sharedworker.html]
- [Can construct a writable stream with a valid CountQueuingStrategy]
- expected: FAIL
-
- [Correctly governs the value of a WritableStream's state property (HWM = 0)]
- expected: FAIL
-
- [Correctly governs the value of a WritableStream's state property (HWM = 4)]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/error.any.js.ini b/testing/web-platform/meta/streams/writable-streams/error.any.js.ini
new file mode 100644
index 0000000000000..97ece50f92327
--- /dev/null
+++ b/testing/web-platform/meta/streams/writable-streams/error.any.js.ini
@@ -0,0 +1,67 @@
+[error.any.serviceworker.html]
+ [controller.error() should error the stream]
+ expected: FAIL
+
+ [controller.error() on closed stream should not throw]
+ expected: FAIL
+
+ [surplus calls to controller.error() should be a no-op]
+ expected: FAIL
+
+ [controller.error() on erroring stream should not throw]
+ expected: FAIL
+
+ [controller.error() on errored stream should not throw]
+ expected: FAIL
+
+
+[error.any.html]
+ [controller.error() should error the stream]
+ expected: FAIL
+
+ [controller.error() on closed stream should not throw]
+ expected: FAIL
+
+ [surplus calls to controller.error() should be a no-op]
+ expected: FAIL
+
+ [controller.error() on erroring stream should not throw]
+ expected: FAIL
+
+ [controller.error() on errored stream should not throw]
+ expected: FAIL
+
+
+[error.any.worker.html]
+ [controller.error() should error the stream]
+ expected: FAIL
+
+ [controller.error() on closed stream should not throw]
+ expected: FAIL
+
+ [surplus calls to controller.error() should be a no-op]
+ expected: FAIL
+
+ [controller.error() on erroring stream should not throw]
+ expected: FAIL
+
+ [controller.error() on errored stream should not throw]
+ expected: FAIL
+
+
+[error.any.sharedworker.html]
+ [controller.error() should error the stream]
+ expected: FAIL
+
+ [controller.error() on closed stream should not throw]
+ expected: FAIL
+
+ [surplus calls to controller.error() should be a no-op]
+ expected: FAIL
+
+ [controller.error() on erroring stream should not throw]
+ expected: FAIL
+
+ [controller.error() on errored stream should not throw]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/streams/writable-streams/error.dedicatedworker.html.ini b/testing/web-platform/meta/streams/writable-streams/error.dedicatedworker.html.ini
deleted file mode 100644
index 2c4bb793bb1d7..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/error.dedicatedworker.html.ini
+++ /dev/null
@@ -1,16 +0,0 @@
-[error.dedicatedworker.html]
- [controller.error() should error the stream]
- expected: FAIL
-
- [controller.error() on erroring stream should not throw]
- expected: FAIL
-
- [surplus calls to controller.error() should be a no-op]
- expected: FAIL
-
- [controller.error() on errored stream should not throw]
- expected: FAIL
-
- [controller.error() on closed stream should not throw]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/error.html.ini b/testing/web-platform/meta/streams/writable-streams/error.html.ini
deleted file mode 100644
index 7f9ad2ef117ec..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/error.html.ini
+++ /dev/null
@@ -1,16 +0,0 @@
-[error.html]
- [controller.error() should error the stream]
- expected: FAIL
-
- [controller.error() on erroring stream should not throw]
- expected: FAIL
-
- [surplus calls to controller.error() should be a no-op]
- expected: FAIL
-
- [controller.error() on errored stream should not throw]
- expected: FAIL
-
- [controller.error() on closed stream should not throw]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/error.serviceworker.https.html.ini b/testing/web-platform/meta/streams/writable-streams/error.serviceworker.https.html.ini
deleted file mode 100644
index d94578532a43f..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/error.serviceworker.https.html.ini
+++ /dev/null
@@ -1,16 +0,0 @@
-[error.serviceworker.https.html]
- [controller.error() should error the stream]
- expected: FAIL
-
- [controller.error() on erroring stream should not throw]
- expected: FAIL
-
- [surplus calls to controller.error() should be a no-op]
- expected: FAIL
-
- [controller.error() on errored stream should not throw]
- expected: FAIL
-
- [controller.error() on closed stream should not throw]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/error.sharedworker.html.ini b/testing/web-platform/meta/streams/writable-streams/error.sharedworker.html.ini
deleted file mode 100644
index cab5525203668..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/error.sharedworker.html.ini
+++ /dev/null
@@ -1,16 +0,0 @@
-[error.sharedworker.html]
- [controller.error() should error the stream]
- expected: FAIL
-
- [controller.error() on erroring stream should not throw]
- expected: FAIL
-
- [surplus calls to controller.error() should be a no-op]
- expected: FAIL
-
- [controller.error() on errored stream should not throw]
- expected: FAIL
-
- [controller.error() on closed stream should not throw]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/floating-point-total-queue-size.any.js.ini b/testing/web-platform/meta/streams/writable-streams/floating-point-total-queue-size.any.js.ini
new file mode 100644
index 0000000000000..abdaa37e73067
--- /dev/null
+++ b/testing/web-platform/meta/streams/writable-streams/floating-point-total-queue-size.any.js.ini
@@ -0,0 +1,55 @@
+[floating-point-total-queue-size.any.sharedworker.html]
+ [Floating point arithmetic must manifest near 0 (total ends up positive, but clamped)]
+ expected: FAIL
+
+ [Floating point arithmetic must manifest near NUMBER.MAX_SAFE_INTEGER (total ends up positive)]
+ expected: FAIL
+
+ [Floating point arithmetic must manifest near 0 (total ends up positive, and not clamped)]
+ expected: FAIL
+
+ [Floating point arithmetic must manifest near 0 (total ends up zero)]
+ expected: FAIL
+
+
+[floating-point-total-queue-size.any.worker.html]
+ [Floating point arithmetic must manifest near 0 (total ends up positive, but clamped)]
+ expected: FAIL
+
+ [Floating point arithmetic must manifest near NUMBER.MAX_SAFE_INTEGER (total ends up positive)]
+ expected: FAIL
+
+ [Floating point arithmetic must manifest near 0 (total ends up positive, and not clamped)]
+ expected: FAIL
+
+ [Floating point arithmetic must manifest near 0 (total ends up zero)]
+ expected: FAIL
+
+
+[floating-point-total-queue-size.any.serviceworker.html]
+ [Floating point arithmetic must manifest near 0 (total ends up positive, but clamped)]
+ expected: FAIL
+
+ [Floating point arithmetic must manifest near NUMBER.MAX_SAFE_INTEGER (total ends up positive)]
+ expected: FAIL
+
+ [Floating point arithmetic must manifest near 0 (total ends up positive, and not clamped)]
+ expected: FAIL
+
+ [Floating point arithmetic must manifest near 0 (total ends up zero)]
+ expected: FAIL
+
+
+[floating-point-total-queue-size.any.html]
+ [Floating point arithmetic must manifest near 0 (total ends up positive, but clamped)]
+ expected: FAIL
+
+ [Floating point arithmetic must manifest near NUMBER.MAX_SAFE_INTEGER (total ends up positive)]
+ expected: FAIL
+
+ [Floating point arithmetic must manifest near 0 (total ends up positive, and not clamped)]
+ expected: FAIL
+
+ [Floating point arithmetic must manifest near 0 (total ends up zero)]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/streams/writable-streams/floating-point-total-queue-size.dedicatedworker.html.ini b/testing/web-platform/meta/streams/writable-streams/floating-point-total-queue-size.dedicatedworker.html.ini
deleted file mode 100644
index c9326229dda4b..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/floating-point-total-queue-size.dedicatedworker.html.ini
+++ /dev/null
@@ -1,13 +0,0 @@
-[floating-point-total-queue-size.dedicatedworker.html]
- [Floating point arithmetic must manifest near NUMBER.MAX_SAFE_INTEGER (total ends up positive)]
- expected: FAIL
-
- [Floating point arithmetic must manifest near 0 (total ends up positive, but clamped)]
- expected: FAIL
-
- [Floating point arithmetic must manifest near 0 (total ends up positive, and not clamped)]
- expected: FAIL
-
- [Floating point arithmetic must manifest near 0 (total ends up zero)]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/floating-point-total-queue-size.html.ini b/testing/web-platform/meta/streams/writable-streams/floating-point-total-queue-size.html.ini
deleted file mode 100644
index b4237a62434a2..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/floating-point-total-queue-size.html.ini
+++ /dev/null
@@ -1,13 +0,0 @@
-[floating-point-total-queue-size.html]
- [Floating point arithmetic must manifest near NUMBER.MAX_SAFE_INTEGER (total ends up positive)]
- expected: FAIL
-
- [Floating point arithmetic must manifest near 0 (total ends up positive, but clamped)]
- expected: FAIL
-
- [Floating point arithmetic must manifest near 0 (total ends up positive, and not clamped)]
- expected: FAIL
-
- [Floating point arithmetic must manifest near 0 (total ends up zero)]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/floating-point-total-queue-size.serviceworker.https.html.ini b/testing/web-platform/meta/streams/writable-streams/floating-point-total-queue-size.serviceworker.https.html.ini
deleted file mode 100644
index 65c9c0f24c61f..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/floating-point-total-queue-size.serviceworker.https.html.ini
+++ /dev/null
@@ -1,13 +0,0 @@
-[floating-point-total-queue-size.serviceworker.https.html]
- [Floating point arithmetic must manifest near NUMBER.MAX_SAFE_INTEGER (total ends up positive)]
- expected: FAIL
-
- [Floating point arithmetic must manifest near 0 (total ends up positive, but clamped)]
- expected: FAIL
-
- [Floating point arithmetic must manifest near 0 (total ends up positive, and not clamped)]
- expected: FAIL
-
- [Floating point arithmetic must manifest near 0 (total ends up zero)]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/floating-point-total-queue-size.sharedworker.html.ini b/testing/web-platform/meta/streams/writable-streams/floating-point-total-queue-size.sharedworker.html.ini
deleted file mode 100644
index 5fd2ca10fff3d..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/floating-point-total-queue-size.sharedworker.html.ini
+++ /dev/null
@@ -1,13 +0,0 @@
-[floating-point-total-queue-size.sharedworker.html]
- [Floating point arithmetic must manifest near NUMBER.MAX_SAFE_INTEGER (total ends up positive)]
- expected: FAIL
-
- [Floating point arithmetic must manifest near 0 (total ends up positive, but clamped)]
- expected: FAIL
-
- [Floating point arithmetic must manifest near 0 (total ends up positive, and not clamped)]
- expected: FAIL
-
- [Floating point arithmetic must manifest near 0 (total ends up zero)]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/general.any.js.ini b/testing/web-platform/meta/streams/writable-streams/general.any.js.ini
new file mode 100644
index 0000000000000..ad3db5355d87f
--- /dev/null
+++ b/testing/web-platform/meta/streams/writable-streams/general.any.js.ini
@@ -0,0 +1,175 @@
+[general.any.serviceworker.html]
+ [ready promise should fire before closed on releaseLock]
+ expected: FAIL
+
+ [closed and ready on a released writer]
+ expected: FAIL
+
+ [ws.getWriter() on an errored WritableStream]
+ expected: FAIL
+
+ [ws.getWriter() on an aborted WritableStream]
+ expected: FAIL
+
+ [WritableStream's strategy.size should not be called as a method]
+ expected: FAIL
+
+ [desiredSize on a writer for an errored stream]
+ expected: FAIL
+
+ [ws.getWriter() on a closing WritableStream]
+ expected: FAIL
+
+ [methods should not not have .apply() or .call() called]
+ expected: FAIL
+
+ [WritableStream should call underlying sink methods as methods]
+ expected: FAIL
+
+ [ws.getWriter() on a closed WritableStream]
+ expected: FAIL
+
+ [desiredSize on a writer for a closed stream]
+ expected: FAIL
+
+ [desiredSize on a released writer]
+ expected: FAIL
+
+ [redundant releaseLock() is no-op]
+ expected: FAIL
+
+ [desiredSize initial value]
+ expected: FAIL
+
+
+[general.any.html]
+ [ready promise should fire before closed on releaseLock]
+ expected: FAIL
+
+ [closed and ready on a released writer]
+ expected: FAIL
+
+ [ws.getWriter() on an errored WritableStream]
+ expected: FAIL
+
+ [ws.getWriter() on an aborted WritableStream]
+ expected: FAIL
+
+ [WritableStream's strategy.size should not be called as a method]
+ expected: FAIL
+
+ [desiredSize on a writer for an errored stream]
+ expected: FAIL
+
+ [ws.getWriter() on a closing WritableStream]
+ expected: FAIL
+
+ [methods should not not have .apply() or .call() called]
+ expected: FAIL
+
+ [WritableStream should call underlying sink methods as methods]
+ expected: FAIL
+
+ [ws.getWriter() on a closed WritableStream]
+ expected: FAIL
+
+ [desiredSize on a writer for a closed stream]
+ expected: FAIL
+
+ [desiredSize on a released writer]
+ expected: FAIL
+
+ [redundant releaseLock() is no-op]
+ expected: FAIL
+
+ [desiredSize initial value]
+ expected: FAIL
+
+
+[general.any.worker.html]
+ [ready promise should fire before closed on releaseLock]
+ expected: FAIL
+
+ [closed and ready on a released writer]
+ expected: FAIL
+
+ [ws.getWriter() on an errored WritableStream]
+ expected: FAIL
+
+ [ws.getWriter() on an aborted WritableStream]
+ expected: FAIL
+
+ [WritableStream's strategy.size should not be called as a method]
+ expected: FAIL
+
+ [desiredSize on a writer for an errored stream]
+ expected: FAIL
+
+ [ws.getWriter() on a closing WritableStream]
+ expected: FAIL
+
+ [methods should not not have .apply() or .call() called]
+ expected: FAIL
+
+ [WritableStream should call underlying sink methods as methods]
+ expected: FAIL
+
+ [ws.getWriter() on a closed WritableStream]
+ expected: FAIL
+
+ [desiredSize on a writer for a closed stream]
+ expected: FAIL
+
+ [desiredSize on a released writer]
+ expected: FAIL
+
+ [redundant releaseLock() is no-op]
+ expected: FAIL
+
+ [desiredSize initial value]
+ expected: FAIL
+
+
+[general.any.sharedworker.html]
+ [ready promise should fire before closed on releaseLock]
+ expected: FAIL
+
+ [closed and ready on a released writer]
+ expected: FAIL
+
+ [ws.getWriter() on an errored WritableStream]
+ expected: FAIL
+
+ [ws.getWriter() on an aborted WritableStream]
+ expected: FAIL
+
+ [WritableStream's strategy.size should not be called as a method]
+ expected: FAIL
+
+ [desiredSize on a writer for an errored stream]
+ expected: FAIL
+
+ [ws.getWriter() on a closing WritableStream]
+ expected: FAIL
+
+ [methods should not not have .apply() or .call() called]
+ expected: FAIL
+
+ [WritableStream should call underlying sink methods as methods]
+ expected: FAIL
+
+ [ws.getWriter() on a closed WritableStream]
+ expected: FAIL
+
+ [desiredSize on a writer for a closed stream]
+ expected: FAIL
+
+ [desiredSize on a released writer]
+ expected: FAIL
+
+ [redundant releaseLock() is no-op]
+ expected: FAIL
+
+ [desiredSize initial value]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/streams/writable-streams/general.dedicatedworker.html.ini b/testing/web-platform/meta/streams/writable-streams/general.dedicatedworker.html.ini
deleted file mode 100644
index a1c5596f35db0..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/general.dedicatedworker.html.ini
+++ /dev/null
@@ -1,43 +0,0 @@
-[general.dedicatedworker.html]
- [desiredSize on a released writer]
- expected: FAIL
-
- [desiredSize initial value]
- expected: FAIL
-
- [desiredSize on a writer for a closed stream]
- expected: FAIL
-
- [ws.getWriter() on a closing WritableStream]
- expected: FAIL
-
- [ws.getWriter() on a closed WritableStream]
- expected: FAIL
-
- [ws.getWriter() on an aborted WritableStream]
- expected: FAIL
-
- [ws.getWriter() on an errored WritableStream]
- expected: FAIL
-
- [closed and ready on a released writer]
- expected: FAIL
-
- [WritableStream should call underlying sink methods as methods]
- expected: FAIL
-
- [methods should not not have .apply() or .call() called]
- expected: FAIL
-
- [WritableStream's strategy.size should not be called as a method]
- expected: FAIL
-
- [redundant releaseLock() is no-op]
- expected: FAIL
-
- [desiredSize on a writer for an errored stream]
- expected: FAIL
-
- [ready promise should fire before closed on releaseLock]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/general.html.ini b/testing/web-platform/meta/streams/writable-streams/general.html.ini
deleted file mode 100644
index db262b1f5d583..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/general.html.ini
+++ /dev/null
@@ -1,43 +0,0 @@
-[general.html]
- [desiredSize on a released writer]
- expected: FAIL
-
- [desiredSize initial value]
- expected: FAIL
-
- [desiredSize on a writer for a closed stream]
- expected: FAIL
-
- [ws.getWriter() on a closing WritableStream]
- expected: FAIL
-
- [ws.getWriter() on a closed WritableStream]
- expected: FAIL
-
- [ws.getWriter() on an aborted WritableStream]
- expected: FAIL
-
- [ws.getWriter() on an errored WritableStream]
- expected: FAIL
-
- [closed and ready on a released writer]
- expected: FAIL
-
- [WritableStream should call underlying sink methods as methods]
- expected: FAIL
-
- [methods should not not have .apply() or .call() called]
- expected: FAIL
-
- [WritableStream's strategy.size should not be called as a method]
- expected: FAIL
-
- [redundant releaseLock() is no-op]
- expected: FAIL
-
- [desiredSize on a writer for an errored stream]
- expected: FAIL
-
- [ready promise should fire before closed on releaseLock]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/general.serviceworker.https.html.ini b/testing/web-platform/meta/streams/writable-streams/general.serviceworker.https.html.ini
deleted file mode 100644
index 5510c29d13ace..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/general.serviceworker.https.html.ini
+++ /dev/null
@@ -1,43 +0,0 @@
-[general.serviceworker.https.html]
- [desiredSize on a released writer]
- expected: FAIL
-
- [desiredSize initial value]
- expected: FAIL
-
- [desiredSize on a writer for a closed stream]
- expected: FAIL
-
- [ws.getWriter() on a closing WritableStream]
- expected: FAIL
-
- [ws.getWriter() on a closed WritableStream]
- expected: FAIL
-
- [ws.getWriter() on an aborted WritableStream]
- expected: FAIL
-
- [ws.getWriter() on an errored WritableStream]
- expected: FAIL
-
- [closed and ready on a released writer]
- expected: FAIL
-
- [WritableStream should call underlying sink methods as methods]
- expected: FAIL
-
- [methods should not not have .apply() or .call() called]
- expected: FAIL
-
- [WritableStream's strategy.size should not be called as a method]
- expected: FAIL
-
- [redundant releaseLock() is no-op]
- expected: FAIL
-
- [desiredSize on a writer for an errored stream]
- expected: FAIL
-
- [ready promise should fire before closed on releaseLock]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/general.sharedworker.html.ini b/testing/web-platform/meta/streams/writable-streams/general.sharedworker.html.ini
deleted file mode 100644
index c0ba8410c7066..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/general.sharedworker.html.ini
+++ /dev/null
@@ -1,43 +0,0 @@
-[general.sharedworker.html]
- [desiredSize on a released writer]
- expected: FAIL
-
- [desiredSize initial value]
- expected: FAIL
-
- [desiredSize on a writer for a closed stream]
- expected: FAIL
-
- [ws.getWriter() on a closing WritableStream]
- expected: FAIL
-
- [ws.getWriter() on a closed WritableStream]
- expected: FAIL
-
- [ws.getWriter() on an aborted WritableStream]
- expected: FAIL
-
- [ws.getWriter() on an errored WritableStream]
- expected: FAIL
-
- [closed and ready on a released writer]
- expected: FAIL
-
- [WritableStream should call underlying sink methods as methods]
- expected: FAIL
-
- [methods should not not have .apply() or .call() called]
- expected: FAIL
-
- [WritableStream's strategy.size should not be called as a method]
- expected: FAIL
-
- [redundant releaseLock() is no-op]
- expected: FAIL
-
- [desiredSize on a writer for an errored stream]
- expected: FAIL
-
- [ready promise should fire before closed on releaseLock]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/properties.any.js.ini b/testing/web-platform/meta/streams/writable-streams/properties.any.js.ini
new file mode 100644
index 0000000000000..432e610f0010a
--- /dev/null
+++ b/testing/web-platform/meta/streams/writable-streams/properties.any.js.ini
@@ -0,0 +1,11 @@
+[properties.any.serviceworker.html]
+ expected: TIMEOUT
+
+[properties.any.sharedworker.html]
+ expected: TIMEOUT
+
+[properties.any.html]
+ expected: ERROR
+
+[properties.any.worker.html]
+ expected: ERROR
diff --git a/testing/web-platform/meta/streams/writable-streams/properties.dedicatedworker.html.ini b/testing/web-platform/meta/streams/writable-streams/properties.dedicatedworker.html.ini
deleted file mode 100644
index 7bdd0600dc2bc..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/properties.dedicatedworker.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[properties.dedicatedworker.html]
- expected: ERROR
diff --git a/testing/web-platform/meta/streams/writable-streams/properties.html.ini b/testing/web-platform/meta/streams/writable-streams/properties.html.ini
deleted file mode 100644
index c7cc1e4a75c8b..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/properties.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[properties.html]
- expected: ERROR
diff --git a/testing/web-platform/meta/streams/writable-streams/properties.serviceworker.https.html.ini b/testing/web-platform/meta/streams/writable-streams/properties.serviceworker.https.html.ini
deleted file mode 100644
index 50c51cead1400..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/properties.serviceworker.https.html.ini
+++ /dev/null
@@ -1,4 +0,0 @@
-[properties.serviceworker.https.html]
- [Service worker test setup]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/properties.sharedworker.html.ini b/testing/web-platform/meta/streams/writable-streams/properties.sharedworker.html.ini
deleted file mode 100644
index 753e337dbd89f..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/properties.sharedworker.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[properties.sharedworker.html]
- expected: TIMEOUT
diff --git a/testing/web-platform/meta/streams/writable-streams/reentrant-strategy.any.js.ini b/testing/web-platform/meta/streams/writable-streams/reentrant-strategy.any.js.ini
new file mode 100644
index 0000000000000..9130a854b3a95
--- /dev/null
+++ b/testing/web-platform/meta/streams/writable-streams/reentrant-strategy.any.js.ini
@@ -0,0 +1,91 @@
+[reentrant-strategy.any.serviceworker.html]
+ [original reader should error when new reader is created within strategy.size()]
+ expected: FAIL
+
+ [controller.error() should work when called from within strategy.size()]
+ expected: FAIL
+
+ [releaseLock() should abort the write() when called within strategy.size()]
+ expected: FAIL
+
+ [close() should work when called from within strategy.size()]
+ expected: FAIL
+
+ [writes should be written in the standard order]
+ expected: FAIL
+
+ [writer.write() promises should resolve in the standard order]
+ expected: FAIL
+
+ [abort() should work when called from within strategy.size()]
+ expected: FAIL
+
+
+[reentrant-strategy.any.sharedworker.html]
+ [original reader should error when new reader is created within strategy.size()]
+ expected: FAIL
+
+ [controller.error() should work when called from within strategy.size()]
+ expected: FAIL
+
+ [releaseLock() should abort the write() when called within strategy.size()]
+ expected: FAIL
+
+ [close() should work when called from within strategy.size()]
+ expected: FAIL
+
+ [writes should be written in the standard order]
+ expected: FAIL
+
+ [writer.write() promises should resolve in the standard order]
+ expected: FAIL
+
+ [abort() should work when called from within strategy.size()]
+ expected: FAIL
+
+
+[reentrant-strategy.any.html]
+ [original reader should error when new reader is created within strategy.size()]
+ expected: FAIL
+
+ [controller.error() should work when called from within strategy.size()]
+ expected: FAIL
+
+ [releaseLock() should abort the write() when called within strategy.size()]
+ expected: FAIL
+
+ [close() should work when called from within strategy.size()]
+ expected: FAIL
+
+ [writes should be written in the standard order]
+ expected: FAIL
+
+ [writer.write() promises should resolve in the standard order]
+ expected: FAIL
+
+ [abort() should work when called from within strategy.size()]
+ expected: FAIL
+
+
+[reentrant-strategy.any.worker.html]
+ [original reader should error when new reader is created within strategy.size()]
+ expected: FAIL
+
+ [controller.error() should work when called from within strategy.size()]
+ expected: FAIL
+
+ [releaseLock() should abort the write() when called within strategy.size()]
+ expected: FAIL
+
+ [close() should work when called from within strategy.size()]
+ expected: FAIL
+
+ [writes should be written in the standard order]
+ expected: FAIL
+
+ [writer.write() promises should resolve in the standard order]
+ expected: FAIL
+
+ [abort() should work when called from within strategy.size()]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/streams/writable-streams/reentrant-strategy.dedicatedworker.html.ini b/testing/web-platform/meta/streams/writable-streams/reentrant-strategy.dedicatedworker.html.ini
deleted file mode 100644
index affcb9ad21da8..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/reentrant-strategy.dedicatedworker.html.ini
+++ /dev/null
@@ -1,22 +0,0 @@
-[reentrant-strategy.dedicatedworker.html]
- [writes should be written in the standard order]
- expected: FAIL
-
- [writer.write() promises should resolve in the standard order]
- expected: FAIL
-
- [controller.error() should work when called from within strategy.size()]
- expected: FAIL
-
- [close() should work when called from within strategy.size()]
- expected: FAIL
-
- [abort() should work when called from within strategy.size()]
- expected: FAIL
-
- [releaseLock() should abort the write() when called within strategy.size()]
- expected: FAIL
-
- [original reader should error when new reader is created within strategy.size()]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/reentrant-strategy.html.ini b/testing/web-platform/meta/streams/writable-streams/reentrant-strategy.html.ini
deleted file mode 100644
index c020955961d92..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/reentrant-strategy.html.ini
+++ /dev/null
@@ -1,22 +0,0 @@
-[reentrant-strategy.html]
- [writes should be written in the standard order]
- expected: FAIL
-
- [writer.write() promises should resolve in the standard order]
- expected: FAIL
-
- [controller.error() should work when called from within strategy.size()]
- expected: FAIL
-
- [close() should work when called from within strategy.size()]
- expected: FAIL
-
- [abort() should work when called from within strategy.size()]
- expected: FAIL
-
- [releaseLock() should abort the write() when called within strategy.size()]
- expected: FAIL
-
- [original reader should error when new reader is created within strategy.size()]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/reentrant-strategy.serviceworker.https.html.ini b/testing/web-platform/meta/streams/writable-streams/reentrant-strategy.serviceworker.https.html.ini
deleted file mode 100644
index ba20e4594ff4f..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/reentrant-strategy.serviceworker.https.html.ini
+++ /dev/null
@@ -1,22 +0,0 @@
-[reentrant-strategy.serviceworker.https.html]
- [writes should be written in the standard order]
- expected: FAIL
-
- [writer.write() promises should resolve in the standard order]
- expected: FAIL
-
- [controller.error() should work when called from within strategy.size()]
- expected: FAIL
-
- [close() should work when called from within strategy.size()]
- expected: FAIL
-
- [abort() should work when called from within strategy.size()]
- expected: FAIL
-
- [releaseLock() should abort the write() when called within strategy.size()]
- expected: FAIL
-
- [original reader should error when new reader is created within strategy.size()]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/reentrant-strategy.sharedworker.html.ini b/testing/web-platform/meta/streams/writable-streams/reentrant-strategy.sharedworker.html.ini
deleted file mode 100644
index 255455f8a453a..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/reentrant-strategy.sharedworker.html.ini
+++ /dev/null
@@ -1,22 +0,0 @@
-[reentrant-strategy.sharedworker.html]
- [writes should be written in the standard order]
- expected: FAIL
-
- [writer.write() promises should resolve in the standard order]
- expected: FAIL
-
- [controller.error() should work when called from within strategy.size()]
- expected: FAIL
-
- [close() should work when called from within strategy.size()]
- expected: FAIL
-
- [abort() should work when called from within strategy.size()]
- expected: FAIL
-
- [releaseLock() should abort the write() when called within strategy.size()]
- expected: FAIL
-
- [original reader should error when new reader is created within strategy.size()]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/start.any.js.ini b/testing/web-platform/meta/streams/writable-streams/start.any.js.ini
new file mode 100644
index 0000000000000..4ed132c98d06d
--- /dev/null
+++ b/testing/web-platform/meta/streams/writable-streams/start.any.js.ini
@@ -0,0 +1,103 @@
+[start.any.serviceworker.html]
+ [underlying sink's write or close should not be called if start throws]
+ expected: FAIL
+
+ [controller.error() during start should cause writes to fail]
+ expected: FAIL
+
+ [underlying sink's write or close should not be invoked if the promise returned by start is rejected]
+ expected: FAIL
+
+ [controller.error() during async start should cause existing writes to fail]
+ expected: FAIL
+
+ [returning a thenable from start() should work]
+ expected: FAIL
+
+ [underlying sink's write should not be called until start finishes]
+ expected: FAIL
+
+ [underlying sink's close should not be called until start finishes]
+ expected: FAIL
+
+ [when start() rejects, writer promises should reject in standard order]
+ expected: FAIL
+
+
+[start.any.sharedworker.html]
+ [underlying sink's write or close should not be called if start throws]
+ expected: FAIL
+
+ [controller.error() during start should cause writes to fail]
+ expected: FAIL
+
+ [underlying sink's write or close should not be invoked if the promise returned by start is rejected]
+ expected: FAIL
+
+ [controller.error() during async start should cause existing writes to fail]
+ expected: FAIL
+
+ [returning a thenable from start() should work]
+ expected: FAIL
+
+ [underlying sink's write should not be called until start finishes]
+ expected: FAIL
+
+ [underlying sink's close should not be called until start finishes]
+ expected: FAIL
+
+ [when start() rejects, writer promises should reject in standard order]
+ expected: FAIL
+
+
+[start.any.html]
+ [underlying sink's write or close should not be called if start throws]
+ expected: FAIL
+
+ [controller.error() during start should cause writes to fail]
+ expected: FAIL
+
+ [underlying sink's write or close should not be invoked if the promise returned by start is rejected]
+ expected: FAIL
+
+ [controller.error() during async start should cause existing writes to fail]
+ expected: FAIL
+
+ [returning a thenable from start() should work]
+ expected: FAIL
+
+ [underlying sink's write should not be called until start finishes]
+ expected: FAIL
+
+ [underlying sink's close should not be called until start finishes]
+ expected: FAIL
+
+ [when start() rejects, writer promises should reject in standard order]
+ expected: FAIL
+
+
+[start.any.worker.html]
+ [underlying sink's write or close should not be called if start throws]
+ expected: FAIL
+
+ [controller.error() during start should cause writes to fail]
+ expected: FAIL
+
+ [underlying sink's write or close should not be invoked if the promise returned by start is rejected]
+ expected: FAIL
+
+ [controller.error() during async start should cause existing writes to fail]
+ expected: FAIL
+
+ [returning a thenable from start() should work]
+ expected: FAIL
+
+ [underlying sink's write should not be called until start finishes]
+ expected: FAIL
+
+ [underlying sink's close should not be called until start finishes]
+ expected: FAIL
+
+ [when start() rejects, writer promises should reject in standard order]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/streams/writable-streams/start.dedicatedworker.html.ini b/testing/web-platform/meta/streams/writable-streams/start.dedicatedworker.html.ini
deleted file mode 100644
index 8cc9458c5f2e6..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/start.dedicatedworker.html.ini
+++ /dev/null
@@ -1,25 +0,0 @@
-[start.dedicatedworker.html]
- [underlying sink's write should not be called until start finishes]
- expected: FAIL
-
- [underlying sink's close should not be called until start finishes]
- expected: FAIL
-
- [underlying sink's write or close should not be called if start throws]
- expected: FAIL
-
- [underlying sink's write or close should not be invoked if the promise returned by start is rejected]
- expected: FAIL
-
- [returning a thenable from start() should work]
- expected: FAIL
-
- [controller.error() during start should cause writes to fail]
- expected: FAIL
-
- [controller.error() during async start should cause existing writes to fail]
- expected: FAIL
-
- [when start() rejects, writer promises should reject in standard order]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/start.html.ini b/testing/web-platform/meta/streams/writable-streams/start.html.ini
deleted file mode 100644
index 6334812c76e1c..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/start.html.ini
+++ /dev/null
@@ -1,25 +0,0 @@
-[start.html]
- [underlying sink's write should not be called until start finishes]
- expected: FAIL
-
- [underlying sink's close should not be called until start finishes]
- expected: FAIL
-
- [underlying sink's write or close should not be called if start throws]
- expected: FAIL
-
- [underlying sink's write or close should not be invoked if the promise returned by start is rejected]
- expected: FAIL
-
- [returning a thenable from start() should work]
- expected: FAIL
-
- [controller.error() during start should cause writes to fail]
- expected: FAIL
-
- [controller.error() during async start should cause existing writes to fail]
- expected: FAIL
-
- [when start() rejects, writer promises should reject in standard order]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/start.serviceworker.https.html.ini b/testing/web-platform/meta/streams/writable-streams/start.serviceworker.https.html.ini
deleted file mode 100644
index 130911246832f..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/start.serviceworker.https.html.ini
+++ /dev/null
@@ -1,25 +0,0 @@
-[start.serviceworker.https.html]
- [underlying sink's write should not be called until start finishes]
- expected: FAIL
-
- [underlying sink's close should not be called until start finishes]
- expected: FAIL
-
- [underlying sink's write or close should not be called if start throws]
- expected: FAIL
-
- [underlying sink's write or close should not be invoked if the promise returned by start is rejected]
- expected: FAIL
-
- [returning a thenable from start() should work]
- expected: FAIL
-
- [controller.error() during start should cause writes to fail]
- expected: FAIL
-
- [controller.error() during async start should cause existing writes to fail]
- expected: FAIL
-
- [when start() rejects, writer promises should reject in standard order]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/start.sharedworker.html.ini b/testing/web-platform/meta/streams/writable-streams/start.sharedworker.html.ini
deleted file mode 100644
index 4f02189e4d35b..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/start.sharedworker.html.ini
+++ /dev/null
@@ -1,25 +0,0 @@
-[start.sharedworker.html]
- [underlying sink's write should not be called until start finishes]
- expected: FAIL
-
- [underlying sink's close should not be called until start finishes]
- expected: FAIL
-
- [underlying sink's write or close should not be called if start throws]
- expected: FAIL
-
- [underlying sink's write or close should not be invoked if the promise returned by start is rejected]
- expected: FAIL
-
- [returning a thenable from start() should work]
- expected: FAIL
-
- [controller.error() during start should cause writes to fail]
- expected: FAIL
-
- [controller.error() during async start should cause existing writes to fail]
- expected: FAIL
-
- [when start() rejects, writer promises should reject in standard order]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/write.any.js.ini b/testing/web-platform/meta/streams/writable-streams/write.any.js.ini
new file mode 100644
index 0000000000000..802e73f78a557
--- /dev/null
+++ b/testing/web-platform/meta/streams/writable-streams/write.any.js.ini
@@ -0,0 +1,127 @@
+[write.any.sharedworker.html]
+ [fulfillment value of ws.write() call should be undefined even if the underlying sink returns a non-undefined value]
+ expected: FAIL
+
+ [WritableStream should complete asynchronous writes before close resolves]
+ expected: FAIL
+
+ [returning a thenable from write() should work]
+ expected: FAIL
+
+ [WritableStream should complete synchronous writes before close resolves]
+ expected: FAIL
+
+ [writer.write(), ready and closed reject with the error passed to controller.error() made before sink.write rejection]
+ expected: FAIL
+
+ [when sink's write throws an error, the stream should become errored and the promise should reject]
+ expected: FAIL
+
+ [WritableStream should transition to waiting until write is acknowledged]
+ expected: FAIL
+
+ [WritableStreamDefaultWriter should work when manually constructed]
+ expected: FAIL
+
+ [a large queue of writes should be processed completely]
+ expected: FAIL
+
+ [when write returns a rejected promise, queued writes and close should be cleared]
+ expected: FAIL
+
+
+[write.any.worker.html]
+ [fulfillment value of ws.write() call should be undefined even if the underlying sink returns a non-undefined value]
+ expected: FAIL
+
+ [WritableStream should complete asynchronous writes before close resolves]
+ expected: FAIL
+
+ [returning a thenable from write() should work]
+ expected: FAIL
+
+ [WritableStream should complete synchronous writes before close resolves]
+ expected: FAIL
+
+ [writer.write(), ready and closed reject with the error passed to controller.error() made before sink.write rejection]
+ expected: FAIL
+
+ [when sink's write throws an error, the stream should become errored and the promise should reject]
+ expected: FAIL
+
+ [WritableStream should transition to waiting until write is acknowledged]
+ expected: FAIL
+
+ [WritableStreamDefaultWriter should work when manually constructed]
+ expected: FAIL
+
+ [a large queue of writes should be processed completely]
+ expected: FAIL
+
+ [when write returns a rejected promise, queued writes and close should be cleared]
+ expected: FAIL
+
+
+[write.any.html]
+ [fulfillment value of ws.write() call should be undefined even if the underlying sink returns a non-undefined value]
+ expected: FAIL
+
+ [WritableStream should complete asynchronous writes before close resolves]
+ expected: FAIL
+
+ [returning a thenable from write() should work]
+ expected: FAIL
+
+ [WritableStream should complete synchronous writes before close resolves]
+ expected: FAIL
+
+ [writer.write(), ready and closed reject with the error passed to controller.error() made before sink.write rejection]
+ expected: FAIL
+
+ [when sink's write throws an error, the stream should become errored and the promise should reject]
+ expected: FAIL
+
+ [WritableStream should transition to waiting until write is acknowledged]
+ expected: FAIL
+
+ [WritableStreamDefaultWriter should work when manually constructed]
+ expected: FAIL
+
+ [a large queue of writes should be processed completely]
+ expected: FAIL
+
+ [when write returns a rejected promise, queued writes and close should be cleared]
+ expected: FAIL
+
+
+[write.any.serviceworker.html]
+ [fulfillment value of ws.write() call should be undefined even if the underlying sink returns a non-undefined value]
+ expected: FAIL
+
+ [WritableStream should complete asynchronous writes before close resolves]
+ expected: FAIL
+
+ [returning a thenable from write() should work]
+ expected: FAIL
+
+ [WritableStream should complete synchronous writes before close resolves]
+ expected: FAIL
+
+ [writer.write(), ready and closed reject with the error passed to controller.error() made before sink.write rejection]
+ expected: FAIL
+
+ [when sink's write throws an error, the stream should become errored and the promise should reject]
+ expected: FAIL
+
+ [WritableStream should transition to waiting until write is acknowledged]
+ expected: FAIL
+
+ [WritableStreamDefaultWriter should work when manually constructed]
+ expected: FAIL
+
+ [a large queue of writes should be processed completely]
+ expected: FAIL
+
+ [when write returns a rejected promise, queued writes and close should be cleared]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/streams/writable-streams/write.dedicatedworker.html.ini b/testing/web-platform/meta/streams/writable-streams/write.dedicatedworker.html.ini
deleted file mode 100644
index a04cd128cfad0..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/write.dedicatedworker.html.ini
+++ /dev/null
@@ -1,31 +0,0 @@
-[write.dedicatedworker.html]
- [WritableStream should complete asynchronous writes before close resolves]
- expected: FAIL
-
- [WritableStream should complete synchronous writes before close resolves]
- expected: FAIL
-
- [fulfillment value of ws.write() call should be undefined even if the underlying sink returns a non-undefined value]
- expected: FAIL
-
- [WritableStream should transition to waiting until write is acknowledged]
- expected: FAIL
-
- [when write returns a rejected promise, queued writes and close should be cleared]
- expected: FAIL
-
- [when sink's write throws an error, the stream should become errored and the promise should reject]
- expected: FAIL
-
- [writer.write(), ready and closed reject with the error passed to controller.error() made before sink.write rejection]
- expected: FAIL
-
- [a large queue of writes should be processed completely]
- expected: FAIL
-
- [WritableStreamDefaultWriter should work when manually constructed]
- expected: FAIL
-
- [returning a thenable from write() should work]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/write.html.ini b/testing/web-platform/meta/streams/writable-streams/write.html.ini
deleted file mode 100644
index d1634b5164bb3..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/write.html.ini
+++ /dev/null
@@ -1,31 +0,0 @@
-[write.html]
- [WritableStream should complete asynchronous writes before close resolves]
- expected: FAIL
-
- [WritableStream should complete synchronous writes before close resolves]
- expected: FAIL
-
- [fulfillment value of ws.write() call should be undefined even if the underlying sink returns a non-undefined value]
- expected: FAIL
-
- [WritableStream should transition to waiting until write is acknowledged]
- expected: FAIL
-
- [when write returns a rejected promise, queued writes and close should be cleared]
- expected: FAIL
-
- [when sink's write throws an error, the stream should become errored and the promise should reject]
- expected: FAIL
-
- [writer.write(), ready and closed reject with the error passed to controller.error() made before sink.write rejection]
- expected: FAIL
-
- [a large queue of writes should be processed completely]
- expected: FAIL
-
- [WritableStreamDefaultWriter should work when manually constructed]
- expected: FAIL
-
- [returning a thenable from write() should work]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/write.serviceworker.https.html.ini b/testing/web-platform/meta/streams/writable-streams/write.serviceworker.https.html.ini
deleted file mode 100644
index 8d4ffd947a91a..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/write.serviceworker.https.html.ini
+++ /dev/null
@@ -1,31 +0,0 @@
-[write.serviceworker.https.html]
- [WritableStream should complete asynchronous writes before close resolves]
- expected: FAIL
-
- [WritableStream should complete synchronous writes before close resolves]
- expected: FAIL
-
- [fulfillment value of ws.write() call should be undefined even if the underlying sink returns a non-undefined value]
- expected: FAIL
-
- [WritableStream should transition to waiting until write is acknowledged]
- expected: FAIL
-
- [when write returns a rejected promise, queued writes and close should be cleared]
- expected: FAIL
-
- [when sink's write throws an error, the stream should become errored and the promise should reject]
- expected: FAIL
-
- [writer.write(), ready and closed reject with the error passed to controller.error() made before sink.write rejection]
- expected: FAIL
-
- [a large queue of writes should be processed completely]
- expected: FAIL
-
- [WritableStreamDefaultWriter should work when manually constructed]
- expected: FAIL
-
- [returning a thenable from write() should work]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/streams/writable-streams/write.sharedworker.html.ini b/testing/web-platform/meta/streams/writable-streams/write.sharedworker.html.ini
deleted file mode 100644
index a0209c9cc9c93..0000000000000
--- a/testing/web-platform/meta/streams/writable-streams/write.sharedworker.html.ini
+++ /dev/null
@@ -1,31 +0,0 @@
-[write.sharedworker.html]
- [WritableStream should complete asynchronous writes before close resolves]
- expected: FAIL
-
- [WritableStream should complete synchronous writes before close resolves]
- expected: FAIL
-
- [fulfillment value of ws.write() call should be undefined even if the underlying sink returns a non-undefined value]
- expected: FAIL
-
- [WritableStream should transition to waiting until write is acknowledged]
- expected: FAIL
-
- [when write returns a rejected promise, queued writes and close should be cleared]
- expected: FAIL
-
- [when sink's write throws an error, the stream should become errored and the promise should reject]
- expected: FAIL
-
- [writer.write(), ready and closed reject with the error passed to controller.error() made before sink.write rejection]
- expected: FAIL
-
- [a large queue of writes should be processed completely]
- expected: FAIL
-
- [WritableStreamDefaultWriter should work when manually constructed]
- expected: FAIL
-
- [returning a thenable from write() should work]
- expected: FAIL
-
From a3ac37caf0cc63d6f20545f6ad161437ce1be5ea Mon Sep 17 00:00:00 2001
From: Jan-Ivar Bruaroey
Date: Fri, 30 Nov 2018 16:53:38 +0000
Subject: [PATCH 026/143] Bug 1509239 [wpt PR 14175] - Fix bad merge 'Merge
branch 'master' into gecko/1498793'., a=testonly
Automatic update from web-platform-testsFix bad merge 'Merge branch 'master' into gecko/1498793'.
--
Merge pull request #14175 from jan-ivar/mergefix
Fix bad merge 'Merge branch 'master' into gecko/1498793'.
--
wpt-commits: 379c165e7c1d84d67fa1c53eb3c8c642566427f9, deaca4f1919bd2e44a708fce3a708e01e244da65
wpt-pr: 14175
---
.../tests/webrtc/RTCRtpTransceiver.https.html | 20 +++++++++++++++++++
...ver-with-OfferToReceive-options.https.html | 4 ++--
2 files changed, 22 insertions(+), 2 deletions(-)
diff --git a/testing/web-platform/tests/webrtc/RTCRtpTransceiver.https.html b/testing/web-platform/tests/webrtc/RTCRtpTransceiver.https.html
index 7d16deaa8c763..05decbdcae6e1 100644
--- a/testing/web-platform/tests/webrtc/RTCRtpTransceiver.https.html
+++ b/testing/web-platform/tests/webrtc/RTCRtpTransceiver.https.html
@@ -387,6 +387,26 @@
hasProps(pc.getTransceivers(), []);
};
+ const checkMsidNoTrackId = async t => {
+ const pc1 = new RTCPeerConnection();
+ const pc2 = new RTCPeerConnection();
+ t.add_cleanup(() => pc1.close());
+ t.add_cleanup(() => pc2.close());
+ const stream = await navigator.mediaDevices.getUserMedia({audio: true});
+ t.add_cleanup(() => stopTracks(stream));
+ const track = stream.getAudioTracks()[0];
+ pc1.addTrack(track, stream);
+ const offer = await pc1.createOffer();
+ await pc1.setLocalDescription(offer);
+ // Remove track-id from msid
+ offer.sdp = offer.sdp.replace(/(a=msid:[^ \t]+).*\r\n/g, "$1\r\n");
+ assert_true(offer.sdp.includes(`a=msid:${stream.id}\r\n`));
+ await pc2.setRemoteDescription(offer);
+ const answer = await pc2.createAnswer();
+ await pc1.setRemoteDescription(answer);
+ await pc2.setLocalDescription(answer);
+ };
+
const checkNoMidOffer = async t => {
const pc1 = new RTCPeerConnection();
const pc2 = new RTCPeerConnection();
diff --git a/testing/web-platform/tests/webrtc/legacy/RTCRtpTransceiver-with-OfferToReceive-options.https.html b/testing/web-platform/tests/webrtc/legacy/RTCRtpTransceiver-with-OfferToReceive-options.https.html
index 8c2975214c4dc..9addb00987343 100644
--- a/testing/web-platform/tests/webrtc/legacy/RTCRtpTransceiver-with-OfferToReceive-options.https.html
+++ b/testing/web-platform/tests/webrtc/legacy/RTCRtpTransceiver-with-OfferToReceive-options.https.html
@@ -69,9 +69,9 @@
]);
const offer = await pc.createOffer();
- assert_true(offer.sdp.includes("a=msid:" + audioStream.id + " " + audio.id),
+ assert_true(offer.sdp.includes("a=msid:" + audioStream.id),
"offer contains the expected audio msid");
- assert_true(offer.sdp.includes("a=msid:" + videoStream.id + " " + video.id),
+ assert_true(offer.sdp.includes("a=msid:" + videoStream.id),
"offer contains the expected video msid");
};
From cf5bea0f5fc88bb3f2261a8822cdd15f50aef6ba Mon Sep 17 00:00:00 2001
From: Ian Clelland
Date: Fri, 30 Nov 2018 16:53:40 +0000
Subject: [PATCH 027/143] Bug 1508914 [wpt PR 14154] - Fix Feature Policy
report output, a=testonly
Automatic update from web-platform-testsFix Feature Policy report output
This brings the feature policy report format in line with the spec,
and fixes the tests which were broken by WPT import.
Bug: 907232
Change-Id: If9d9469956221c18a1aa72ee39debb1340efc01f
Reviewed-on: https://chromium-review.googlesource.com/c/1338167
Commit-Queue: Ian Clelland
Reviewed-by: Kinuko Yasuda
Cr-Commit-Position: refs/heads/master@{#610427}
--
wpt-commits: 1832abd9419a532881abe413ef20e717ee8d2a3e
wpt-pr: 14154
---
.../experimental-features/resources/common.js | 4 ++--
.../reporting/camera-report-only.https.html | 6 +++---
.../reporting/camera-reporting.https.html | 1 -
.../reporting/document-write-report-only.html | 6 +++---
.../reporting/document-write-reporting.html | 1 -
.../encrypted-media-report-only.https.html | 6 +++---
.../reporting/encrypted-media-reporting.https.html | 7 +++----
.../reporting/fullscreen-report-only.html | 6 +++---
.../reporting/fullscreen-reporting.html | 1 -
.../reporting/generic-sensor-report-only.https.html | 13 ++++++-------
.../reporting/generic-sensor-reporting.https.html | 13 ++++++-------
.../reporting/geolocation-report-only.https.html | 6 +++---
.../reporting/geolocation-reporting.https.html | 2 --
.../reporting/microphone-report-only.https.html | 6 +++---
.../reporting/microphone-reporting.https.html | 1 -
.../feature-policy/reporting/midi-report-only.html | 6 +++---
.../feature-policy/reporting/midi-reporting.html | 1 -
.../reporting/payment-report-only.https.html | 6 +++---
.../reporting/payment-reporting.https.html | 1 -
.../reporting/picture-in-picture-report-only.html | 6 +++---
.../reporting/picture-in-picture-reporting.html | 9 ++++-----
.../reporting/sync-xhr-report-only.html | 6 +++---
.../reporting/sync-xhr-reporting.html | 1 -
.../reporting/unsized-media-reporting.html | 2 +-
.../reporting/usb-report-only.https.html | 6 +++---
.../reporting/usb-reporting.https.html | 1 -
.../reporting/vr-report-only.https.html | 9 ++++-----
.../reporting/vr-reporting.https.html | 1 -
.../reporting/xr-report-only.https.html | 9 ++++-----
.../reporting/xr-reporting.https.html | 1 -
30 files changed, 63 insertions(+), 81 deletions(-)
diff --git a/testing/web-platform/tests/feature-policy/experimental-features/resources/common.js b/testing/web-platform/tests/feature-policy/experimental-features/resources/common.js
index 42790b8a2e79c..cbd0518ff2152 100644
--- a/testing/web-platform/tests/feature-policy/experimental-features/resources/common.js
+++ b/testing/web-platform/tests/feature-policy/experimental-features/resources/common.js
@@ -70,7 +70,7 @@ window.reporting_observer_instance = new ReportingObserver((reports, observer) =
if (window.reporting_observer_callback) {
reports.forEach(window.reporting_observer_callback);
}
-}, {types: ["feature-policy"]});
+}, {types: ["feature-policy-violation"]});
window.reporting_observer_instance.observe();
window.reporting_observer_callback = null;
@@ -79,7 +79,7 @@ function wait_for_violation_in_file(feature, file_name) {
return new Promise( (resolve) => {
assert_equals(null, window.reporting_observer_callback);
window.reporting_observer_callback = (report) => {
- var feature_match = (feature === report.body.feature);
+ var feature_match = (feature === report.body.featureId);
var file_name_match =
!file_name ||
(report.body.sourceFile.indexOf(file_name) !== -1);
diff --git a/testing/web-platform/tests/feature-policy/reporting/camera-report-only.https.html b/testing/web-platform/tests/feature-policy/reporting/camera-report-only.https.html
index 26488687e6fc7..c22e1a51740d4 100644
--- a/testing/web-platform/tests/feature-policy/reporting/camera-report-only.https.html
+++ b/testing/web-platform/tests/feature-policy/reporting/camera-report-only.https.html
@@ -10,15 +10,15 @@
-
+
+
From 737d8961c96ab3714a46f47213b4cddc5e14c81e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Philip=20J=C3=A4genstedt?=
Date: Fri, 30 Nov 2018 16:53:49 +0000
Subject: [PATCH 030/143] Bug 1506701 [wpt PR 14025] - Find manifest for
download by tags instead of commits, a=testonly
Automatic update from web-platform-testsFind manifest for download by tags instead of commits
This makes it possible to use `./wpt manifest` on a checkout that is
more than 50 commits behind master. The downside is that it will require
more network requests if the most recent tag/tags don't have releases
uploaded.
Add more warnings to make it clearer why it goes wrong when it does.
--
wpt-commits: 3657828ff4243fcc2f3b3fa4e7bed34d646ad565
wpt-pr: 14025
---
.../tests/tools/manifest/download.py | 79 ++++++++++---------
1 file changed, 43 insertions(+), 36 deletions(-)
diff --git a/testing/web-platform/tests/tools/manifest/download.py b/testing/web-platform/tests/tools/manifest/download.py
index 8bb3cb673de54..2e505f371ed88 100644
--- a/testing/web-platform/tests/tools/manifest/download.py
+++ b/testing/web-platform/tests/tools/manifest/download.py
@@ -33,46 +33,53 @@ def should_download(manifest_path, rebuild_time=timedelta(days=5)):
return False
-def git_commits(repo_root):
+def merge_pr_tags(repo_root, max_count=50):
git = Git.get_func(repo_root)
- return [item for item in git("log", "--format=%H", "-n50").split("\n") if item]
-
-
-def github_url(commits):
- try:
- resp = urlopen("https://api.github.com/repos/web-platform-tests/wpt/releases")
- except Exception:
- return None
-
- if resp.code != 200:
- return None
-
- try:
- releases = json.load(resp.fp)
- except ValueError:
- logger.warning("Response was not valid JSON")
- return None
-
- fallback = None
- for release in releases:
- for commit in commits:
- for item in release["assets"]:
- if item["name"] == "MANIFEST-%s.json.gz" % commit:
- return item["browser_download_url"]
- elif item["name"] == "MANIFEST.json.gz" and not fallback:
- fallback = item["browser_download_url"]
- if fallback:
- logger.info("Can't find a commit-specific manifest so just using the most recent one")
- return fallback
-
-
-def download_manifest(manifest_path, commits_func, url_func, force=False):
+ tags = []
+ for line in git("log", "--format=%D", "--max-count=%s" % max_count).split("\n"):
+ for ref in line.split(", "):
+ if ref.startswith("tag: merge_pr_"):
+ tags.append(ref[5:])
+ return tags
+
+
+def github_url(tags):
+ for tag in tags:
+ url = "https://api.github.com/repos/web-platform-tests/wpt/releases/tags/%s" % tag
+ try:
+ resp = urlopen(url)
+ except Exception:
+ logger.warning("Fetching %s failed" % url)
+ continue
+
+ if resp.code != 200:
+ logger.warning("Fetching %s failed; got HTTP status %d" % (url, resp.code))
+ continue
+
+ try:
+ release = json.load(resp.fp)
+ except ValueError:
+ logger.warning("Response was not valid JSON")
+ return None
+
+ for item in release["assets"]:
+ # Accept both ways of naming the manfest asset, even though
+ # there's no longer a reason to include the commit sha.
+ if item["name"].startswith("MANIFEST-") and item["name"].endswith(".json.gz"):
+ return item["browser_download_url"]
+ elif item["name"] == "MANIFEST.json.gz":
+ return item["browser_download_url"]
+
+ return None
+
+
+def download_manifest(manifest_path, tags_func, url_func, force=False):
if not force and not should_download(manifest_path):
return False
- commits = commits_func()
+ tags = tags_func()
- url = url_func(commits)
+ url = url_func(tags)
if not url:
logger.warning("No generated manifest found")
return False
@@ -120,7 +127,7 @@ def create_parser():
def download_from_github(path, tests_root, force=False):
- return download_manifest(path, lambda: git_commits(tests_root), github_url,
+ return download_manifest(path, lambda: merge_pr_tags(tests_root), github_url,
force=force)
From d9c67b8b776e1a3e77cf2e2050b55d1d3323bc82 Mon Sep 17 00:00:00 2001
From: Domenic Denicola
Date: Fri, 30 Nov 2018 16:53:51 +0000
Subject: [PATCH 031/143] Bug 1508928 [wpt PR 14157] - Add tests for no active
script in import(), a=testonly
Automatic update from web-platform-testsAdd tests for no active script in import() (#14157)
Follows https://github.com/whatwg/html/pull/4181.
--
wpt-commits: 5241a3fe2c638f9fadcc040f39f3e6a71a2be2e1
wpt-pr: 14157
---
.../no-active-script-manual-classic.html | 55 +++++++++++++++++++
.../no-active-script-manual-module.html | 55 +++++++++++++++++++
.../scripts/no-active-script.js | 5 ++
3 files changed, 115 insertions(+)
create mode 100644 testing/web-platform/tests/html/semantics/scripting-1/the-script-element/module/dynamic-import/no-active-script-manual-classic.html
create mode 100644 testing/web-platform/tests/html/semantics/scripting-1/the-script-element/module/dynamic-import/no-active-script-manual-module.html
create mode 100644 testing/web-platform/tests/html/semantics/scripting-1/the-script-element/module/dynamic-import/scripts/no-active-script.js
diff --git a/testing/web-platform/tests/html/semantics/scripting-1/the-script-element/module/dynamic-import/no-active-script-manual-classic.html b/testing/web-platform/tests/html/semantics/scripting-1/the-script-element/module/dynamic-import/no-active-script-manual-classic.html
new file mode 100644
index 0000000000000..b01f595c03e94
--- /dev/null
+++ b/testing/web-platform/tests/html/semantics/scripting-1/the-script-element/module/dynamic-import/no-active-script-manual-classic.html
@@ -0,0 +1,55 @@
+
+
+Dynamic import when there is no active script
+
+
+
+
+
Click these buttons in sequence:
+
+
+
+
+
+
The result will be pass/fail per the testharness.js results
+
+
+
+
+
diff --git a/testing/web-platform/tests/html/semantics/scripting-1/the-script-element/module/dynamic-import/no-active-script-manual-module.html b/testing/web-platform/tests/html/semantics/scripting-1/the-script-element/module/dynamic-import/no-active-script-manual-module.html
new file mode 100644
index 0000000000000..359b71d821c31
--- /dev/null
+++ b/testing/web-platform/tests/html/semantics/scripting-1/the-script-element/module/dynamic-import/no-active-script-manual-module.html
@@ -0,0 +1,55 @@
+
+
+Dynamic import when there is no active script
+
+
+
+
+
Click these buttons in sequence:
+
+
+
+
+
+
The result will be pass/fail per the testharness.js results
+ Step 1: Click the "make busy" button to make main-thread busy for 2 seconds.
+
+
+ Step 2: do several clicks on "click while busy" while busy to generate long-latency inputs.
+
+
+ Step 3: observe in the "timeline" section that the long-latency clicks are captured by the observer.
+
+
+ Step 4: do step 1 to step 3 for the iframe. Observe that the observers only observe input events within its frame.
+
+
+
+
Actions:
+
+
+
+
iframe:
+
+
+
+
Timeline:
+
+
+
+
diff --git a/testing/web-platform/tests/event-timing/event-timing-observethenonload.html b/testing/web-platform/tests/event-timing/event-timing-observethenonload.html
new file mode 100644
index 0000000000000..03279b74255f7
--- /dev/null
+++ b/testing/web-platform/tests/event-timing/event-timing-observethenonload.html
@@ -0,0 +1,91 @@
+
+
+
+Event Timing: Performance observers can observe long-latency events
+
+
+
+
+
+
+
+
+
+
+
diff --git a/testing/web-platform/tests/event-timing/event-timing-onloadthenobserve-firstInput.html b/testing/web-platform/tests/event-timing/event-timing-onloadthenobserve-firstInput.html
new file mode 100644
index 0000000000000..4d99d5f36b6ce
--- /dev/null
+++ b/testing/web-platform/tests/event-timing/event-timing-onloadthenobserve-firstInput.html
@@ -0,0 +1,55 @@
+
+
+
+Event Timing: buffer long-latency events before onload
+
+
+
+
+
+
+
+
+
diff --git a/testing/web-platform/tests/event-timing/event-timing-onloadthenobserve.html b/testing/web-platform/tests/event-timing/event-timing-onloadthenobserve.html
new file mode 100644
index 0000000000000..cb5e55718c5b5
--- /dev/null
+++ b/testing/web-platform/tests/event-timing/event-timing-onloadthenobserve.html
@@ -0,0 +1,76 @@
+
+
+
+Event Timing: long-latency events after onload and before observer
+registration are lost
+
+
+
+
+
+
+
+
+
diff --git a/testing/web-platform/tests/event-timing/event-timing-only-observe-firstInput.html b/testing/web-platform/tests/event-timing/event-timing-only-observe-firstInput.html
new file mode 100644
index 0000000000000..986dc3675e285
--- /dev/null
+++ b/testing/web-platform/tests/event-timing/event-timing-only-observe-firstInput.html
@@ -0,0 +1,48 @@
+
+
+
+Event Timing: only observe the first input
+
+
+
+
+
+
+
+
+
diff --git a/testing/web-platform/tests/event-timing/event-timing-retrievability.html b/testing/web-platform/tests/event-timing/event-timing-retrievability.html
new file mode 100644
index 0000000000000..a342c1d8a4c2e
--- /dev/null
+++ b/testing/web-platform/tests/event-timing/event-timing-retrievability.html
@@ -0,0 +1,41 @@
+
+
+
+Event Timing: make sure event-timing entries are retrievable by existing perf APIs.
+
+
+
+
+
+
+
+
+
+
diff --git a/testing/web-platform/tests/event-timing/event-timing-timingconditions.html b/testing/web-platform/tests/event-timing/event-timing-timingconditions.html
new file mode 100644
index 0000000000000..338d8b778f77d
--- /dev/null
+++ b/testing/web-platform/tests/event-timing/event-timing-timingconditions.html
@@ -0,0 +1,68 @@
+
+
+
+Event Timing only times certain types of trusted event.
+
+
+
+
+
+
+
+
+
diff --git a/testing/web-platform/tests/event-timing/resources/event-timing-crossiframe-childframe.html b/testing/web-platform/tests/event-timing/resources/event-timing-crossiframe-childframe.html
new file mode 100644
index 0000000000000..e48a202e75a6c
--- /dev/null
+++ b/testing/web-platform/tests/event-timing/resources/event-timing-crossiframe-childframe.html
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
diff --git a/testing/web-platform/tests/event-timing/resources/event-timing-observer-manual-childframe.html b/testing/web-platform/tests/event-timing/resources/event-timing-observer-manual-childframe.html
new file mode 100644
index 0000000000000..99853661bde3e
--- /dev/null
+++ b/testing/web-platform/tests/event-timing/resources/event-timing-observer-manual-childframe.html
@@ -0,0 +1,43 @@
+
+
+
+
+
+
+
+
+
Actions:
+
+
+
+
+
Timeline:
+
+
+
diff --git a/testing/web-platform/tests/event-timing/resources/event-timing-support.js b/testing/web-platform/tests/event-timing/resources/event-timing-support.js
new file mode 100644
index 0000000000000..60f4faaf6ed46
--- /dev/null
+++ b/testing/web-platform/tests/event-timing/resources/event-timing-support.js
@@ -0,0 +1,51 @@
+function clickOnElement(id, resolve) {
+ const element = document.getElementById(id);
+ test_driver.click(element).then(resolve);
+}
+
+function mainThreadBusy(duration) {
+ const now = performance.now();
+ while (performance.now() < now + duration);
+}
+
+// This method should receive an entry of type 'event'. |is_first| is true only
+// when the event also happens to correspond to the first event. In this case,
+// the timings of the 'firstInput' entry should be equal to those of this entry.
+function verifyClickEvent(entry, is_first=false) {
+ assert_true(entry.cancelable);
+ assert_equals(entry.name, 'mousedown');
+ assert_equals(entry.entryType, 'event');
+ assert_greater_than(entry.duration, 50,
+ "The entry's duration should be greater than 50ms.");
+ assert_greater_than(entry.processingStart, entry.startTime,
+ "The entry's processingStart should be greater than startTime.");
+ assert_greater_than_equal(entry.processingEnd, entry.processingStart,
+ "The entry's processingEnd must be at least as large as processingStart.");
+ assert_greater_than_equal(entry.duration, entry.processingEnd - entry.startTime,
+ "The entry's duration must be at least as large as processingEnd - startTime.");
+ if (is_first) {
+ const firstInputs = performance.getEntriesByType('firstInput');
+ assert_equals(firstInputs.length, 1, 'There should be a single firstInput entry');
+ const firstInput = firstInputs[0];
+ assert_equals(firstInput.name, entry.name);
+ assert_equals(firstInput.entryType, 'firstInput');
+ assert_equals(firstInput.startTime, entry.startTime);
+ assert_equals(firstInput.duration, entry.duration);
+ assert_equals(firstInput.processingStart, entry.processingStart);
+ assert_equals(firstInput.processingEnd, entry.processingEnd);
+ assert_equals(firstInput.cancelable, entry.cancelable);
+ }
+}
+
+function wait() {
+ return new Promise((resolve, reject) => {
+ step_timeout(resolve, 0);
+ });
+}
+
+function clickAndBlockMain(id) {
+ return new Promise((resolve, reject) => {
+ clickOnElement(id, resolve);
+ mainThreadBusy(300);
+ });
+}
diff --git a/testing/web-platform/tests/event-timing/resources/slow-image.py b/testing/web-platform/tests/event-timing/resources/slow-image.py
new file mode 100644
index 0000000000000..5c2d1b1fc5d8e
--- /dev/null
+++ b/testing/web-platform/tests/event-timing/resources/slow-image.py
@@ -0,0 +1,7 @@
+import time
+
+def main(request, response):
+ # Sleep for 500ms to delay onload.
+ time.sleep(0.5)
+ response.headers.set("Cache-Control", "no-cache, must-revalidate");
+ response.headers.set("Location", "data:image/gif;base64,R0lGODlhAQABAJAAAMjIyAAAACwAAAAAAQABAAACAgQBADs%3D");
From a611462bbc72505817ebe7065f8efdb12f0d1be1 Mon Sep 17 00:00:00 2001
From: moz-wptsync-bot
Date: Fri, 23 Nov 2018 15:23:59 +0000
Subject: [PATCH 035/143] Bug 1509436 [wpt PR 14195] - Update wpt metadata,
a=testonly
wpt-pr: 14195
wpt-type: metadata
---
.../event-timing/event-timing-bufferbeforeonload.html.ini | 4 ++++
.../meta/event-timing/event-timing-crossiframe.html.ini | 4 ++++
.../event-timing/event-timing-observethenonload.html.ini | 5 +++++
.../event-timing-onloadthenobserve-firstInput.html.ini | 5 +++++
.../event-timing/event-timing-onloadthenobserve.html.ini | 5 +++++
.../event-timing-only-observe-firstInput.html.ini | 4 ++++
.../meta/event-timing/event-timing-retrievability.html.ini | 5 +++++
.../meta/event-timing/event-timing-timingconditions.html.ini | 5 +++++
8 files changed, 37 insertions(+)
create mode 100644 testing/web-platform/meta/event-timing/event-timing-bufferbeforeonload.html.ini
create mode 100644 testing/web-platform/meta/event-timing/event-timing-crossiframe.html.ini
create mode 100644 testing/web-platform/meta/event-timing/event-timing-observethenonload.html.ini
create mode 100644 testing/web-platform/meta/event-timing/event-timing-onloadthenobserve-firstInput.html.ini
create mode 100644 testing/web-platform/meta/event-timing/event-timing-onloadthenobserve.html.ini
create mode 100644 testing/web-platform/meta/event-timing/event-timing-only-observe-firstInput.html.ini
create mode 100644 testing/web-platform/meta/event-timing/event-timing-retrievability.html.ini
create mode 100644 testing/web-platform/meta/event-timing/event-timing-timingconditions.html.ini
diff --git a/testing/web-platform/meta/event-timing/event-timing-bufferbeforeonload.html.ini b/testing/web-platform/meta/event-timing/event-timing-bufferbeforeonload.html.ini
new file mode 100644
index 0000000000000..027d839d363b2
--- /dev/null
+++ b/testing/web-platform/meta/event-timing/event-timing-bufferbeforeonload.html.ini
@@ -0,0 +1,4 @@
+[event-timing-bufferbeforeonload.html]
+ [Event Timing: click, onload.]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/event-timing/event-timing-crossiframe.html.ini b/testing/web-platform/meta/event-timing/event-timing-crossiframe.html.ini
new file mode 100644
index 0000000000000..b310cc39f5cbe
--- /dev/null
+++ b/testing/web-platform/meta/event-timing/event-timing-crossiframe.html.ini
@@ -0,0 +1,4 @@
+[event-timing-crossiframe.html]
+ [Event Timing: entries should only be observable by its own frame.]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/event-timing/event-timing-observethenonload.html.ini b/testing/web-platform/meta/event-timing/event-timing-observethenonload.html.ini
new file mode 100644
index 0000000000000..35bbd6f6a82d8
--- /dev/null
+++ b/testing/web-platform/meta/event-timing/event-timing-observethenonload.html.ini
@@ -0,0 +1,5 @@
+[event-timing-observethenonload.html]
+ expected: TIMEOUT
+ [Event Timing: click, observer, onload, click.]
+ expected: TIMEOUT
+
diff --git a/testing/web-platform/meta/event-timing/event-timing-onloadthenobserve-firstInput.html.ini b/testing/web-platform/meta/event-timing/event-timing-onloadthenobserve-firstInput.html.ini
new file mode 100644
index 0000000000000..46f8a7be30685
--- /dev/null
+++ b/testing/web-platform/meta/event-timing/event-timing-onloadthenobserve-firstInput.html.ini
@@ -0,0 +1,5 @@
+[event-timing-onloadthenobserve-firstInput.html]
+ expected: TIMEOUT
+ [Event Timing: check firstInput after onload, observer, click, click.]
+ expected: TIMEOUT
+
diff --git a/testing/web-platform/meta/event-timing/event-timing-onloadthenobserve.html.ini b/testing/web-platform/meta/event-timing/event-timing-onloadthenobserve.html.ini
new file mode 100644
index 0000000000000..2b43596f3e725
--- /dev/null
+++ b/testing/web-platform/meta/event-timing/event-timing-onloadthenobserve.html.ini
@@ -0,0 +1,5 @@
+[event-timing-onloadthenobserve.html]
+ expected: TIMEOUT
+ [Event Timing: onload, click, observer, click.]
+ expected: TIMEOUT
+
diff --git a/testing/web-platform/meta/event-timing/event-timing-only-observe-firstInput.html.ini b/testing/web-platform/meta/event-timing/event-timing-only-observe-firstInput.html.ini
new file mode 100644
index 0000000000000..1c4f9810ff6cd
--- /dev/null
+++ b/testing/web-platform/meta/event-timing/event-timing-only-observe-firstInput.html.ini
@@ -0,0 +1,4 @@
+[event-timing-only-observe-firstInput.html]
+ [Event Timing: check firstInput for a PerformanceObserver observing only firstInput.]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/event-timing/event-timing-retrievability.html.ini b/testing/web-platform/meta/event-timing/event-timing-retrievability.html.ini
new file mode 100644
index 0000000000000..6b5f156881c4c
--- /dev/null
+++ b/testing/web-platform/meta/event-timing/event-timing-retrievability.html.ini
@@ -0,0 +1,5 @@
+[event-timing-retrievability.html]
+ expected: ERROR
+ [Event Timing: make sure event-timing entries are retrievable by existing perf APIs.]
+ expected: TIMEOUT
+
diff --git a/testing/web-platform/meta/event-timing/event-timing-timingconditions.html.ini b/testing/web-platform/meta/event-timing/event-timing-timingconditions.html.ini
new file mode 100644
index 0000000000000..e7a755ca02a37
--- /dev/null
+++ b/testing/web-platform/meta/event-timing/event-timing-timingconditions.html.ini
@@ -0,0 +1,5 @@
+[event-timing-timingconditions.html]
+ expected: TIMEOUT
+ [Event Timing only times certain types of trusted event.]
+ expected: TIMEOUT
+
From 8fd3fced5465e1de6364f832059aa9ca344c0f26 Mon Sep 17 00:00:00 2001
From: Findit
Date: Fri, 30 Nov 2018 16:54:04 +0000
Subject: [PATCH 036/143] Bug 1509481 [wpt PR 14203] - Revert "[EventTiming]
Move tests to WPT", a=testonly
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Automatic update from web-platform-testsRevert "[EventTiming] Move tests to WPT"
This reverts commit f1fb6d618beab1830a086c43acee5c3c1c8d8028.
Reason for revert:
Findit (https://goo.gl/kROfz5) identified CL at revision 610504 as the
culprit for flakes in the build cycles as shown on:
https://findit-for-me.appspot.com/waterfall/flake/flake-culprit?key=ag9zfmZpbmRpdC1mb3ItbWVyQwsSDEZsYWtlQ3VscHJpdCIxY2hyb21pdW0vZjFmYjZkNjE4YmVhYjE4MzBhMDg2YzQzYWNlZTVjM2MxYzhkODAyOAw
Sample Failed Build: https://ci.chromium.org/buildbot/chromium.mac/Mac10.13%20Tests/6917
Sample Failed Step: webkit_layout_tests on Intel GPU on Mac on Mac-10.12.6
Sample Flaky Test: external/wpt/event-timing/event-timing-timingconditions.html
Original change's description:
> [EventTiming] Move tests to WPT
>
> This CL moves Event Timing tests to web-platform-tests. Relevant changes:
> * Move to using test_driver.click.
> * Replace setTimeout with step_timeout.
> * Move to using a python-based slow image resource.
>
> Bug: 841224
> Change-Id: I21f322546815d7d6bcec4dd1703de50a9296d992
> Reviewed-on: https://chromium-review.googlesource.com/c/1348855
> Commit-Queue: Nicolás Peña Moreno
> Reviewed-by: Timothy Dresser
> Cr-Commit-Position: refs/heads/master@{#610504}
Change-Id: Id18988562dc34b1686497c689605b8436760a10c
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 841224, 907949
Reviewed-on: https://chromium-review.googlesource.com/c/1348732
Cr-Commit-Position: refs/heads/master@{#610512}
--
wpt-commits: 753a43be34a75556916f2225cbdf8254c9d85070
wpt-pr: 14203
---
.../event-timing-bufferbeforeonload.html | 80 ----------------
.../event-timing-crossiframe.html | 90 ------------------
.../event-timing-observer-manual.html | 79 ----------------
.../event-timing-observethenonload.html | 91 -------------------
...t-timing-onloadthenobserve-firstInput.html | 55 -----------
.../event-timing-onloadthenobserve.html | 76 ----------------
.../event-timing-only-observe-firstInput.html | 48 ----------
.../event-timing-retrievability.html | 41 ---------
.../event-timing-timingconditions.html | 68 --------------
.../event-timing-crossiframe-childframe.html | 31 -------
...ent-timing-observer-manual-childframe.html | 43 ---------
.../resources/event-timing-support.js | 51 -----------
.../event-timing/resources/slow-image.py | 7 --
13 files changed, 760 deletions(-)
delete mode 100644 testing/web-platform/tests/event-timing/event-timing-bufferbeforeonload.html
delete mode 100644 testing/web-platform/tests/event-timing/event-timing-crossiframe.html
delete mode 100644 testing/web-platform/tests/event-timing/event-timing-observer-manual.html
delete mode 100644 testing/web-platform/tests/event-timing/event-timing-observethenonload.html
delete mode 100644 testing/web-platform/tests/event-timing/event-timing-onloadthenobserve-firstInput.html
delete mode 100644 testing/web-platform/tests/event-timing/event-timing-onloadthenobserve.html
delete mode 100644 testing/web-platform/tests/event-timing/event-timing-only-observe-firstInput.html
delete mode 100644 testing/web-platform/tests/event-timing/event-timing-retrievability.html
delete mode 100644 testing/web-platform/tests/event-timing/event-timing-timingconditions.html
delete mode 100644 testing/web-platform/tests/event-timing/resources/event-timing-crossiframe-childframe.html
delete mode 100644 testing/web-platform/tests/event-timing/resources/event-timing-observer-manual-childframe.html
delete mode 100644 testing/web-platform/tests/event-timing/resources/event-timing-support.js
delete mode 100644 testing/web-platform/tests/event-timing/resources/slow-image.py
diff --git a/testing/web-platform/tests/event-timing/event-timing-bufferbeforeonload.html b/testing/web-platform/tests/event-timing/event-timing-bufferbeforeonload.html
deleted file mode 100644
index 6e38dc8a00628..0000000000000
--- a/testing/web-platform/tests/event-timing/event-timing-bufferbeforeonload.html
+++ /dev/null
@@ -1,80 +0,0 @@
-
-
-
-Event Timing: buffer long-latency events before onload
-
-
-
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/event-timing/event-timing-crossiframe.html b/testing/web-platform/tests/event-timing/event-timing-crossiframe.html
deleted file mode 100644
index 877901257b4e4..0000000000000
--- a/testing/web-platform/tests/event-timing/event-timing-crossiframe.html
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
- Event Timing: entries should be observable by its own frame.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/event-timing/event-timing-observer-manual.html b/testing/web-platform/tests/event-timing/event-timing-observer-manual.html
deleted file mode 100644
index 9ef7e32a02009..0000000000000
--- a/testing/web-platform/tests/event-timing/event-timing-observer-manual.html
+++ /dev/null
@@ -1,79 +0,0 @@
-
-
-
-
- Event Timing: entries should be observable by its own frame.
-
-
-
-
-
Description:
-
-
- The goal of this manual test is to verify that observers that have
- registered "event" entry type can observe the long-latency input events,
- and verify the same behavior within iframe and in cross-frame scenario.
-
-
-
Manual test steps:
-
-
- Step 1: Click the "make busy" button to make main-thread busy for 2 seconds.
-
-
- Step 2: do several clicks on "click while busy" while busy to generate long-latency inputs.
-
-
- Step 3: observe in the "timeline" section that the long-latency clicks are captured by the observer.
-
-
- Step 4: do step 1 to step 3 for the iframe. Observe that the observers only observe input events within its frame.
-
-
-
-
diff --git a/testing/web-platform/tests/event-timing/resources/event-timing-support.js b/testing/web-platform/tests/event-timing/resources/event-timing-support.js
deleted file mode 100644
index 60f4faaf6ed46..0000000000000
--- a/testing/web-platform/tests/event-timing/resources/event-timing-support.js
+++ /dev/null
@@ -1,51 +0,0 @@
-function clickOnElement(id, resolve) {
- const element = document.getElementById(id);
- test_driver.click(element).then(resolve);
-}
-
-function mainThreadBusy(duration) {
- const now = performance.now();
- while (performance.now() < now + duration);
-}
-
-// This method should receive an entry of type 'event'. |is_first| is true only
-// when the event also happens to correspond to the first event. In this case,
-// the timings of the 'firstInput' entry should be equal to those of this entry.
-function verifyClickEvent(entry, is_first=false) {
- assert_true(entry.cancelable);
- assert_equals(entry.name, 'mousedown');
- assert_equals(entry.entryType, 'event');
- assert_greater_than(entry.duration, 50,
- "The entry's duration should be greater than 50ms.");
- assert_greater_than(entry.processingStart, entry.startTime,
- "The entry's processingStart should be greater than startTime.");
- assert_greater_than_equal(entry.processingEnd, entry.processingStart,
- "The entry's processingEnd must be at least as large as processingStart.");
- assert_greater_than_equal(entry.duration, entry.processingEnd - entry.startTime,
- "The entry's duration must be at least as large as processingEnd - startTime.");
- if (is_first) {
- const firstInputs = performance.getEntriesByType('firstInput');
- assert_equals(firstInputs.length, 1, 'There should be a single firstInput entry');
- const firstInput = firstInputs[0];
- assert_equals(firstInput.name, entry.name);
- assert_equals(firstInput.entryType, 'firstInput');
- assert_equals(firstInput.startTime, entry.startTime);
- assert_equals(firstInput.duration, entry.duration);
- assert_equals(firstInput.processingStart, entry.processingStart);
- assert_equals(firstInput.processingEnd, entry.processingEnd);
- assert_equals(firstInput.cancelable, entry.cancelable);
- }
-}
-
-function wait() {
- return new Promise((resolve, reject) => {
- step_timeout(resolve, 0);
- });
-}
-
-function clickAndBlockMain(id) {
- return new Promise((resolve, reject) => {
- clickOnElement(id, resolve);
- mainThreadBusy(300);
- });
-}
diff --git a/testing/web-platform/tests/event-timing/resources/slow-image.py b/testing/web-platform/tests/event-timing/resources/slow-image.py
deleted file mode 100644
index 5c2d1b1fc5d8e..0000000000000
--- a/testing/web-platform/tests/event-timing/resources/slow-image.py
+++ /dev/null
@@ -1,7 +0,0 @@
-import time
-
-def main(request, response):
- # Sleep for 500ms to delay onload.
- time.sleep(0.5)
- response.headers.set("Cache-Control", "no-cache, must-revalidate");
- response.headers.set("Location", "data:image/gif;base64,R0lGODlhAQABAJAAAMjIyAAAACwAAAAAAQABAAACAgQBADs%3D");
From b20ce37d27d86a5b83862342f9e4a21793f873b6 Mon Sep 17 00:00:00 2001
From: Dominic Farolino
Date: Fri, 30 Nov 2018 16:54:06 +0000
Subject: [PATCH 037/143] Bug 1509506 [wpt PR 14204] - Expect empty string as
default instead of OK, a=testonly
Automatic update from web-platform-testsFetch: expect empty string as default instead of OK
Follow-up to 99e9e996267ccd5c1344b7d0164c5e5763b3b174.
--
wpt-commits: bf2bef64b0056d8641ba1caf65315fa28221add9
wpt-pr: 14204
---
.../web-platform/tests/fetch/api/response/response-clone.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testing/web-platform/tests/fetch/api/response/response-clone.html b/testing/web-platform/tests/fetch/api/response/response-clone.html
index 2eeb78c4c24e5..cc35550797e00 100644
--- a/testing/web-platform/tests/fetch/api/response/response-clone.html
+++ b/testing/web-platform/tests/fetch/api/response/response-clone.html
@@ -15,7 +15,7 @@
"url" : "",
"ok" : true,
"status" : 200,
- "statusText" : "OK"
+ "statusText" : ""
};
var response = new Response();
From 3333222ddef9509284a3fc82927c39bbc734387c Mon Sep 17 00:00:00 2001
From: moz-wptsync-bot
Date: Fri, 23 Nov 2018 19:41:16 +0000
Subject: [PATCH 038/143] Bug 1509506 [wpt PR 14204] - Update wpt metadata,
a=testonly
wpt-pr: 14204
wpt-type: metadata
---
.../meta/fetch/api/response/response-clone.html.ini | 3 +++
1 file changed, 3 insertions(+)
diff --git a/testing/web-platform/meta/fetch/api/response/response-clone.html.ini b/testing/web-platform/meta/fetch/api/response/response-clone.html.ini
index 0c9088a55fd67..66b1c375ca43c 100644
--- a/testing/web-platform/meta/fetch/api/response/response-clone.html.ini
+++ b/testing/web-platform/meta/fetch/api/response/response-clone.html.ini
@@ -35,3 +35,6 @@
[Cloned responses should provide the same data]
expected: FAIL
+ [Check Response's clone with default values, without body]
+ expected: FAIL
+
From b971ecd27adb18e316b55df65ebfbc703fe31672 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Philip=20J=C3=A4genstedt?=
Date: Fri, 30 Nov 2018 16:54:12 +0000
Subject: [PATCH 039/143] Bug 1509526 [wpt PR 14208] - Revert "Find manifest
for download by tags instead of commits", a=testonly
Automatic update from web-platform-testsRevert "Find manifest for download by tags instead of commits"
Possible but unlikely cause of https://github.com/web-platform-tests/wpt/issues/14207.
This reverts commit 3657828ff4243fcc2f3b3fa4e7bed34d646ad565.
--
wpt-commits: 5438f72ea0bc2abb3754b2b906a34d497bd8457c
wpt-pr: 14208
---
.../tests/tools/manifest/download.py | 79 +++++++++----------
1 file changed, 36 insertions(+), 43 deletions(-)
diff --git a/testing/web-platform/tests/tools/manifest/download.py b/testing/web-platform/tests/tools/manifest/download.py
index 2e505f371ed88..8bb3cb673de54 100644
--- a/testing/web-platform/tests/tools/manifest/download.py
+++ b/testing/web-platform/tests/tools/manifest/download.py
@@ -33,53 +33,46 @@ def should_download(manifest_path, rebuild_time=timedelta(days=5)):
return False
-def merge_pr_tags(repo_root, max_count=50):
+def git_commits(repo_root):
git = Git.get_func(repo_root)
- tags = []
- for line in git("log", "--format=%D", "--max-count=%s" % max_count).split("\n"):
- for ref in line.split(", "):
- if ref.startswith("tag: merge_pr_"):
- tags.append(ref[5:])
- return tags
-
-
-def github_url(tags):
- for tag in tags:
- url = "https://api.github.com/repos/web-platform-tests/wpt/releases/tags/%s" % tag
- try:
- resp = urlopen(url)
- except Exception:
- logger.warning("Fetching %s failed" % url)
- continue
-
- if resp.code != 200:
- logger.warning("Fetching %s failed; got HTTP status %d" % (url, resp.code))
- continue
-
- try:
- release = json.load(resp.fp)
- except ValueError:
- logger.warning("Response was not valid JSON")
- return None
-
- for item in release["assets"]:
- # Accept both ways of naming the manfest asset, even though
- # there's no longer a reason to include the commit sha.
- if item["name"].startswith("MANIFEST-") and item["name"].endswith(".json.gz"):
- return item["browser_download_url"]
- elif item["name"] == "MANIFEST.json.gz":
- return item["browser_download_url"]
-
- return None
-
-
-def download_manifest(manifest_path, tags_func, url_func, force=False):
+ return [item for item in git("log", "--format=%H", "-n50").split("\n") if item]
+
+
+def github_url(commits):
+ try:
+ resp = urlopen("https://api.github.com/repos/web-platform-tests/wpt/releases")
+ except Exception:
+ return None
+
+ if resp.code != 200:
+ return None
+
+ try:
+ releases = json.load(resp.fp)
+ except ValueError:
+ logger.warning("Response was not valid JSON")
+ return None
+
+ fallback = None
+ for release in releases:
+ for commit in commits:
+ for item in release["assets"]:
+ if item["name"] == "MANIFEST-%s.json.gz" % commit:
+ return item["browser_download_url"]
+ elif item["name"] == "MANIFEST.json.gz" and not fallback:
+ fallback = item["browser_download_url"]
+ if fallback:
+ logger.info("Can't find a commit-specific manifest so just using the most recent one")
+ return fallback
+
+
+def download_manifest(manifest_path, commits_func, url_func, force=False):
if not force and not should_download(manifest_path):
return False
- tags = tags_func()
+ commits = commits_func()
- url = url_func(tags)
+ url = url_func(commits)
if not url:
logger.warning("No generated manifest found")
return False
@@ -127,7 +120,7 @@ def create_parser():
def download_from_github(path, tests_root, force=False):
- return download_manifest(path, lambda: merge_pr_tags(tests_root), github_url,
+ return download_manifest(path, lambda: git_commits(tests_root), github_url,
force=force)
From d6eb04cd46d931de225ce5f333cb7d927f68eedd Mon Sep 17 00:00:00 2001
From: qiuzhong
Date: Fri, 30 Nov 2018 16:54:14 +0000
Subject: [PATCH 040/143] Bug 1507837 [wpt PR 14094] - Remove timeout in
async_test for miscellaneous tests, a=testonly
Automatic update from web-platform-testsRemove timeout in async_test for miscellaneous tests (#14094)
Remove all the timeout in `async_test` for miscellaneous tests
except html, IndexedDB, websockets, mediacapture-streams and cookies.
--
wpt-commits: 565cc2b9a470fdf83c703033d7beb3140aa3a6ce
wpt-pr: 14094
---
testing/web-platform/tests/cors/preflight-cache.htm | 2 +-
testing/web-platform/tests/cors/status-async.htm | 4 ++--
.../border-image-repeat_repeatnegx_none_50px.html | 2 +-
.../tests/css/css-flexbox/display_flex_exist.html | 2 +-
.../tests/css/css-flexbox/display_inline-flex_exist.html | 2 +-
testing/web-platform/tests/css/css-flexbox/order_value.html | 2 +-
.../tests/custom-elements/CustomElementRegistry.html | 2 +-
.../eventsource-constructor-non-same-origin.htm | 2 +-
testing/web-platform/tests/eventsource/eventsource-close.htm | 2 +-
.../eventsource/eventsource-constructor-non-same-origin.htm | 2 +-
.../web-platform/tests/eventsource/eventsource-reconnect.htm | 2 +-
.../shared-worker/eventsource-constructor-non-same-origin.htm | 2 +-
.../html-elements-in-shadow-trees/html-forms/test-003.html | 2 +-
.../inert-html-elements/test-001.html | 2 +-
14 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/testing/web-platform/tests/cors/preflight-cache.htm b/testing/web-platform/tests/cors/preflight-cache.htm
index 72e0fedb8bee8..5a7f8c0a668fc 100644
--- a/testing/web-platform/tests/cors/preflight-cache.htm
+++ b/testing/web-platform/tests/cors/preflight-cache.htm
@@ -78,7 +78,7 @@
Preflight cache
'age = -1, should not be cached');
(function() {
- var test = async_test("preflight first request, second from cache, wait, third should preflight again", { timeout: 6000 }),
+ var test = async_test("preflight first request, second from cache, wait, third should preflight again"),
time = new Date().getTime(),
dothing = function (url, msg, set_request, func) {
client = new XMLHttpRequest(),
diff --git a/testing/web-platform/tests/cors/status-async.htm b/testing/web-platform/tests/cors/status-async.htm
index 3573ee88f98f9..5bcfa0cf7c255 100644
--- a/testing/web-platform/tests/cors/status-async.htm
+++ b/testing/web-platform/tests/cors/status-async.htm
@@ -14,7 +14,7 @@
Status returned
diff --git a/testing/web-platform/tests/fullscreen/api/element-ready-check-containing-iframe-manual.tentative.html b/testing/web-platform/tests/fullscreen/api/element-ready-check-containing-iframe-manual.tentative.html
new file mode 100644
index 0000000000000..66d9c43161371
--- /dev/null
+++ b/testing/web-platform/tests/fullscreen/api/element-ready-check-containing-iframe-manual.tentative.html
@@ -0,0 +1,29 @@
+
+
+Element ready check for containing iframe
+
+
+
+
+
+
+
diff --git a/testing/web-platform/tests/fullscreen/api/element-request-fullscreen-two-iframes-manual.html b/testing/web-platform/tests/fullscreen/api/element-request-fullscreen-two-iframes-manual.html
index 94b38c0302a5f..df5ee2a91b744 100644
--- a/testing/web-platform/tests/fullscreen/api/element-request-fullscreen-two-iframes-manual.html
+++ b/testing/web-platform/tests/fullscreen/api/element-request-fullscreen-two-iframes-manual.html
@@ -21,19 +21,27 @@
assert_in_array(document.fullscreenElement, [a, b]);
order.push(document.fullscreenElement.id);
if (order.length == 2) {
- // Since fullscreenchange event occurs at animation frame timing we might
- // have not seen the transition from null -> 'b' but just see the
- // resulting 'a' transition twice.
+ // When the second event arrived, the fullscreen element may still be the
+ // old one.
+ //
+ // TODO(mustaq): We need a better explanation here to cover the tree-order
+ // idea of the spec.
assert_true(order[0] == 'a' || order[0] == 'b', 'first id seen is a or b');
- assert_true(order[1] == 'a', 'second id seen is b');
+ assert_true(order[1] == 'a', 'second id seen is a');
t.done();
}
});
document.onfullscreenerror = t.unreached_func('fullscreenerror event');
+ // Make a trusted click on frame 'b' to activate it.
trusted_click(t, () => {
- b.contentDocument.body.requestFullscreen();
- a.contentDocument.body.requestFullscreen();
- }, document.body);
+ // Now queue a trusted click on frame 'a' to make back-to-back calls.
+ setTimeout(() => {
+ trusted_click(t, () => {
+ b.contentDocument.body.requestFullscreen();
+ a.contentDocument.body.requestFullscreen();
+ }, a.contentDocument.body);
+ }, 0);
+ }, b.contentDocument.body);
});
From cf222b0bb6b4b1492b01352c5cd389b2e995dee3 Mon Sep 17 00:00:00 2001
From: Mounir Lamouri
Date: Fri, 30 Nov 2018 18:01:14 +0000
Subject: [PATCH 048/143] Bug 1509310 [wpt PR 14181] - Media Capabilities:
switch MediaCapabilitiesInfo to a dictionary., a=testonly
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Automatic update from web-platform-tests
Media Capabilities: switch MediaCapabilitiesInfo to a dictionary.
This required to create a custom callback class as CallbackPromiseAdapter
does not work well with dictionaries.
This is also updating the media-capabilities.idl file in WPT, based on:
https://raw.githubusercontent.com/tidoust/reffy-reports/master/whatwg/idl/media-capabilities.idl
Bug: 907704
Change-Id: I13bb3c43a7461398f7866f033527bd3ce1bed140
Reviewed-on: https://chromium-review.googlesource.com/c/1347001
Commit-Queue: Mounir Lamouri
Reviewed-by: Philip Jägenstedt
Cr-Commit-Position: refs/heads/master@{#610655}
--
wpt-commits: c7a5c87e5c315051c40c6769952214f5c819df93
wpt-pr: 14181
---
.../tests/interfaces/media-capabilities.idl | 27 ++++++++++++++-----
.../media-capabilities/decodingInfo.html | 6 ++---
.../media-capabilities/encodingInfo.html | 8 +++---
.../media-capabilities/idlharness.any.js | 21 ---------------
4 files changed, 28 insertions(+), 34 deletions(-)
diff --git a/testing/web-platform/tests/interfaces/media-capabilities.idl b/testing/web-platform/tests/interfaces/media-capabilities.idl
index 816949cb26d87..8721b1c73fa42 100644
--- a/testing/web-platform/tests/interfaces/media-capabilities.idl
+++ b/testing/web-platform/tests/interfaces/media-capabilities.idl
@@ -10,6 +10,7 @@ dictionary MediaConfiguration {
dictionary MediaDecodingConfiguration : MediaConfiguration {
required MediaDecodingType type;
+ MediaCapabilitiesKeySystemConfiguration keySystemConfiguration;
};
dictionary MediaEncodingConfiguration : MediaConfiguration {
@@ -41,11 +42,25 @@ dictionary AudioConfiguration {
unsigned long samplerate;
};
-[Exposed=(Window, Worker)]
-interface MediaCapabilitiesInfo {
- readonly attribute boolean supported;
- readonly attribute boolean smooth;
- readonly attribute boolean powerEfficient;
+dictionary MediaCapabilitiesKeySystemConfiguration {
+ required DOMString keySystem;
+ DOMString initDataType = "";
+ DOMString audioRobustness = "";
+ DOMString videoRobustness = "";
+ MediaKeysRequirement distinctiveIdentifier = "optional";
+ MediaKeysRequirement persistentState = "optional";
+ sequence sessionTypes;
+ };
+
+dictionary MediaCapabilitiesInfo {
+ required boolean supported;
+ required boolean smooth;
+ required boolean powerEfficient;
+
+};
+
+dictionary MediaCapabilitiesDecodingInfo : MediaCapabilitiesInfo {
+ required MediaKeySystemAccess keySystemAccess;
};
[Exposed=Window]
@@ -60,7 +75,7 @@ partial interface WorkerNavigator {
[Exposed=(Window, Worker)]
interface MediaCapabilities {
- [NewObject] Promise decodingInfo(MediaDecodingConfiguration configuration);
+ [NewObject] Promise decodingInfo(MediaDecodingConfiguration configuration);
[NewObject] Promise encodingInfo(MediaEncodingConfiguration configuration);
};
diff --git a/testing/web-platform/tests/media-capabilities/decodingInfo.html b/testing/web-platform/tests/media-capabilities/decodingInfo.html
index 982bc17466858..cb14e2b516f89 100644
--- a/testing/web-platform/tests/media-capabilities/decodingInfo.html
+++ b/testing/web-platform/tests/media-capabilities/decodingInfo.html
@@ -283,9 +283,9 @@
video: minimalVideoConfiguration,
audio: minimalAudioConfiguration,
}).then(ability => {
- assert_idl_attribute(ability, 'supported');
- assert_idl_attribute(ability, 'smooth');
- assert_idl_attribute(ability, 'powerEfficient');
+ assert_equals(typeof ability.supported, "boolean");
+ assert_equals(typeof ability.smooth, "boolean");
+ assert_equals(typeof ability.powerEfficient, "boolean");
});
}, "Test that decodingInfo returns a valid MediaCapabilitiesInfo objects");
diff --git a/testing/web-platform/tests/media-capabilities/encodingInfo.html b/testing/web-platform/tests/media-capabilities/encodingInfo.html
index 5c0e3189082ed..751146c389148 100644
--- a/testing/web-platform/tests/media-capabilities/encodingInfo.html
+++ b/testing/web-platform/tests/media-capabilities/encodingInfo.html
@@ -1,5 +1,5 @@
-MediaCapabilities.decodingInfo()
+MediaCapabilities.encodingInfo()
+