mozilla/pdf.js — Issue #1015: this is undefined in ccittFaxStreamFindTableCode
Author: fmms
Created: 2012-01-03 16:24:58+00:00
State: open

When accessing chrome://pdf.js/content/web/viewer.html?file=http%3A%2F%2Ffaculty.washington.edu%2Ffidelr%2FRayaPubs%2FTheCaseStudyMethod.pdf i get the following exception:

```
PDF.JS Build: 78f7354 Message: this is undefined Stack: ccittFaxStreamFindTableCode(1,7,[object Array])@chrome://pdf.js/content/build/pdf.js:27110 ccittFaxStreamGetTwoDimCode()@chrome://pdf.js/content/build/pdf.js:27139 ccittFaxStreamLookChar()@chrome://pdf.js/content/build/pdf.js:26836 ccittFaxStreamReadBlock()@chrome://pdf.js/content/build/pdf.js:26751 decodestream_getBytes(1055700)@chrome://pdf.js/content/build/pdf.js:25373 getImageBytes(1055700)@chrome://pdf.js/content/build/pdf.js:21346 fillRgbaBuffer([object Uint8Array],3312,2550)@chrome://pdf.js/content/build/pdf.js:21305 ([object Object])@chrome://pdf.js/content/build/pdf.js:12312 ([object Array])@chrome://pdf.js/content/build/pdf.js:21104 promiseResolve([object Array])@chrome://pdf.js/content/build/pdf.js:1114 (null)@chrome://pdf.js/content/build/pdf.js:1064 promiseResolve(null)@chrome://pdf.js/content/build/pdf.js:1114 buildImage((function (imageObj) {"use strict";var drawWidth = imageObj.drawWidth;var drawHeight = imageObj.drawHeight;var imgData = {width: drawWidth, height: drawHeight, data: new Uint8Array(drawWidth * drawHeight * 4)};var pixels = imgData.data;imageObj.fillRgbaBuffer(pixels, drawWidth, drawHeight);handler.send("obj", [objId, "Image", imgData]);}),[object Object],[object Object],[object Object],[object Object],false)@chrome://pdf.js/content/build/pdf.js:21113 buildPaintImageXObject([object Object],false)@chrome://pdf.js/content/build/pdf.js:12314 partialEvaluatorGetIRQueue([object Object],[object Object],[object Object],[object Array])@chrome://pdf.js/content/build/pdf.js:12429 pageGetIRQueue([object Object],[object Array])@chrome://pdf.js/content/build/pdf.js:227 wphSetupPageRequest(1)@chrome://pdf.js/content/build/pdf.js:27486 messageHandlerComObjOnMessage([object MessageEvent])@chrome://pdf.js/content/build/pdf.js:27413
```