[Pkg-javascript-commits] [pdf.js] 127/207: Removes error catch from fetchUncompressed()
David Prévot
taffit at moszumanska.debian.org
Mon Jul 28 15:36:39 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository pdf.js.
commit 623fa293004334afb72621db907e66ee3f755673
Author: Yury Delendik <ydelendik at mozilla.com>
Date: Wed Jun 18 18:30:27 2014 -0500
Removes error catch from fetchUncompressed()
---
src/core/obj.js | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/src/core/obj.js b/src/core/obj.js
index af13e5a..3517de3 100644
--- a/src/core/obj.js
+++ b/src/core/obj.js
@@ -1216,15 +1216,7 @@ var XRef = (function XRefClosure() {
error('bad XRef entry');
}
if (this.encrypt && !suppressEncryption) {
- try {
- xrefEntry = parser.getObj(this.encrypt.createCipherTransform(num,
- gen));
- } catch (ex) {
- // Almost all streams must be encrypted, but sometimes
- // they are not, probably due to some broken generators.
- // Retrying without encryption...
- return this.fetch(ref, true);
- }
+ xrefEntry = parser.getObj(this.encrypt.createCipherTransform(num, gen));
} else {
xrefEntry = parser.getObj();
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git
More information about the Pkg-javascript-commits
mailing list