mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
try/catch bug. var not unset when getter length() throws error
This commit is contained in:
parent
668be62d2b
commit
0cdecf007f
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue