Pass | window.postMessage should be able to transfer a WritableStream | Asserts runPass | assert_true(true, "the original stream should be locked")
at Test.<anonymous> ( /streams/transferable/writable-stream.html:27:3) | Pass | assert_equals(function "function WritableStream() { [native code] }", function "function WritableStream() { [native code] }", "transferred should be a WritableStream in this realm")
at Test.<anonymous> ( /streams/transferable/writable-stream.html:16:7) | Pass | assert_true(true, "instanceof check should pass")
at Test.<anonymous> ( /streams/transferable/writable-stream.html:18:7) |
|
Pass | a locked WritableStream should not be transferable | Asserts runPass | assert_throws_dom("DataCloneError", function "() => postMessage(ws, '*', [ws])", "postMessage should throw")
at Test.<anonymous> ( /streams/transferable/writable-stream.html:34:3) |
|
Pass | window.postMessage should be able to transfer a {readable, writable} pair | Asserts runPass | assert_false(false, "we should not be done")
at Test.<anonymous> ( /streams/transferable/writable-stream.html:50:7) | Pass | assert_equals("hi", "hi", "chunk should have been delivered")
at Test.<anonymous> ( /streams/transferable/writable-stream.html:51:7) | Pass | assert_true(true, "readable should be closed")
at Test.<anonymous> ( /streams/transferable/writable-stream.html:53:7) |
|
Pass | desiredSize for a newly-transferred stream should be 1 | Asserts runPass | assert_equals(1, 1, "desiredSize should be 1")
at Test.<anonymous> ( /streams/transferable/writable-stream.html:74:3) |
|
Pass | effective queue size of a transferred writable should be 2 | Asserts runPass | assert_equals(1, 1, "desiredSize should be 1")
at Test.<anonymous> ( /streams/transferable/writable-stream.html:86:3) |
|
Pass | second write should wait for first underlying write to complete | Asserts runPass | assert_false(false, "second write should not have resolved yet")
at Test.<anonymous> ( /streams/transferable/writable-stream.html:108:3) |
|
Pass | abort() should work | Asserts runPass | assert_array_equals(["abort", "p"], ["abort", "p"], "abort() should have been called")
at Test.<anonymous> ( /streams/transferable/writable-stream.html:128:3) |
|
Pass | writing a unclonable object should error the stream | Asserts runPass | assert_equals(2, 2, "abort should have been called")
at Test.<anonymous> ( /streams/transferable/writable-stream.html:141:3) | Pass | assert_equals("abort", "abort", "first event should be abort")
at Test.<anonymous> ( /streams/transferable/writable-stream.html:142:3) | Pass | assert_equals("DataCloneError", "DataCloneError", "reason should be a DataCloneError")
at Test.<anonymous> ( /streams/transferable/writable-stream.html:143:3) |
|