pdf.js/src/shared
Jonas Jenwald c1fef7d2f2 Guard navigator-object accesses in src/-files (issue 15728)
There are environments that include *incomplete* polyfills for the `navigator`-object, which may thus cause the PDF.js library to break.
Despite that clearly not being our fault, it may still result in bug reports filed against the PDF.js project; see e.g. 15728.

Currently this even seem to affect *the latest* version of Node.js; see e.g. [here].

*Please note:* Thanks to the pre-processor none of these changes affect the Firefox PDF Viewer, however it does add "overhead" when working with and reviewing the affected code (which is why I'm not crazy about this).
2023-10-28 14:41:46 +02:00
..
image_utils.js [api-minor] Generate images in the worker instead of the main thread. 2023-03-01 17:40:12 +01:00
message_handler.js Change the createPromiseCapability helper function into a PromiseCapability class 2023-04-29 13:43:24 +02:00
murmurhash3.js Remove a couple of unnecessary temporary variables in MurmurHash3_64.hexdigest 2022-11-10 18:27:26 +01:00
scripting_utils.js Add the color changes in the annotation storage 2023-07-30 14:03:27 +02:00
util.js Guard navigator-object accesses in src/-files (issue 15728) 2023-10-28 14:41:46 +02:00