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

try/catch bug. var not unset when getter length() throws error

This commit is contained in:
Jean-Sebastien Legare 2012-10-27 21:18:37 -07:00
parent 668be62d2b
commit 0cdecf007f

View file

@ -458,6 +458,7 @@ var PDFDocument = (function PDFDocumentClosure() {
} catch (err) {
warn('The linearization data is not available ' +
'or unreadable pdf data is found');
linearization = false;
}
}
// shadow the prototype getter with a data property