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.

constructor(msg, status) {
    super(msg, "UnexpectedResponseException");
    this.status = status;
  }
}
/**
 * Error caused during parsing PDF data.
 */
class FormatError extends BaseException {
  constructor(msg) {
    super(msg, "FormatError");
  }
}
/**
 * Error used to indicate task cancellation.
 */
class AbortException extends BaseException {
  constructor(msg) {
    super(msg, "AbortException");
  }
}
const NullCharactersRegExp = /\x00/g;
/**
 * @param {string} str
 */
function removeNullCharacters(str) {