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.

const p0 = p;
    let type = points[p];
    do {
      const step = steps[type];
      do {
        p += step;
      } while (!points[p]);
      const pp = points[p];
      if (pp !== 5 && pp !== 10) {
        
        type = pp;
        
        points[p] = 0;
      } else {
        
        
        type = pp & ((0x33 * type) >> 4);
        
        points[p] &= (type >> 2) | (type << 2);
      }
      coords.push(p % width1, (p / width1) | 0);
      if (!points[p]) {
        --count;
      }
    } while (p0 !== p);
    outlines.push(coords);
    --i;
  }
  const drawOutline = function (c) {
    c.save();