mirror of
https://github.com/servo/servo.git
synced 2025-08-13 17:35:36 +01:00
Stream implement pipeThrough (#36977)
Part of https://github.com/servo/servo/issues/34676 https://github.com/servo/servo/pull/36905 needs to be merged first. --------- Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
This commit is contained in:
parent
d8294fa423
commit
5b2305784a
16 changed files with 129 additions and 227 deletions
|
@ -1,13 +1,3 @@
|
|||
[response-stream-disturbed-by-pipe.any.worker.html]
|
||||
[using pipeThrough on Response body should disturb it synchronously]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[response-stream-disturbed-by-pipe.any.html]
|
||||
[using pipeThrough on Response body should disturb it synchronously]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[response-stream-disturbed-by-pipe.any.serviceworker.html]
|
||||
expected: ERROR
|
||||
|
||||
|
|
|
@ -6,63 +6,6 @@
|
|||
|
||||
[pipe-through.any.worker.html]
|
||||
expected: ERROR
|
||||
[Piping through a duck-typed pass-through transform stream should work]
|
||||
expected: FAIL
|
||||
|
||||
[Piping through a transform errored on the writable end does not cause an unhandled promise rejection]
|
||||
expected: FAIL
|
||||
|
||||
[pipeThrough should not call pipeTo on this]
|
||||
expected: FAIL
|
||||
|
||||
[pipeThrough should not call pipeTo on the ReadableStream prototype]
|
||||
expected: FAIL
|
||||
|
||||
[pipeThrough should brand-check this and not allow 'null']
|
||||
expected: FAIL
|
||||
|
||||
[pipeThrough should brand-check this and not allow 'undefined']
|
||||
expected: FAIL
|
||||
|
||||
[pipeThrough should brand-check this and not allow '0']
|
||||
expected: FAIL
|
||||
|
||||
[pipeThrough should brand-check this and not allow 'NaN']
|
||||
expected: FAIL
|
||||
|
||||
[pipeThrough should brand-check this and not allow 'true']
|
||||
expected: FAIL
|
||||
|
||||
[pipeThrough should brand-check this and not allow 'ReadableStream']
|
||||
expected: FAIL
|
||||
|
||||
[pipeThrough should brand-check this and not allow '[object ReadableStream\]']
|
||||
expected: FAIL
|
||||
|
||||
[pipeThrough should brand-check writable and not allow 'null']
|
||||
expected: FAIL
|
||||
|
||||
[pipeThrough should brand-check writable and not allow 'undefined']
|
||||
expected: FAIL
|
||||
|
||||
[pipeThrough should brand-check writable and not allow '0']
|
||||
expected: FAIL
|
||||
|
||||
[pipeThrough should brand-check writable and not allow 'NaN']
|
||||
expected: FAIL
|
||||
|
||||
[pipeThrough should brand-check writable and not allow 'true']
|
||||
expected: FAIL
|
||||
|
||||
[pipeThrough should brand-check writable and not allow 'WritableStream']
|
||||
expected: FAIL
|
||||
|
||||
[pipeThrough should brand-check writable and not allow '[object WritableStream\]']
|
||||
expected: FAIL
|
||||
|
||||
[pipeThrough should rethrow errors from accessing readable or writable]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[pipe-through.any.sharedworker.html]
|
||||
expected: ERROR
|
||||
|
@ -84,59 +27,3 @@
|
|||
|
||||
[pipe-through.any.html]
|
||||
expected: ERROR
|
||||
[Piping through a duck-typed pass-through transform stream should work]
|
||||
expected: FAIL
|
||||
|
||||
[Piping through a transform errored on the writable end does not cause an unhandled promise rejection]
|
||||
expected: FAIL
|
||||
|
||||
[pipeThrough should not call pipeTo on this]
|
||||
expected: FAIL
|
||||
|
||||
[pipeThrough should not call pipeTo on the ReadableStream prototype]
|
||||
expected: FAIL
|
||||
|
||||
[pipeThrough should brand-check this and not allow 'null']
|
||||
expected: FAIL
|
||||
|
||||
[pipeThrough should brand-check this and not allow 'undefined']
|
||||
expected: FAIL
|
||||
|
||||
[pipeThrough should brand-check this and not allow '0']
|
||||
expected: FAIL
|
||||
|
||||
[pipeThrough should brand-check this and not allow 'NaN']
|
||||
expected: FAIL
|
||||
|
||||
[pipeThrough should brand-check this and not allow 'true']
|
||||
expected: FAIL
|
||||
|
||||
[pipeThrough should brand-check this and not allow 'ReadableStream']
|
||||
expected: FAIL
|
||||
|
||||
[pipeThrough should brand-check this and not allow '[object ReadableStream\]']
|
||||
expected: FAIL
|
||||
|
||||
[pipeThrough should brand-check writable and not allow 'null']
|
||||
expected: FAIL
|
||||
|
||||
[pipeThrough should brand-check writable and not allow 'undefined']
|
||||
expected: FAIL
|
||||
|
||||
[pipeThrough should brand-check writable and not allow '0']
|
||||
expected: FAIL
|
||||
|
||||
[pipeThrough should brand-check writable and not allow 'NaN']
|
||||
expected: FAIL
|
||||
|
||||
[pipeThrough should brand-check writable and not allow 'true']
|
||||
expected: FAIL
|
||||
|
||||
[pipeThrough should brand-check writable and not allow 'WritableStream']
|
||||
expected: FAIL
|
||||
|
||||
[pipeThrough should brand-check writable and not allow '[object WritableStream\]']
|
||||
expected: FAIL
|
||||
|
||||
[pipeThrough should rethrow errors from accessing readable or writable]
|
||||
expected: FAIL
|
||||
|
|
|
@ -21,15 +21,6 @@
|
|||
|
||||
[throwing-options.any.html]
|
||||
expected: TIMEOUT
|
||||
[pipeThrough should stop after getting preventAbort throws]
|
||||
expected: FAIL
|
||||
|
||||
[pipeThrough should stop after getting preventCancel throws]
|
||||
expected: FAIL
|
||||
|
||||
[pipeThrough should stop after getting preventClose throws]
|
||||
expected: FAIL
|
||||
|
||||
[pipeTo should stop after getting signal throws]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
@ -39,15 +30,6 @@
|
|||
|
||||
[throwing-options.any.worker.html]
|
||||
expected: TIMEOUT
|
||||
[pipeThrough should stop after getting preventAbort throws]
|
||||
expected: FAIL
|
||||
|
||||
[pipeThrough should stop after getting preventCancel throws]
|
||||
expected: FAIL
|
||||
|
||||
[pipeThrough should stop after getting preventClose throws]
|
||||
expected: FAIL
|
||||
|
||||
[pipeTo should stop after getting signal throws]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -10,18 +10,10 @@
|
|||
[transform-streams.any.shadowrealm-in-sharedworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[transform-streams.any.worker.html]
|
||||
[Piping through an identity transform stream should close the destination when the source closes]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[transform-streams.any.shadowrealm-in-shadowrealm.html]
|
||||
expected: ERROR
|
||||
|
||||
[transform-streams.any.html]
|
||||
[Piping through an identity transform stream should close the destination when the source closes]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[transform-streams.any.shadowrealm-in-window.html]
|
||||
expected: ERROR
|
||||
|
|
|
@ -21,12 +21,3 @@
|
|||
|
||||
[templated.any.shadowrealm-in-sharedworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[templated.any.worker.html]
|
||||
[ReadableStream with byte source (empty): instances have the correct methods and properties]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[templated.any.html]
|
||||
[ReadableStream with byte source (empty): instances have the correct methods and properties]
|
||||
expected: FAIL
|
||||
|
|
|
@ -4,13 +4,6 @@
|
|||
[templated.any.serviceworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[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.shadowrealm.html]
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
[transform-stream.html]
|
||||
[piping through transferred transforms should work]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue