pdf.js/src/shared
Jonas Jenwald 0ee373f9cc Replace the bundled ReadableStream polyfill with the web-streams-polyfill npm package (issue 11157)
Compared to the recently replaced `URL` polyfill, the new `ReadableStream` polyfill isn't being exported globally for two reasons:
 - We're currently checking for the existence of a global `ReadableStream` implementation when determining if the Fetch API will be used; please see `isFetchSupported` in the src/display/display_utils.js file.
 - Given that it's much newer functionality (compared to `URL`) and that not all browsers may implement all parts of the specification yet, not exposing the `ReadableStream` globally seems safer for now.
2019-09-23 22:16:59 +02:00
..
cffStandardStrings.js Fix errors reported by the comma-spacing ESLint rule 2016-12-12 20:35:53 +01:00
compatibility.js Replace our URL polyfill with the one from core-js 2019-09-19 14:09:51 +02:00
fonts_utils.js Convert some usage of indexOf to startsWith/includes where applicable 2019-01-18 17:57:41 +01:00
global_scope.js Moves global scope out of shared/util. 2017-08-22 18:20:52 -05:00
is_node.js fix: electron enviroment detection 2019-03-26 20:52:49 +08:00
message_handler.js Inline the resolveOrReject helper function at its call-sites in MessageHandler, and rename an error key to reason 2019-09-17 14:22:24 +02:00
streams_polyfill.js Replace the bundled ReadableStream polyfill with the web-streams-polyfill npm package (issue 11157) 2019-09-23 22:16:59 +02:00
util.js Replace our URL polyfill with the one from core-js 2019-09-19 14:09:51 +02:00