Re: [whatwg/streams] Can pipeTo() be synchronous? (Issue #1243)

> Another issue:
>    ...
> This logs true on Gecko/Blink but false on WebKit. Maybe it's more natural to be synchronous here as `getReader().read()` pulls synchronously, except I'm not a fan of synchronous JS call...

Previously we considered this kind of thing "acceptable variation". If I recall correctly there was a similar difference between Blink's implementation and the reference implementation.

The aim in specifying pipeTo() was to specify a set of constraints, and permit implementations to very within those constraints in order to allow for optimisation. Maybe now we want to be more strict.

> Edit: The WPT test for the enqueue issue is landed here [web-platform-tests/wpt#39103](https://github.com/web-platform-tests/wpt/pull/39103)

Thanks!

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/1243#issuecomment-1494197530
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/streams/issues/1243/1494197530@github.com>

Received on Monday, 3 April 2023 12:04:29 UTC