Summary

Harness status: OK

Found 5 tests

Details

ResultTest NameMessage
Passwindow.postMessage should be able to transfer a TransformStream
Asserts run
Pass
assert_true(true, "the readable side should be locked")
    at Test.<anonymous> ( /streams/transferable/transform-stream.html:32:3)
Pass
assert_true(true, "the writable side should be locked")
    at Test.<anonymous> ( /streams/transferable/transform-stream.html:33:3)
Pass
assert_equals(function "function TransformStream() { [native code] }", function "function TransformStream() { [native code] }", "transferred should be a TransformStream in this realm")
    at Test.<anonymous> ( /streams/transferable/transform-stream.html:14:7)
Pass
assert_true(true, "instanceof check should pass")
    at Test.<anonymous> ( /streams/transferable/transform-stream.html:16:7)
Pass
assert_true(true, "brand check should pass and readable stream should result")
    at Test.<anonymous> ( /streams/transferable/transform-stream.html:22:7)
Pass
assert_true(true, "brand check should pass and writable stream should result")
    at Test.<anonymous> ( /streams/transferable/transform-stream.html:26:7)
Passa TransformStream with a locked writable should not be transferable
Asserts run
Pass
assert_throws_dom("DataCloneError", function "() => postMessage(ts, '*', [ts])", "postMessage should throw")
    at Test.<anonymous> ( /streams/transferable/transform-stream.html:40:3)
Pass
assert_false(false, "readable side should not get locked")
    at Test.<anonymous> ( /streams/transferable/transform-stream.html:42:3)
Passa TransformStream with a locked readable should not be transferable
Asserts run
Pass
assert_throws_dom("DataCloneError", function "() => postMessage(ts, '*', [ts])", "postMessage should throw")
    at Test.<anonymous> ( /streams/transferable/transform-stream.html:48:3)
Pass
assert_false(false, "writable side should not get locked")
    at Test.<anonymous> ( /streams/transferable/transform-stream.html:50:3)
Passa TransformStream with both sides locked should not be transferable
Asserts run
Pass
assert_throws_dom("DataCloneError", function "() => postMessage(ts, '*', [ts])", "postMessage should throw")
    at Test.<anonymous> ( /streams/transferable/transform-stream.html:57:3)
Passpiping through transferred transforms should work
Asserts run
Pass
assert_equals("HELLO HELLO THERE THERE ", "HELLO HELLO THERE THERE ", "transforms should have been applied")
    at  /streams/transferable/transform-stream.html:103:7