Polyfill ReadableStream
on the devices that partially support it
#4752
Labels
ReadableStream
on the devices that partially support it
#4752
Have you read the FAQ and checked for duplicate open issues?
Yes
Is your feature request related to a problem? Please describe.
While working on a promised PR for this issue on the Panasonic TV, after getting past the robustness problem, the player started throwing the
NETWORK.UNSUPPORTED_SCHEME
error.Upon investigation, I realised that the
http
orhttps
schemes are never registered on this TV. This means that this code never runs becauseshaka.net.HttpFetchPlugin.isSupported()
returnsfalse
.I can confirm that the TV has support for the following objects:
window.fetch
=>supported
window.ReadableStream
=>supported
window.AbortController
=>supported
after Joey's Polyfill PRThe only thing is, the code
throws an
Uncaught TypeError: Illegal constructor
error. Even tho the object is present.Describe the solution you'd like
I was wondering if the Shaka player (if it doesn't already) can polyfill the
ReadableStream
to support it properly.Additional context
This device uses chrome 49.
Polyfills are available for the ReadableStream such as this one.
The text was updated successfully, but these errors were encountered: