pdf.js/src/core
Jonas Jenwald ca027ebfdb Fix the exception propagation when rejecting workerReadyCapability
Currently when an exception is thrown, we try to reject `workerReadyCapability` with multiple arguments in src/core/api.js. This obviously doesn't work, hence this patch changes that to instead reject with the exception object as is.
In src/core/worker.js the exception is currently (unncessarily) wrapped in an object, so this patch also simplifies that to directly send the exception object instead.
2014-09-08 22:20:41 +02:00
..
annotation.js Add strict equalities in src/core/annotation.js 2014-08-01 18:39:45 +02:00
arithmetic_decoder.js Add strict equalities in src/core/arithmetic_decoder.js 2014-08-01 18:39:46 +02:00
bidi.js Add strict equalities in src/core/bidi.js 2014-08-01 18:39:46 +02:00
charsets.js Split files into worker and main thread pieces. 2013-08-12 10:48:06 -07:00
chunked_stream.js Fix ensureByte() function name (copy-and-paste error) 2014-08-19 12:19:22 +02:00
cmap.js Fix the error handling for CMaps that fail to load 2014-08-14 16:29:10 +02:00
colorspace.js Fix handling of RGBA buffers in CalRGB colorspace (issue 5270) 2014-09-08 12:26:32 +02:00
core.js Add strict equalities in src/core/core.js 2014-08-01 18:40:10 +02:00
crypto.js AES cipher: make padding optional 2014-08-08 12:36:29 +02:00
evaluator.js Add basic support for ZapfDingbats 2014-09-03 21:54:04 +02:00
font_renderer.js Remove some unused variables from src/ 2014-04-15 17:10:23 +02:00
fonts.js Add |SpecialPUASymbols| map and refactor |mapSpecialUnicodeValues| 2014-09-04 13:41:15 +02:00
function.js Right-size the array in getSampleArray(). 2014-08-14 18:56:12 -07:00
glyphlist.js Add basic support for ZapfDingbats 2014-09-03 21:54:04 +02:00
image.js Apply the GRAYSCALE_1BPP optimization when needsDecode is set. 2014-08-18 16:45:19 -07:00
jbig2.js Merge pull request #5114 from fkaelberer/fasterJBIG2decodeBitmap 2014-08-07 16:14:30 -05:00
jpg.js Use strict equalities in src/core/jpg.js 2014-08-01 23:02:56 +02:00
jpx.js Use strict equalities in src/core/jpx.js 2014-08-01 23:02:57 +02:00
metrics.js Split files into worker and main thread pieces. 2013-08-12 10:48:06 -07:00
murmurhash3.js Add strict equalities in src/core/murmurhash3.js 2014-08-01 21:56:04 +02:00
network.js Removes mozResponseArrayBuffer 2014-05-29 20:38:50 -05:00
obj.js Remove two instances of leftover console.log debug statements 2014-08-13 14:29:46 +02:00
parser.js CCITTFaxStream parser: resolve xref if needed 2014-08-31 11:03:24 +02:00
pattern.js Optimizes functions to not create arrays 2014-08-04 11:23:11 -05:00
pdf_manager.js Remove LegacyPromise in src/core/worker.js 2014-05-03 00:09:49 +02:00
ps_parser.js Add strict equalities in src/core/ps_parser.js 2014-08-01 22:02:10 +02:00
stream.js Fixes CCITTFaxStream regression 2014-08-07 22:07:20 +02:00
worker.js Fix the exception propagation when rejecting workerReadyCapability 2014-09-08 22:20:41 +02:00