[Pkg-javascript-commits] [pdf.js] 62/106: Revert PR 6024 "[Firefox] Parse all JPEG images in the addon", since it's fixed upstream
David Prévot
taffit at moszumanska.debian.org
Sat Jun 20 21:34:21 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository pdf.js.
commit a1743d9952157db21f36a5cb0b77c3bd05d3d211
Author: Jonas Jenwald <jonas.jenwald at gmail.com>
Date: Fri May 29 12:56:18 2015 +0200
Revert PR 6024 "[Firefox] Parse all JPEG images in the addon", since it's fixed upstream
---
src/core/stream.js | 18 ------------------
1 file changed, 18 deletions(-)
diff --git a/src/core/stream.js b/src/core/stream.js
index 0247710..2b81c6a 100644
--- a/src/core/stream.js
+++ b/src/core/stream.js
@@ -941,15 +941,6 @@ var JpegStream = (function JpegStreamClosure() {
*/
JpegStream.prototype.isNativelySupported =
function JpegStream_isNativelySupported(xref, res) {
-//#if FIREFOX
-// // Workaround for:
-// // - https://bugzilla.mozilla.org/show_bug.cgi?id=1164199.
-// // - https://github.com/mozilla/pdf.js/issues/6017.
-// // TODO: Remove this no later than July 1, 2015.
-// if (/\bFirefox\/4[01].0/.test(navigator.userAgent)) {
-// return false;
-// }
-//#endif
var cs = ColorSpace.parse(this.dict.get('ColorSpace', 'CS'), xref, res);
return cs.name === 'DeviceGray' || cs.name === 'DeviceRGB';
};
@@ -958,15 +949,6 @@ var JpegStream = (function JpegStreamClosure() {
*/
JpegStream.prototype.isNativelyDecodable =
function JpegStream_isNativelyDecodable(xref, res) {
-//#if FIREFOX
-// // Workaround for:
-// // - https://bugzilla.mozilla.org/show_bug.cgi?id=1164199.
-// // - https://github.com/mozilla/pdf.js/issues/6017.
-// // TODO: Remove this no later than July 1, 2015.
-// if (/\bFirefox\/4[01].0/.test(navigator.userAgent)) {
-// return false;
-// }
-//#endif
var cs = ColorSpace.parse(this.dict.get('ColorSpace', 'CS'), xref, res);
var numComps = cs.numComps;
return numComps === 1 || numComps === 3;
--
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