- From: Adam Rice <notifications@github.com>
- Date: Wed, 15 Jul 2020 02:16:30 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 15 July 2020 09:16:43 UTC
@ricea commented on this pull request. > + + <p>The transferred stream can be used exactly like the original. Its [=readable side|readable=] + and [=writable sides=] will become locked and no longer directly usable. + </dd> +</dl> + +<div algorithm="TransformStream transfer steps"> + {{TransformStream}} objects are [=transferable objects=]. Their [=transfer steps=], given |value| + and |dataHolder|, are: + + 1. Let |readable| be |value|.\[[readable]]. + 1. Let |writable| be |value|.\[[writable]]. + 1. If ! [$IsReadableStreamLocked$](|readable|) is true, throw a "{{DataCloneError}}" + {{DOMException}}. + 1. If ! [$IsWritableStreamLocked$](|writable|) is true, throw a "{{DataCloneError}}" + {{DOMException}}. I've updated the tests to test this feature (which is missing from Blink's implementation 😳). I don't feel I need to call attention to the feature with a note, as it is just a matter of polish. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/pull/1053#discussion_r454910557
Received on Wednesday, 15 July 2020 09:16:43 UTC