mirror of
https://github.com/servo/servo.git
synced 2025-08-17 11:25:35 +01:00
Script implement TransformStream and TransformStreamDefaultController (#36739)
Part of https://github.com/servo/servo/issues/34676 --------- Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com> Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> Signed-off-by: Taym <haddadi.taym@gmail.com> Co-authored-by: gterzian <2792687+gterzian@users.noreply.github.com>
This commit is contained in:
parent
d39b9f05ff
commit
f3f4cc5500
30 changed files with 1784 additions and 48 deletions
23
tests/wpt/meta/streams/transform-streams/backpressure.any.js.ini
vendored
Normal file
23
tests/wpt/meta/streams/transform-streams/backpressure.any.js.ini
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
[backpressure.any.shadowrealm-in-shadowrealm.html]
|
||||
expected: ERROR
|
||||
|
||||
[backpressure.any.shadowrealm-in-window.html]
|
||||
expected: ERROR
|
||||
|
||||
[backpressure.any.serviceworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[backpressure.any.shadowrealm-in-dedicatedworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[backpressure.any.sharedworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[backpressure.https.any.shadowrealm-in-serviceworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[backpressure.any.shadowrealm-in-sharedworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[backpressure.https.any.shadowrealm-in-audioworklet.html]
|
||||
expected: ERROR
|
32
tests/wpt/meta/streams/transform-streams/cancel.any.js.ini
vendored
Normal file
32
tests/wpt/meta/streams/transform-streams/cancel.any.js.ini
vendored
Normal file
|
@ -0,0 +1,32 @@
|
|||
[cancel.any.shadowrealm-in-dedicatedworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[cancel.any.serviceworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[cancel.https.any.shadowrealm-in-audioworklet.html]
|
||||
expected: ERROR
|
||||
|
||||
[cancel.any.shadowrealm-in-sharedworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[cancel.any.sharedworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[cancel.any.shadowrealm-in-window.html]
|
||||
expected: ERROR
|
||||
|
||||
[cancel.any.shadowrealm-in-shadowrealm.html]
|
||||
expected: ERROR
|
||||
|
||||
[cancel.https.any.shadowrealm-in-serviceworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[cancel.any.worker.html]
|
||||
[readable.cancel() and a parallel writable.close() should reject if a transformer.cancel() calls controller.error()]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[cancel.any.html]
|
||||
[readable.cancel() and a parallel writable.close() should reject if a transformer.cancel() calls controller.error()]
|
||||
expected: FAIL
|
32
tests/wpt/meta/streams/transform-streams/errors.any.js.ini
vendored
Normal file
32
tests/wpt/meta/streams/transform-streams/errors.any.js.ini
vendored
Normal file
|
@ -0,0 +1,32 @@
|
|||
[errors.any.sharedworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[errors.https.any.shadowrealm-in-serviceworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[errors.any.shadowrealm-in-sharedworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[errors.any.shadowrealm-in-shadowrealm.html]
|
||||
expected: ERROR
|
||||
|
||||
[errors.any.serviceworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[errors.https.any.shadowrealm-in-audioworklet.html]
|
||||
expected: ERROR
|
||||
|
||||
[errors.any.shadowrealm-in-dedicatedworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[errors.any.shadowrealm-in-window.html]
|
||||
expected: ERROR
|
||||
|
||||
[errors.any.html]
|
||||
[abort should set the close reason for the writable when it happens before cancel during start, and cancel should reject]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[errors.any.worker.html]
|
||||
[abort should set the close reason for the writable when it happens before cancel during start, and cancel should reject]
|
||||
expected: FAIL
|
23
tests/wpt/meta/streams/transform-streams/flush.any.js.ini
vendored
Normal file
23
tests/wpt/meta/streams/transform-streams/flush.any.js.ini
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
[flush.any.shadowrealm-in-dedicatedworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[flush.any.shadowrealm-in-window.html]
|
||||
expected: ERROR
|
||||
|
||||
[flush.https.any.shadowrealm-in-audioworklet.html]
|
||||
expected: ERROR
|
||||
|
||||
[flush.any.shadowrealm-in-sharedworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[flush.any.shadowrealm-in-shadowrealm.html]
|
||||
expected: ERROR
|
||||
|
||||
[flush.any.sharedworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[flush.https.any.shadowrealm-in-serviceworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[flush.any.serviceworker.html]
|
||||
expected: ERROR
|
23
tests/wpt/meta/streams/transform-streams/general.any.js.ini
vendored
Normal file
23
tests/wpt/meta/streams/transform-streams/general.any.js.ini
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
[general.any.shadowrealm-in-sharedworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[general.https.any.shadowrealm-in-serviceworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[general.any.shadowrealm-in-shadowrealm.html]
|
||||
expected: ERROR
|
||||
|
||||
[general.any.shadowrealm-in-dedicatedworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[general.https.any.shadowrealm-in-audioworklet.html]
|
||||
expected: ERROR
|
||||
|
||||
[general.any.serviceworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[general.any.shadowrealm-in-window.html]
|
||||
expected: ERROR
|
||||
|
||||
[general.any.sharedworker.html]
|
||||
expected: ERROR
|
23
tests/wpt/meta/streams/transform-streams/lipfuzz.any.js.ini
vendored
Normal file
23
tests/wpt/meta/streams/transform-streams/lipfuzz.any.js.ini
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
[lipfuzz.any.shadowrealm-in-window.html]
|
||||
expected: ERROR
|
||||
|
||||
[lipfuzz.https.any.shadowrealm-in-serviceworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[lipfuzz.any.serviceworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[lipfuzz.any.shadowrealm-in-shadowrealm.html]
|
||||
expected: ERROR
|
||||
|
||||
[lipfuzz.any.shadowrealm-in-dedicatedworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[lipfuzz.https.any.shadowrealm-in-audioworklet.html]
|
||||
expected: ERROR
|
||||
|
||||
[lipfuzz.any.sharedworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[lipfuzz.any.shadowrealm-in-sharedworker.html]
|
||||
expected: ERROR
|
23
tests/wpt/meta/streams/transform-streams/patched-global.any.js.ini
vendored
Normal file
23
tests/wpt/meta/streams/transform-streams/patched-global.any.js.ini
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
[patched-global.any.shadowrealm-in-dedicatedworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[patched-global.any.shadowrealm-in-window.html]
|
||||
expected: ERROR
|
||||
|
||||
[patched-global.any.shadowrealm-in-sharedworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[patched-global.https.any.shadowrealm-in-serviceworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[patched-global.any.shadowrealm-in-shadowrealm.html]
|
||||
expected: ERROR
|
||||
|
||||
[patched-global.https.any.shadowrealm-in-audioworklet.html]
|
||||
expected: ERROR
|
||||
|
||||
[patched-global.any.sharedworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[patched-global.any.serviceworker.html]
|
||||
expected: ERROR
|
23
tests/wpt/meta/streams/transform-streams/properties.any.js.ini
vendored
Normal file
23
tests/wpt/meta/streams/transform-streams/properties.any.js.ini
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
[properties.any.shadowrealm-in-shadowrealm.html]
|
||||
expected: ERROR
|
||||
|
||||
[properties.https.any.shadowrealm-in-serviceworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[properties.any.shadowrealm-in-window.html]
|
||||
expected: ERROR
|
||||
|
||||
[properties.any.shadowrealm-in-dedicatedworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[properties.any.sharedworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[properties.https.any.shadowrealm-in-audioworklet.html]
|
||||
expected: ERROR
|
||||
|
||||
[properties.any.serviceworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[properties.any.shadowrealm-in-sharedworker.html]
|
||||
expected: ERROR
|
23
tests/wpt/meta/streams/transform-streams/reentrant-strategies.any.js.ini
vendored
Normal file
23
tests/wpt/meta/streams/transform-streams/reentrant-strategies.any.js.ini
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
[reentrant-strategies.any.shadowrealm-in-window.html]
|
||||
expected: ERROR
|
||||
|
||||
[reentrant-strategies.https.any.shadowrealm-in-serviceworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[reentrant-strategies.any.sharedworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[reentrant-strategies.https.any.shadowrealm-in-audioworklet.html]
|
||||
expected: ERROR
|
||||
|
||||
[reentrant-strategies.any.shadowrealm-in-dedicatedworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[reentrant-strategies.any.serviceworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[reentrant-strategies.any.shadowrealm-in-sharedworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[reentrant-strategies.any.shadowrealm-in-shadowrealm.html]
|
||||
expected: ERROR
|
24
tests/wpt/meta/streams/transform-streams/strategies.any.js.ini
vendored
Normal file
24
tests/wpt/meta/streams/transform-streams/strategies.any.js.ini
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
[strategies.any.shadowrealm-in-shadowrealm.html]
|
||||
expected: ERROR
|
||||
|
||||
[strategies.any.serviceworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[strategies.https.any.shadowrealm-in-serviceworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[strategies.any.shadowrealm-in-window.html]
|
||||
expected: ERROR
|
||||
|
||||
[strategies.any.shadowrealm-in-sharedworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[strategies.any.shadowrealm-in-dedicatedworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[strategies.any.sharedworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[strategies.https.any.shadowrealm-in-audioworklet.html]
|
||||
expected: ERROR
|
||||
|
23
tests/wpt/meta/streams/transform-streams/terminate.any.js.ini
vendored
Normal file
23
tests/wpt/meta/streams/transform-streams/terminate.any.js.ini
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
[terminate.any.serviceworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[terminate.any.shadowrealm-in-sharedworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[terminate.https.any.shadowrealm-in-serviceworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[terminate.any.shadowrealm-in-window.html]
|
||||
expected: ERROR
|
||||
|
||||
[terminate.any.shadowrealm-in-shadowrealm.html]
|
||||
expected: ERROR
|
||||
|
||||
[terminate.https.any.shadowrealm-in-audioworklet.html]
|
||||
expected: ERROR
|
||||
|
||||
[terminate.any.shadowrealm-in-dedicatedworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[terminate.any.sharedworker.html]
|
||||
expected: ERROR
|
Loading…
Add table
Add a link
Reference in a new issue