PDFs from lumileds.com do not load with PDF.js. Part of the background loads, then only the spinner continues while using 100% CPU. 

An example pdf is http://www.lumileds.com/uploads/17/DS61-pdf 

This behaviour occurs with both the release version of pdf.js in firefox 41.0.2 and the latest .xpi downloaded from this github page.

}
      tmpCanvas = this.cachedCanvases.getCanvas(
        tmpCanvasId,
        newWidth,
        newHeight
      );
      tmpCtx = tmpCanvas.context;
      tmpCtx.clearRect(0, 0, newWidth, newHeight);
      tmpCtx.drawImage(
        img,
        0,
        0,
        paintWidth,
        paintHeight,
        0,
        0,
        newWidth,
        newHeight
      );
      img = tmpCanvas.canvas;
      paintWidth = newWidth;
      paintHeight = newHeight;
      tmpCanvasId = tmpCanvasId === "prescale1" ? "prescale2" : "prescale1";
    }
    return {
      img,
      paintWidth,
      paintHeight,
    };
  }