summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/streams/readable-byte-streams
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/meta/streams/readable-byte-streams
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/streams/readable-byte-streams')
-rw-r--r--testing/web-platform/meta/streams/readable-byte-streams/bad-buffers-and-views.any.js.ini10
-rw-r--r--testing/web-platform/meta/streams/readable-byte-streams/construct-byob-request.any.js.ini18
-rw-r--r--testing/web-platform/meta/streams/readable-byte-streams/enqueue-with-detached-buffer.any.js.ini10
-rw-r--r--testing/web-platform/meta/streams/readable-byte-streams/general.any.js.ini18
-rw-r--r--testing/web-platform/meta/streams/readable-byte-streams/non-transferable-buffers.any.js.ini12
-rw-r--r--testing/web-platform/meta/streams/readable-byte-streams/read-min.any.js.ini214
-rw-r--r--testing/web-platform/meta/streams/readable-byte-streams/respond-after-enqueue.any.js.ini10
-rw-r--r--testing/web-platform/meta/streams/readable-byte-streams/tee.any.js.ini12
8 files changed, 304 insertions, 0 deletions
diff --git a/testing/web-platform/meta/streams/readable-byte-streams/bad-buffers-and-views.any.js.ini b/testing/web-platform/meta/streams/readable-byte-streams/bad-buffers-and-views.any.js.ini
new file mode 100644
index 0000000000..bdaaacb317
--- /dev/null
+++ b/testing/web-platform/meta/streams/readable-byte-streams/bad-buffers-and-views.any.js.ini
@@ -0,0 +1,10 @@
+[bad-buffers-and-views.any.worker.html]
+
+[bad-buffers-and-views.any.sharedworker.html]
+
+[bad-buffers-and-views.any.serviceworker.html]
+
+[bad-buffers-and-views.any.html]
+
+[bad-buffers-and-views.any.shadowrealm.html]
+ expected: ERROR
diff --git a/testing/web-platform/meta/streams/readable-byte-streams/construct-byob-request.any.js.ini b/testing/web-platform/meta/streams/readable-byte-streams/construct-byob-request.any.js.ini
new file mode 100644
index 0000000000..b7263ee8db
--- /dev/null
+++ b/testing/web-platform/meta/streams/readable-byte-streams/construct-byob-request.any.js.ini
@@ -0,0 +1,18 @@
+[construct-byob-request.any.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+
+[construct-byob-request.any.serviceworker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+
+[construct-byob-request.any.sharedworker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+
+[construct-byob-request.any.worker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+
+[construct-byob-request.any.shadowrealm.html]
+ expected: ERROR
diff --git a/testing/web-platform/meta/streams/readable-byte-streams/enqueue-with-detached-buffer.any.js.ini b/testing/web-platform/meta/streams/readable-byte-streams/enqueue-with-detached-buffer.any.js.ini
new file mode 100644
index 0000000000..e996415e66
--- /dev/null
+++ b/testing/web-platform/meta/streams/readable-byte-streams/enqueue-with-detached-buffer.any.js.ini
@@ -0,0 +1,10 @@
+[enqueue-with-detached-buffer.any.sharedworker.html]
+
+[enqueue-with-detached-buffer.any.worker.html]
+
+[enqueue-with-detached-buffer.any.html]
+
+[enqueue-with-detached-buffer.any.serviceworker.html]
+
+[enqueue-with-detached-buffer.any.shadowrealm.html]
+ expected: ERROR
diff --git a/testing/web-platform/meta/streams/readable-byte-streams/general.any.js.ini b/testing/web-platform/meta/streams/readable-byte-streams/general.any.js.ini
new file mode 100644
index 0000000000..c05cb5d47f
--- /dev/null
+++ b/testing/web-platform/meta/streams/readable-byte-streams/general.any.js.ini
@@ -0,0 +1,18 @@
+[general.any.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+
+[general.any.worker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+
+[general.any.serviceworker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+
+[general.any.sharedworker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+
+[general.any.shadowrealm.html]
+ expected: ERROR
diff --git a/testing/web-platform/meta/streams/readable-byte-streams/non-transferable-buffers.any.js.ini b/testing/web-platform/meta/streams/readable-byte-streams/non-transferable-buffers.any.js.ini
new file mode 100644
index 0000000000..a1d603d0b2
--- /dev/null
+++ b/testing/web-platform/meta/streams/readable-byte-streams/non-transferable-buffers.any.js.ini
@@ -0,0 +1,12 @@
+[non-transferable-buffers.any.html]
+
+[non-transferable-buffers.any.serviceworker.html]
+ expected:
+ if (os == "android") and debug and not swgl: [OK, CRASH]
+
+[non-transferable-buffers.any.worker.html]
+
+[non-transferable-buffers.any.sharedworker.html]
+
+[non-transferable-buffers.any.shadowrealm.html]
+ expected: ERROR
diff --git a/testing/web-platform/meta/streams/readable-byte-streams/read-min.any.js.ini b/testing/web-platform/meta/streams/readable-byte-streams/read-min.any.js.ini
new file mode 100644
index 0000000000..0776488b10
--- /dev/null
+++ b/testing/web-platform/meta/streams/readable-byte-streams/read-min.any.js.ini
@@ -0,0 +1,214 @@
+[read-min.any.worker.html]
+ [ReadableStream with byte source: read({ min }) rejects if min is 0]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min }) rejects if min is negative]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min }) rejects if min is larger than view's length (Uint8Array)]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min }) rejects if min is larger than view's length (Uint16Array)]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min }) rejects if min is larger than view's length (DataView)]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min }), then read()]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min }) with a DataView]
+ expected: FAIL
+
+ [ReadableStream with byte source: enqueue(), then read({ min })]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min: 3 }) on a 3-byte Uint8Array, then multiple enqueue() up to 3 bytes]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min: 3 }) on a 5-byte Uint8Array, then multiple enqueue() up to 3 bytes]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min: 3 }) on a 5-byte Uint8Array, then multiple enqueue() up to 4 bytes]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min }) when closed before view is filled]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min }) when closed immediately after view is filled]
+ expected: FAIL
+
+ [ReadableStream with byte source: cancel() with partially filled pending read({ min }) request]
+ expected: FAIL
+
+ [ReadableStream with byte source: 3 byte enqueue(), then close(), then read({ min }) with 2-element Uint16Array must fail]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min }) with 2-element Uint16Array, then 3 byte enqueue(), then close() must fail]
+ expected: FAIL
+
+ [ReadableStream with byte source: tee() with read({ min }) from branch1 and read() from branch2]
+ expected: FAIL
+
+
+[read-min.any.html]
+ [ReadableStream with byte source: read({ min }) rejects if min is 0]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min }) rejects if min is negative]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min }) rejects if min is larger than view's length (Uint8Array)]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min }) rejects if min is larger than view's length (Uint16Array)]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min }) rejects if min is larger than view's length (DataView)]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min }), then read()]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min }) with a DataView]
+ expected: FAIL
+
+ [ReadableStream with byte source: enqueue(), then read({ min })]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min: 3 }) on a 3-byte Uint8Array, then multiple enqueue() up to 3 bytes]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min: 3 }) on a 5-byte Uint8Array, then multiple enqueue() up to 3 bytes]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min: 3 }) on a 5-byte Uint8Array, then multiple enqueue() up to 4 bytes]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min }) when closed before view is filled]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min }) when closed immediately after view is filled]
+ expected: FAIL
+
+ [ReadableStream with byte source: cancel() with partially filled pending read({ min }) request]
+ expected: FAIL
+
+ [ReadableStream with byte source: 3 byte enqueue(), then close(), then read({ min }) with 2-element Uint16Array must fail]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min }) with 2-element Uint16Array, then 3 byte enqueue(), then close() must fail]
+ expected: FAIL
+
+ [ReadableStream with byte source: tee() with read({ min }) from branch1 and read() from branch2]
+ expected: FAIL
+
+
+[read-min.any.serviceworker.html]
+ [ReadableStream with byte source: read({ min }) rejects if min is 0]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min }) rejects if min is negative]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min }) rejects if min is larger than view's length (Uint8Array)]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min }) rejects if min is larger than view's length (Uint16Array)]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min }) rejects if min is larger than view's length (DataView)]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min }), then read()]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min }) with a DataView]
+ expected: FAIL
+
+ [ReadableStream with byte source: enqueue(), then read({ min })]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min: 3 }) on a 3-byte Uint8Array, then multiple enqueue() up to 3 bytes]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min: 3 }) on a 5-byte Uint8Array, then multiple enqueue() up to 3 bytes]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min: 3 }) on a 5-byte Uint8Array, then multiple enqueue() up to 4 bytes]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min }) when closed before view is filled]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min }) when closed immediately after view is filled]
+ expected: FAIL
+
+ [ReadableStream with byte source: cancel() with partially filled pending read({ min }) request]
+ expected: FAIL
+
+ [ReadableStream with byte source: 3 byte enqueue(), then close(), then read({ min }) with 2-element Uint16Array must fail]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min }) with 2-element Uint16Array, then 3 byte enqueue(), then close() must fail]
+ expected: FAIL
+
+ [ReadableStream with byte source: tee() with read({ min }) from branch1 and read() from branch2]
+ expected: FAIL
+
+
+[read-min.any.sharedworker.html]
+ [ReadableStream with byte source: read({ min }) rejects if min is 0]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min }) rejects if min is negative]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min }) rejects if min is larger than view's length (Uint8Array)]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min }) rejects if min is larger than view's length (Uint16Array)]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min }) rejects if min is larger than view's length (DataView)]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min }), then read()]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min }) with a DataView]
+ expected: FAIL
+
+ [ReadableStream with byte source: enqueue(), then read({ min })]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min: 3 }) on a 3-byte Uint8Array, then multiple enqueue() up to 3 bytes]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min: 3 }) on a 5-byte Uint8Array, then multiple enqueue() up to 3 bytes]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min: 3 }) on a 5-byte Uint8Array, then multiple enqueue() up to 4 bytes]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min }) when closed before view is filled]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min }) when closed immediately after view is filled]
+ expected: FAIL
+
+ [ReadableStream with byte source: cancel() with partially filled pending read({ min }) request]
+ expected: FAIL
+
+ [ReadableStream with byte source: 3 byte enqueue(), then close(), then read({ min }) with 2-element Uint16Array must fail]
+ expected: FAIL
+
+ [ReadableStream with byte source: read({ min }) with 2-element Uint16Array, then 3 byte enqueue(), then close() must fail]
+ expected: FAIL
+
+ [ReadableStream with byte source: tee() with read({ min }) from branch1 and read() from branch2]
+ expected: FAIL
+
+
+[read-min.any.shadowrealm.html]
+ expected: ERROR
diff --git a/testing/web-platform/meta/streams/readable-byte-streams/respond-after-enqueue.any.js.ini b/testing/web-platform/meta/streams/readable-byte-streams/respond-after-enqueue.any.js.ini
new file mode 100644
index 0000000000..c2abcb18c7
--- /dev/null
+++ b/testing/web-platform/meta/streams/readable-byte-streams/respond-after-enqueue.any.js.ini
@@ -0,0 +1,10 @@
+[respond-after-enqueue.any.sharedworker.html]
+
+[respond-after-enqueue.any.worker.html]
+
+[respond-after-enqueue.any.html]
+
+[respond-after-enqueue.any.serviceworker.html]
+
+[respond-after-enqueue.any.shadowrealm.html]
+ expected: ERROR
diff --git a/testing/web-platform/meta/streams/readable-byte-streams/tee.any.js.ini b/testing/web-platform/meta/streams/readable-byte-streams/tee.any.js.ini
new file mode 100644
index 0000000000..f9c4562bc6
--- /dev/null
+++ b/testing/web-platform/meta/streams/readable-byte-streams/tee.any.js.ini
@@ -0,0 +1,12 @@
+[tee.any.html]
+
+[tee.any.sharedworker.html]
+
+[tee.any.serviceworker.html]
+ expected:
+ if (os == "win") and not debug and (processor == "x86_64"): [OK, TIMEOUT]
+
+[tee.any.worker.html]
+
+[tee.any.shadowrealm.html]
+ expected: ERROR