#1743 Add viewport metatag for mobile
#1793 Uses ellipsis instead of dots
#1794 Fix fallback after new download.
#1763 Type3 smoothing: pre-scale image in the paintImageMaskXObject
#1807 Dismiss native browser zoom, and use PDF.JS zoom instead
#1811 Adding explicit masking
#1816 Added missing css vendor prefixes
#1823 PDF.js should use a consistent font for its user interface
#1693 Use a reusable style sheet instead of creating a new tag for each rule.
#1808 UI update from shorlanders comments.
#1837 JBIG2 implementation
#1831 Change to priority/pausible rendering.
#1849 Fix for web worker test in Safari
#1856 Warn instead of fail for CID fonts
#1881 Adds lossless segment types; fixes generic region prediction flag
#1882 Segmentation symbol check for JPX
#1890 Skip properties inherited from array.prototype
#1884 Moz print callback
Created attachment 641588 [details] [diff] [review]
We've mainly been trying to improve printing over the last six weeks, so there aren't many changes. For the review the main thing I'd focus are the changes to the PdfStreamConverter(reviewed by Yury already as well) to support downloading the pdf file from a blob instead of re-requesting the file. See https://github.com/mozilla/pdf.js/pull/1786 for those specific changes. Most of the other changes are to code that run in content permission code.
Comment on attachment 641588 [details] [diff] [review]
Review of attachment 641588 [details] [diff] [review]:
A couple of tweaks but r+ once those are done
@@ +133,5 @@
> + // The data may not be downloaded so we need just retry getting the pdf with
> + // the original url.
> + var blobUrl = data.blobUrl || originalUrl;
> + var originalUri = NetUtil.newURI(originalUrl);
> + var blobUri = NetUtil.newURI(blobUrl);
You may be parsing the same uri twice here and the near-identical variable names are a little confusing. How about something like this:
var originalUri = NetUtil.newURI(data.originalUrl);
var blobUri = data.blobUrl ? NetUtil.newURI(data.blobUrl) : originalUri;
@@ +143,2 @@
> var ioService = Services.io;
> + var channel = ioService.newChannel(originalUrl, null, null);
This channel seems to go unused
Created attachment 642149 [details] [diff] [review]
Updated patch. Check-in needed see previous patch for r+.