52.4streams/transferable/
87 / 87 WPT subtests passing
- Failed
- 0
- Timed out
- 0
- Not run
- 0
- Test files
- 12
- Blocking files
- 0
Chrome 79 / 87 WPT subtests passing on the same files, 1 blocking, 1 without a result
Tests
12 test files hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
deserialize-error.window.js 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- a WritableStream deserialization failure should result in a DataCloneError
- a ReadableStream deserialization failure should result in a DataCloneError
gc-crash.html none reportedChrome —0 failedClean
/streams/transferable/gc-crash.html PASS none reported
No subtests were reported.
readable-stream.html 16 / 16 passingChrome 16 / 160 failedClean
16 passing subtests
- sending one chunk through a transferred stream should work
- sending ten chunks through a transferred stream should work
- sending ten chunks one at a time should work
- sending ten chunks on demand should work
- transferring a stream should relieve backpressure
- transferring a stream should add one chunk to the queue size
- the extra queue from transferring is counted in chunks
- cancel should be propagated to the original
- cancel should abort a pending read()
- stream cancel should not wait for underlying source cancel
- serialization should not happen until the value is read
- transferring a non-serializable chunk should error both sides
- errors should be passed through
- race between cancel() and error() should leave sides in different states
- race between cancel() and close() should be benign
- race between cancel() and enqueue() should be benign
reason.html 26 / 26 passingChrome 26 / 260 failedClean
26 passing subtests
- reason with a simple value of 'hi' should be preserved
- reason with a simple value of ' ' should be preserved
- reason with a simple value of '7' should be preserved
- reason with a simple value of '3' should be preserved
- reason with a simple value of 'undefined' should be preserved
- reason with a simple value of 'null' should be preserved
- reason with a simple value of 'true' should be preserved
- reason with a simple value of 'false' should be preserved
- reason with a simple value of 'NaN' should be preserved
- reason with a simple value of 'Infinity' should be preserved
- reason with a type of 'symbol' should be rejected and error the stream
- reason with a type of 'function' should be rejected and error the stream
- objects that can be completely expressed in JSON should be preserved
- objects that cannot be expressed in JSON should also be preserved
- the type and message of a TypeError should be preserved
- other attributes of a TypeError should not be preserved
- a TypeError message should be converted to a string
- a TypeError message should not be preserved if it is a getter
- a TypeError message should not be preserved if it is inherited
- DOMException errors should be preserved
- EvalError should be preserved
- RangeError should be preserved
- ReferenceError should be preserved
- SyntaxError should be preserved
- TypeError should be preserved
- URIError should be preserved
service-worker.https.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- service-worker
- serviceWorker.controller.postMessage should be able to transfer a ReadableStream
- postMessage in a service worker should be able to transfer ReadableStream
transfer-with-messageport.window.js 10 / 10 passingChrome 10 / 100 failedClean
10 passing subtests
- Transferring a MessagePort with a ReadableStream should set `.ports`
- Transferring a MessagePort with a WritableStream should set `.ports`
- Transferring a MessagePort with a TransformStream should set `.ports`
- Transferring a MessagePort with a ReadableStream should set `.ports`, advanced
- Transferring a MessagePort with a WritableStream should set `.ports`, advanced
- Transferring a MessagePort with a TransformStream should set `.ports`, advanced
- Transferring a MessagePort with multiple streams should set `.ports`
- ReadableStream must not be serializable
- WritableStream must not be serializable
- TransformStream must not be serializable
transform-stream-members.any.js 8 / 8 passingChrome 0 / 80 failedClean
/streams/transferable/transform-stream-members.any.html OK 4 / 4
4 passing subtests
- Transferring [object TransformStream],[object ReadableStream] should fail
- Transferring [object ReadableStream],[object TransformStream] should fail
- Transferring [object TransformStream],[object WritableStream] should fail
- Transferring [object WritableStream],[object TransformStream] should fail
/streams/transferable/transform-stream-members.any.worker.html OK 4 / 4
4 passing subtests
- Transferring [object TransformStream],[object ReadableStream] should fail
- Transferring [object ReadableStream],[object TransformStream] should fail
- Transferring [object TransformStream],[object WritableStream] should fail
- Transferring [object WritableStream],[object TransformStream] should fail
transform-stream.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- window.postMessage should be able to transfer a TransformStream
- a TransformStream with a locked writable should not be transferable
- a TransformStream with a locked readable should not be transferable
- a TransformStream with both sides locked should not be transferable
- piping through transferred transforms should work
window.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- window.postMessage should be able to transfer a ReadableStream
- port.postMessage should be able to transfer a ReadableStream
- the same ReadableStream posted multiple times should arrive together
- transfer to and from an iframe should work
worker.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- worker.postMessage should be able to transfer a ReadableStream
- postMessage in a worker should be able to transfer a ReadableStream
- terminating a worker should not error the stream
writable-stream.html 8 / 8 passingChrome 8 / 80 failedClean
8 passing subtests
- window.postMessage should be able to transfer a WritableStream
- a locked WritableStream should not be transferable
- window.postMessage should be able to transfer a {readable, writable} pair
- desiredSize for a newly-transferred stream should be 1
- effective queue size of a transferred writable should be 2
- second write should wait for first underlying write to complete
- abort() should work
- writing a unclonable object should error the stream