pdf.js/src/display
Jonas Jenwald c09bd5568c Tweak the useWorkerFetch default value checks (PR 15879 follow-up)
Currently we accidentally accept `cMapUrl` and `standardFontDataUrl` parameters that are empty strings or `null`, since e.g. `new URL(null, document.baseURI)` doesn't throw, when validating the `useWorkerFetch` parameter via the `isValidFetchUrl` helper function.
Please note that we are currently failing gracefully in this case, as intended, however the warning-messages printed in the console are perhaps less helpful without this patch.
2023-07-27 16:26:39 +02:00
..
editor [Editor] Reduce a bit of duplication on _keyboardManager initialization 2023-07-27 11:42:01 +02:00
annotation_layer.js [Annotation] Use the clip-path property when an annotation has some quad points 2023-07-20 10:53:23 +02:00
annotation_storage.js [Editor] Support svg images in the stamp annotation 2023-07-07 15:59:13 +02:00
api.js Tweak the useWorkerFetch default value checks (PR 15879 follow-up) 2023-07-27 16:26:39 +02:00
base_factory.js Improve highlightments and popups in HCM (bug 1830850) 2023-06-26 14:45:03 +02:00
canvas.js Additional *manual* unicorn/prefer-ternary changes 2023-07-27 09:48:24 +02:00
content_disposition.js Enable the unicorn/prefer-optional-catch-binding ESLint plugin rule 2023-06-12 11:46:11 +02:00
display_utils.js Improve highlightments and popups in HCM (bug 1830850) 2023-06-26 14:45:03 +02:00
fetch_stream.js Change the createPromiseCapability helper function into a PromiseCapability class 2023-04-29 13:43:24 +02:00
font_loader.js Move the isNodeJS-helper into the src/shared/util.js file 2023-07-17 16:42:25 +02:00
metadata.js Convert Metadata to use private class fields 2021-10-22 22:01:19 +02:00
network_utils.js Enable the unicorn/prefer-optional-catch-binding ESLint plugin rule 2023-06-12 11:46:11 +02:00
network.js Change the createPromiseCapability helper function into a PromiseCapability class 2023-04-29 13:43:24 +02:00
node_stream.js Remove most build-time require-calls from the src/display/-folder 2023-07-17 19:47:13 +02:00
node_utils.js [api-minor] Attempt to prevent Node.js-specific polyfill errors from completely breaking the library 2023-07-24 13:00:34 +02:00
optional_content_config.js [api-minor] Add basic support for the SetOCGState action (issue 15372) 2022-09-01 17:34:24 +02:00
pattern_helper.js Additional *manual* unicorn/prefer-ternary changes 2023-07-27 09:48:24 +02:00
stubs.js Remove most build-time require-calls from the src/display/-folder 2023-07-17 19:47:13 +02:00
svg.js Additional *manual* unicorn/prefer-ternary changes 2023-07-27 09:48:24 +02:00
text_layer.js Change the createPromiseCapability helper function into a PromiseCapability class 2023-04-29 13:43:24 +02:00
transport_stream.js Change the createPromiseCapability helper function into a PromiseCapability class 2023-04-29 13:43:24 +02:00
worker_options.js Simplify setting the GlobalWorkerOptions default values (PR 9480 follow-up) 2023-01-26 14:16:01 +01:00
xfa_layer.js Additional *manual* unicorn/prefer-ternary changes 2023-07-27 09:48:24 +02:00
xfa_text.js XFA - Support text search in XFA documents. 2021-08-23 08:44:20 -07:00