pdf.js/src/display
Jonas Jenwald 8ec99b200c Prevent Metadata/XML parsing from breaking PDFDocumentProxy.getMetadata when no XML root document is found (issue 8884)
With the new XML parser, see PR 9573, the referenced PDF file now causes `getMetadata` to fail when incomplete XML tags are encountered. This provides a simple, and hopefully generally useful, work-around that may also help prevent future bugs.

(Without being able to reproduce nor even understand the other (non XML) errors mentioned in issue 8884, I'd say that this patch is enough to close that one as fixed.)
2018-07-18 11:37:40 +02:00
..
annotation_layer.js Move the externalLinkTarget and externalLinkRel options to PDFLinkService options 2018-02-13 14:28:40 +01:00
api_compatibility.js removed safari compatibility check 2018-06-21 12:57:56 +03:00
api.js Stop exposing the URL polyfill in the global scope 2018-07-04 09:16:28 +02:00
canvas.js Fix typos 2018-04-01 23:20:41 +02:00
content_disposition.js Fall back to ISO-8859-1 in content_disposition.js 2018-06-03 16:17:28 +02:00
dom_utils.js Move, and modernize, Util.loadScript from src/shared/util.js to src/display/dom_utils.js 2018-06-07 13:52:40 +02:00
fetch_stream.js Add abort functionality in fetch stream 2018-05-22 12:46:59 +05:30
font_loader.js Send UnsupportedFeature notification when errors are ignored in FontFaceObject.getPathGenerator 2018-06-13 11:02:10 +02:00
metadata.js New XML parser 2018-03-19 20:51:41 -05:00
network_utils.js Improve correctness of Content-Disposition parser 2018-01-21 13:31:12 +01:00
network.js Attempt to unify the disableRange/contentLength handling in the various network streams 2018-02-09 13:50:48 +01:00
node_stream.js Simplify the error handling slightly in the src/display/node_stream.js file 2018-06-06 09:05:45 +02:00
pattern_helper.js Update the ESLint dependencies, and also tweak the no-multiple-empty-lines rules 2018-01-03 13:32:57 +01:00
svg.js SVG clip intersections and operators 2018-04-17 19:20:29 +03:00
text_layer.js Replace Util.extendObj by Object.assign 2018-06-10 20:11:03 +02:00
transport_stream.js Attempt to unify the disableRange/contentLength handling in the various network streams 2018-02-09 13:50:48 +01:00
webgl.js Update the ESLint dependencies, and also tweak the no-multiple-empty-lines rules 2018-01-03 13:32:57 +01:00
worker_options.js Introduce a GlobalWorkerOptions object for (basic) Worker configuration 2018-02-16 13:22:35 +01:00
xml_parser.js Prevent Metadata/XML parsing from breaking PDFDocumentProxy.getMetadata when no XML root document is found (issue 8884) 2018-07-18 11:37:40 +02:00