You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the invocation of pipeThrough() fails with readable should be ReadableStream.
The error is thrown after isReadableStream check failed [1]. After debugging I'm sure, that it is failing, because the symbol readableStreamController_ is not defined in the tested value [2].
Note that Safari is also polyfilling the basic streams implemenation, bacause there is no support for BYOB/bytsoures.
Not using the polyfill and instead directly importing CompressionStream from the lib works.
This issue occurs at least on Safari 16.3 and 15.5 and TP.
When using the CompressionStreams polyfill with Safari like this:
the invocation of
pipeThrough()
fails with readable should be ReadableStream.The error is thrown after
isReadableStream
check failed [1]. After debugging I'm sure, that it is failing, because the symbolreadableStreamController_
is not defined in the tested value [2].Note that Safari is also polyfilling the basic streams implemenation, bacause there is no support for BYOB/bytsoures.
Not using the polyfill and instead directly importing
CompressionStream
from the lib works.This issue occurs at least on Safari 16.3 and 15.5 and TP.
I made a minimal reproducer in StackBlitz (check console output): https://stackblitz.com/edit/js-gaksqm
1:
throw new TypeError("readable must be a ReadableStream");
sd-streams/packages/streams/src/readable-stream.ts
Line 110 in 009c982
2:
return readableStreamController_ in value;
sd-streams/packages/streams/src/readable-internals.ts
Line 201 in c9db3d0
The text was updated successfully, but these errors were encountered: