277 Commits (c36468cbce3175ba6409e423eeaf2621322f222b)

Author SHA1 Message Date
Jonas Jenwald 6606540fe4 Fix errors reported by the `func-call-spacing` ESLint rule 9 years ago
Jonas Jenwald ad915f8af1 Fix errors reported by the `comma-spacing` ESLint rule 9 years ago
Jonas Jenwald e53ab844cc Fix errors reported by the `no-useless-concat` ESLint rule 9 years ago
Jonas Jenwald e386af7b22 Adjust one of the Page Label unit-tests to use a PDF file where the "St" entry is both present and non-default (i.e. greater than one) 9 years ago
Javier Infante 54fab606ee add basic unit-tests for murmurhash3.js 9 years ago
Sean Burke f76cd2ce43 Expose the optional UserUnit entry as a page property 9 years ago
Jonas Jenwald 6d8a404a9c [api-minor] Add support for a couple of white-listed `JavaScript` actions that contains valid URLs (issue 3897, bug 843699) 9 years ago
Jonas Jenwald 2d8d8b5e53 Use `stringToPDFString` to sanitizing bad "Prefix" entries in Page Label dictionaries 9 years ago
Jonas Jenwald 9dc6463933 Ignore reserved commands when parsing operands in `CFFParser_parseDict`, instead of just rejecting the entire font (bug 1308536) 9 years ago
Tim van der Meij 1d96854019 Widget annotation: implement field name according to the specification 9 years ago
Tim van der Meij 5194e68134 Lint: correct code style violations 9 years ago
Jonas Jenwald 2b79782377 [api-minor] Add basic support for `Launch` actions (issue 1778, issue 3897, issue 6616) 9 years ago
Jonas Jenwald d284cfd5eb [api-minor] Add support for relative URLs, in both annotations and the outline, by adding a `docBaseUrl` parameter to `PDFJS.getDocument` (bug 766086) 9 years ago
Jonas Jenwald 42f07c6262 [api-minor] Use the `new URL` constructor when validating URLs in annotations and the outline, as a complement to only checking the protocol, and add a bit more validation to `Catalog_parseDestDictionary` 9 years ago
Jonas Jenwald e64bc1fd13 Move parsing of destination dictionaries to a helper function 9 years ago
Tim van der Meij f85f3243b1 Choice widget annotations: unit and reference testing 9 years ago
Jonas Jenwald 93830032ac Add a unit-test for annotations where the `URI` action has an incorrect encoding (bug 1122280, PR 5999) 9 years ago
Tim van der Meij 375229d6b9 Widget annotations: simplify field flag handling 9 years ago
Tim van der Meij 6100ab4b18 Text widget annotations: implement comb support 9 years ago
Tim van der Meij adf0972ca5 Text widget annotations: improve unit and reference tests 9 years ago
Tim van der Meij 323e86c442 Text widget annotations: implement unit testing and sanitize data values 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
Tim van der Meij b81d661556 Remove unused globals from fonts unit test file 9 years ago
Jonas Jenwald 088ce6c009 Add a unit-test to check that `ProblematicCharRanges` contains valid entries 9 years ago
Jonas Jenwald 78889646c8 Create a fallback annotation `id` for entries in `Annots` dictionaries that are not indirect objects (issue 7569) 9 years ago
Jonas Jenwald db1526c59e Add unit-tests for asynchronous methods in `primitives.js` 9 years ago
Jonas Jenwald af636aae96 Add a parameter to the `isName` function that enables checking not just that something is a `Name`, but also that the actual `name` properties matches 9 years ago
Jonas Jenwald d70e07fb90 Add more unit-tests for `primitives.js` 9 years ago
Jonas Jenwald 558a22cd02 Prevent errors when parsing Annotations with missing (or invalid) /Subtype entries (issue 7446) 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 6260fc09a3 Attempt to recover valid `format 3` FDSelect data from broken CFF fonts (bug 1146106) 9 years ago
Jonas Jenwald 98fe094d18 Let non-viewable Popup Annotations inherit the parent's Annotation Flags if the parent is viewable 9 years ago
Jonas Jenwald b354682dd6 [api-minor] Let `LinkAnnotation`/`PDFLinkService_getDestinationHash` return a stringified version of the destination array for explicit destinations 9 years ago
Jonas Jenwald 01ab15a6f1 [api-minor] Let `Catalog_getPageIndex` check that the `Ref` actually points to a /Page dictionary 9 years ago
Jonas Jenwald c5c5a2a71f Add basic unit-tests for unicode.js 9 years ago
Tim van der Meij 6a7012aaca Remove unused variables 9 years ago
Jonas Jenwald c9b6de3b16 Prevent adding invalid values in `CFFDict_setByKey` (bug 1068432) 9 years ago
Jonas Jenwald 29c4a604af Split the font_spec.js unit-tests into cff_parser_spec.js and type1_parser_spec.js 9 years ago
Yury Delendik 7fd3db9977 Adds EventBus. 9 years ago
Jonas Jenwald b4a17323b6 Move `isDict` unit-tests from util_spec.js to primitives_spec.js 9 years ago
Jonas Jenwald 4523ae0b91 Add a couple of `CipherTransformFactory` unit-tests to check that blank passwords are correctly rejected 9 years ago
Jonas Jenwald 171f908b89 Add a couple of `LinkAnnotation` unit-tests 9 years ago
Prakash Palanisamy a25c29d98d Remove `combineUrl` and replace it with `new URL`. 9 years ago
Yury Delendik 006e8fb59d Introduces UMD headers to the web/ folder. 9 years ago
Yury Delendik 879340d741 Removes hijack describe() hack from unit tests. 9 years ago
Jonas Jenwald c4e21c93a2 Use `beforeAll`/`afterAll` in font_spec.js (issue 6905) 9 years ago
Jonas Jenwald b0ce83b372 Use `beforeAll`/`afterAll` in `CipherTransformFactory` in crypto_spec.js (issue 6905 9 years ago
Jonas Jenwald f59c3a0644 Remove the remaining usages of `new {Name,Cmd}` in favor of `{Name,Cmd}.get` 9 years ago
Jonas Jenwald c6c5b8fab8 Use `beforeAll`/`afterAll` in `isExternalLinkTargetSet` in dom_utils_spec.js (issue 6905) 9 years ago