60 Commits (e64bc1fd1387d43c3447c7018eaa16f1794f0d2a)

Author SHA1 Message Date
Jonas Jenwald e64bc1fd13 Move parsing of destination dictionaries to a helper function 9 years ago
Jonas Jenwald 37998076c9 In `display/api.js` ensure that we always reject with an `Error` in `JpegDecode`, and adjust a couple of other rejection sites as well 9 years ago
Jonas Jenwald f297e4d17c [api-minor] Add a parameter to `PDFPageProxy_getTextContent` that controls whether `PartialEvaluator_getTextContent` will attempt to combine same line text items 9 years ago
Jonas Jenwald 72c1df726e Add a `getAttachments` unit-test for a PDF file that actually contains attachments 9 years ago
Jonas Jenwald 01ab15a6f1 [api-minor] Let `Catalog_getPageIndex` check that the `Ref` actually points to a /Page dictionary 9 years ago
Tim van der Meij 6a7012aaca Remove unused variables 9 years ago
Yury Delendik 879340d741 Removes hijack describe() hack from unit tests. 9 years ago
Jonas Jenwald 7163e1eff3 Faster unit-tests by using `beforeAll`/`afterAll` in api_spec.js 9 years ago
Jonas Jenwald ac772017b6 Add unit-tests for destionations in /Names (NameTree) dictionaries where all entries are indirect objects 9 years ago
Yury Delendik 0a700fa29d Updates Jasmine version. 9 years ago
Yury Delendik 0d591719d9 Makes PDF data reading Streams API friendly. 9 years ago
Jonas Jenwald 7cf9de2c17 [api-minor] Change `getOutline` to actually return the RGB color of outline items 9 years ago
Jonas Jenwald 98db068079 Reduce the overall indentation level in `Catalog_readDocumentOutline`, by using early returns, in order to improve readability 9 years ago
Tim van der Meij 5bcf4c1895 Destroy workers when they are no longer needed in the unit tests 9 years ago
Jonas Jenwald 1140a34f5c [api-minor] Change `getPageLabels` to always return the pageLabels, even if they are identical to standard page numbering 9 years ago
Jonas Jenwald 85cf90643f [api-minor] Add support for PageLabels in the API 9 years ago
Jonas Jenwald 0030a82dc3 [api-minor] Add support for URLs in the document outline 9 years ago
Jonas Jenwald 6dfe53b976 [api-minor] Add a parameter to `PDFPageProxy_getTextContent` that enables replacing of all whitespace with standard spaces in the textLayer (issue 6612) 10 years ago
Rob Wu 07f2a43943 Add tests for parallel rendering 10 years ago
Yury Delendik 09772e1e15 Creates PDFWorker, separates fetchDocument from transport. 10 years ago
Jonas Jenwald b05652ca97 [api-minor] Let `getAnnotations` fetch all annotations by default, unless an intent is specified 10 years ago
Manas a2ba1b8189 Uses editorconfig to maintain consistent coding styles 10 years ago
Jonas Jenwald 25e55322c4 Improved `get fingerprint` unit-tests (PR 5124) 10 years ago
Yury Delendik 59c13b32aa Adds destroy method to the document loading task. 10 years ago
Jonas Jenwald e04113a35b Add unit-tests for the `onPassword/onProgress` callbacks of the API 10 years ago
Jonas Jenwald 5987197bd5 Ensure that all `getDocument` unit-tests returns the expected data 10 years ago
Jonas Jenwald 34cbee9bd3 Add unit-tests for PR 6531 10 years ago
Jonas Jenwald e8ad6c9d13 Add a unit-test for bug 1020226 10 years ago
Jonas Jenwald ae255f8921 Slightly improved `getPage` unit-tests 10 years ago
Rob Wu c676ecb5a0 Detect scripted auto-print requests 10 years ago
Jonas Jenwald 940bedf75f Add a unit-test that attempts to fetch a non-existent named destination 10 years ago
Jonas Jenwald 38955d491f Further improvements of the getStats and getDownloadInfo unit tests 10 years ago
Mike Corbin 4c9b65f0e1 Extract correct PDF format version from the catalog 10 years ago
Jonas Jenwald 36ac67583f Remove commented out code about |disableWorker| in the test suite 10 years ago
Tim van der Meij b215af30d3 Require destinations when they are needed and do not fetch all of them in advance 11 years ago
Jonas Jenwald dc5b0d251f Improve the getData unit test 11 years ago
Jonas Jenwald 27a80f3b88 Add unit test for |MissingPDFException| 11 years ago
Jonas Jenwald 6077e93275 In test/unit/api_spec.js rename the function `waitsForPromise` to `waitsForPromiseResolved`and add a `waitsForPromiseRejected` function 11 years ago
Jonas Jenwald fb7489ffd0 Add getStats unit test 11 years ago
Jonas Jenwald 9f1e140c4f Add unit test for PDF file loaded as typed array 11 years ago
Jonas Jenwald fc5ad8a8d6 Add even more unit tests for the API 11 years ago
Tim van der Meij 34728ee49b Removing unused code 11 years ago
pramodhkp 1d00e9d13c Added getOperatorList to api.js 11 years ago
Jonas Jenwald a984fe5b55 Add more unit tests for the API 11 years ago
Jonas Jenwald 3adab8b183 Fix unit test for getDestinations 11 years ago
Jonas Jenwald e00b986bd3 Add unit test for getData 11 years ago
Thorben Bochenek c547f17ee5 Add Test for PDFDocumentProxy_getPageIndex 11 years ago
Yury Delendik 5bf3e44e30 Introduces LegacyPromise; polyfills DOM Promise 11 years ago
Brendan Dahl 730a2cc550 Increase api unit tests timeout for chrome. 12 years ago
Brendan Dahl 5ecce4996b Split files into worker and main thread pieces. 12 years ago