mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-02-08 00:21:11 +01:00
The currently supported browsers, note the minimum versions [listed here](5a4e06af2d/gulpfile.js (L78-L88)), should now have native support for all of the features checked in the `isFetchSupported` function:
- https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API#browser_compatibility
- https://developer.mozilla.org/en-US/docs/Web/API/Response#browser_compatibility
- https://developer.mozilla.org/en-US/docs/Web/API/Body/body#browser_compatibility
- https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream#browser_compatibility
Hence this function can now be removed, and the code can thus be simplified a little bit.