Merge pull request #3231 from yurydelendik/safari-checkheader

Rejects loading when data is not available for checkHeader
This commit is contained in:
Brendan Dahl 2013-05-09 09:49:45 -07:00
commit 220c827e9e

View File

@ -149,8 +149,8 @@ var WorkerMessageHandler = {
pdfManager.ensureModel('parseStartXRef', []).then(function() { pdfManager.ensureModel('parseStartXRef', []).then(function() {
pdfManager.ensureModel('parse', [recoveryMode]).then( pdfManager.ensureModel('parse', [recoveryMode]).then(
parseSuccess, parseFailure); parseSuccess, parseFailure);
}); }, parseFailure);
}); }, parseFailure);
return loadDocumentPromise; return loadDocumentPromise;
} }