Pass | window.postMessage should be able to transfer a TransformStream | Asserts runPass | 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) |
|
Pass | a TransformStream with a locked writable should not be transferable | Asserts runPass | 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) |
|
Pass | a TransformStream with a locked readable should not be transferable | Asserts runPass | 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) |
|
Pass | a TransformStream with both sides locked should not be transferable | Asserts runPass | assert_throws_dom("DataCloneError", function "() => postMessage(ts, '*', [ts])", "postMessage should throw")
at Test.<anonymous> ( /streams/transferable/transform-stream.html:57:3) |
|
Pass | piping through transferred transforms should work | Asserts runPass | assert_equals("HELLO HELLO THERE THERE ", "HELLO HELLO THERE THERE ", "transforms should have been applied")
at /streams/transferable/transform-stream.html:103:7 |
|