1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 10:08:06 +02:00

Merge upstream.

This commit is contained in:
Brendan Dahl 2011-12-11 21:13:53 -08:00
commit 4c01766278
26 changed files with 513 additions and 324 deletions

View file

@ -132,8 +132,8 @@ var WorkerMessageHandler = {
} catch (e) {
// Turn the error into an obj that can be serialized
e = {
message: e.message,
stack: e.stack
message: typeof e === 'object' ? e.message : e,
stack: typeof e === 'object' ? e.stack : null
};
handler.send('page_error', {
pageNum: pageNum,