1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 10:08:06 +02:00
pdf.js/src/core
Jonas Jenwald 27513cd23b [api-minor] Ensure that the getDocument Promise is rejected if the loadingTask is destroyed, or an Error is thrown, inside of the onPassword callback (issue 7806)
This patch also removes the `UpdatePassword` message, in favour of using the `sendWithPromise` method of `MessageHandler`.
Furthermore, the patch also refactors the `BasePdfManager_updatePassword`/`BasePdfManager_passwordChanged` methods (in pdf_manager.js), and the `pdfManagerReady` function (in worker.js).
2017-01-03 20:29:46 +01:00
..
annotation.js Button widget annotations: improve unit tests, simplify code and remove labels 2016-12-17 20:38:48 +01:00
arithmetic_decoder.js Adds UMD headers to core, display and shared files. 2015-12-15 13:24:39 -06:00
bidi.js Bidi: skip invalid Unicode character to make indexing work 2016-11-24 22:13:12 +01:00
cff_parser.js Ignore reserved commands when parsing operands in CFFParser_parseDict, instead of just rejecting the entire font (bug 1308536) 2016-11-03 12:50:40 +01:00
charsets.js Adds UMD headers to core, display and shared files. 2015-12-15 13:24:39 -06:00
chunked_stream.js Fix errors reported by the keyword-spacing ESLint rule 2016-12-12 20:35:56 +01:00
cmap.js Catch errors and continue parsing in parseCMap (issue 7492) 2016-07-18 16:39:56 +02:00
colorspace.js Colorspace: miscellaneous improvements 2016-12-02 16:47:39 +01:00
crypto.js Fix errors reported by the new-cap ESLint rule 2016-12-12 20:35:57 +01:00
document.js Document: extract CropBox fetching and validation into a getter 2016-12-08 22:44:53 +01:00
encodings.js Refactor Encodings 2016-01-28 11:32:59 -06:00
evaluator.js Improve the handling of Encoding dictionary, with Differences array, in PartialEvaluator_preEvaluateFont 2016-12-28 21:32:54 +01:00
font_renderer.js Fix (most) errors reported by the no-multi-spaces ESLint rule 2016-12-12 20:35:51 +01:00
fonts.js Switch to using ESLint, instead of JSHint, for linting 2016-12-16 21:06:36 +01:00
function.js Switch to using ESLint, instead of JSHint, for linting 2016-12-16 21:06:36 +01:00
glyphlist.js Add TeX-specific glyph names to glyphlist.js to improve both glyph mapping and text selection for mathematic fonts (issue 2594) 2016-10-26 16:39:58 +02:00
image.js trivial spelling fixes 2016-07-17 14:33:41 +02:00
jbig2.js Fix (most) errors reported by the no-multi-spaces ESLint rule 2016-12-12 20:35:51 +01:00
jpg.js Switch to using ESLint, instead of JSHint, for linting 2016-12-16 21:06:36 +01:00
jpx.js Fix (most) errors reported by the no-multi-spaces ESLint rule 2016-12-12 20:35:51 +01:00
metrics.js Lazify Metrics 2016-01-28 12:11:46 -06:00
murmurhash3.js Switch to using ESLint, instead of JSHint, for linting 2016-12-16 21:06:36 +01:00
network.js Fix #7701: additional check for http/https protocols to fix unsafe header request. 2016-11-14 11:39:10 +05:30
obj.js Fix the JSDoc comment for Catalog.parseDestDictionary 2016-11-27 11:18:18 +01:00
parser.js Switch to using ESLint, instead of JSHint, for linting 2016-12-16 21:06:36 +01:00
pattern.js Switch to using ESLint, instead of JSHint, for linting 2016-12-16 21:06:36 +01:00
pdf_manager.js [api-minor] Ensure that the getDocument Promise is rejected if the loadingTask is destroyed, or an Error is thrown, inside of the onPassword callback (issue 7806) 2017-01-03 20:29:46 +01:00
primitives.js Prevent an infinite loop in XRef_fetchUncompressed for encrypted PDF files with indirect objects in the /Encrypt dictionary (issue 7665) 2016-09-25 00:18:47 +02:00
ps_parser.js Move the isSpace utility function from core/parser.js to shared/util.js 2016-06-06 09:11:33 +02:00
standard_fonts.js Improve rendering of non-embedded NuptialScript font 2016-11-22 17:56:17 +01:00
stream.js Let Parser_makeFilter pass in the DecodeParms data to various image Streams, instead of re-fetching it in various [...]Stream.prototype.ensureBuffer methods 2016-10-15 12:09:51 +02:00
type1_parser.js Fix errors reported by the keyword-spacing ESLint rule 2016-12-12 20:35:56 +01:00
unicode.js Convert uniXXXX glyph names to proper ones when building the charCodeToGlyphId map for TrueType fonts (bug 1132849, issue 6893, issue 6894) 2016-03-09 19:37:15 +01:00
worker.js [api-minor] Ensure that the getDocument Promise is rejected if the loadingTask is destroyed, or an Error is thrown, inside of the onPassword callback (issue 7806) 2017-01-03 20:29:46 +01:00