pdf.js/src/display
Jonas Jenwald 24fc4f83ca Small clean-up of the PDFDocumentProxy.destroy method and related code
Note how `PDFDocumentProxy.destroy` is a nothing more than an alias for `PDFDocumentLoadingTask.destroy`. While removing the latter method would be a breaking API change, there's still room for at least some clean-up here.

The main changes in this patch are:
 - Stop providing a `PDFDocumentLoadingTask` instance *separately* when creating a `PDFDocumentProxy`, since the loadingTask is already available through the `WorkerTransport` instance.
 - Stop tracking the `PDFDocumentProxy` instance on the `WorkerTransport`, since that property is completely unused.
 - Simplify the 'Multiple `getDocument` instances' unit-tests by only destroying *once*, rather than twice, for each document.
2019-03-12 13:25:29 +01:00
..
annotation_layer.js Rename the src/display/dom_utils.js file to src/display/display_utils.js 2019-02-23 16:30:16 +01:00
api_compatibility.js removed safari compatibility check 2018-06-21 12:57:56 +03:00
api.js Small clean-up of the PDFDocumentProxy.destroy method and related code 2019-03-12 13:25:29 +01:00
canvas.js Merge pull request #10597 from Snuffleupagus/isFontSubpixelAAEnabled-canvas-cleanup 2019-02-28 23:37:24 +01:00
content_disposition.js Add an Array.from polyfill, using core-js, and remove some compatibility hacks from the src/display/content_disposition.js file 2019-01-20 08:49:20 +01:00
display_utils.js Merge pull request #10605 from timvandermeij/display-utils 2019-03-06 23:46:53 +01:00
fetch_stream.js Add support for async/await using Babel 2018-08-19 16:54:11 +02:00
font_loader.js Fallback to the built-in font renderer when font loading fails 2019-02-11 10:27:08 +01:00
metadata.js When parsing Metadata, attempt to remove "junk" before the first tag (PR 10398 follow-up) 2019-01-16 12:44:27 +01:00
network_utils.js set returnValues.suggestedLength to Content-Length if integer 2018-10-07 13:26:29 -04:00
network.js Add support for async/await using Babel 2018-08-19 16:54:11 +02:00
node_stream.js Add support for async/await using Babel 2018-08-19 16:54:11 +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 Don't scale SVG stroke width by text matrix 2019-03-05 22:54:25 +02:00
text_layer.js Zero the width/height of the temporary canvas used during TextLayer rendering 2019-03-01 04:05:37 +01:00
transport_stream.js Add support for async/await using Babel 2018-08-19 16:54:11 +02: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 errors, in SimpleXMLParser.onEndElement, when the stack has already been completely parsed (issue 10410) 2019-01-05 11:15:34 +01:00