Update pdf.js to version 1.0.370

RESOLVED FIXED in Firefox 33

Status

()

RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: RyanVM, Assigned: RyanVM)

Tracking

(Depends on: 2 bugs)

unspecified
Firefox 33
Points:
---
Dependency tree / graph
Bug Flags:
qe-verify -

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [MemShrink])

Attachments

(1 attachment)

(Assignee)

Description

4 years ago
Reading njn's last blog post, am I crazy for thinking we might want to consider an Aurora uplift on this for Fx32 as well? Also, we should probably consider getting B2G's in-tree copy updated as well.

Changes since last update:
#4879 Version 1.0.277
#4851 Added more preferences for the available hash parameters.
#4866 Removes mozResponseArrayBuffer
#4876 Prevent adding undefined array entries to CMap.map in mapRangeToArray (issue 4875)
#4835 Prevent font error when no preferred cmap table is found (workaround for issue 4800)
#4886 Adds color components decoding to the JPEG
#4891 Fixes typo in getAsync
#4889 Optimized loops in JPG conversion.
#4868 Added a base64 transparent gif image to links for IE
#4894 Optimize JPG.js receiveAndExtend for 1 bit case.
#4896 Deleted unused variables in jpgjs buildComponentData.
#4897 Optimization for FlateStream_getCode, making more pdfs parsable.
#4902 Prevent infinite loop when scanning for endstream (bug 1020226)
#4907 add object id to streams to prevent infinite loops.
#4892 Fixes masked JPEG image
#4867 Fixes murmurhash for old webkit.
#4895 Small optimizations 1
#4870 Enable browser cache when running test server
#4910 Handle cases where the fontName contains non-alphanumeric characters (issue 4909)
#4912 Fixes optional backdrop regression
#4917 Fixed base64 image in CSS
#4920 Zero the height and width of the PageView canvas before deleting.
#4922 Return ErrorFont in loadFont when the fontRef is undefined
#4915 Fix #4914
#4925 Protects PDFJS.disableXXX == true from change
#4864 Translate statcmp.py to JavaScript
#4928 Removes statcmp.py
#4929 Imports most recent l10n files
#4930 Re-add Attachment strings to the Swedish l10n
#4932 Cache pages at the start of drawing, not the end.
#4924 Fixes drawImage for thumbs
#4933 Fix mishandling of incomplete, inverted masks.
#4834 Limit the size of canvases to 5MP (iOS restriction)
#4937 Halve the size of the PageView cache.
#4936 Fix PageView cache re-insertions.
#4938 Added support for decrypting PDF 1.7/2.0 Algorithm 5 revision 5 and 6. (perf)
#4939 Fixes JPX COC support / JPX error reporting refactoring
#4942 Add larger zoom values to zoom dropdown box
#4941 Prevent rendering unnecessary pages when the HOME/END keys are pressed
(Assignee)

Updated

4 years ago
Whiteboard: [MemShrink]
(Assignee)

Comment 1

4 years ago
Created attachment 8440671 [details] [diff] [review]
Update pdf.js to version 1.0.370
Assignee: nobody → ryanvm
Status: NEW → ASSIGNED
Attachment #8440671 - Flags: review?(ydelendik)

Updated

4 years ago
Attachment #8440671 - Flags: review?(ydelendik) → review+
(In reply to Ryan VanderMeulen [:RyanVM UTC-4] from comment #0)
> Reading njn's last blog post, am I crazy for thinking we might want to
> consider an Aurora uplift on this for Fx32 as well?


I would rather uplift only few of them (most safe): #4920, #4932, #4936 (also #4902 and #4907?).
 
> Also, we should probably
> consider getting B2G's in-tree copy updated as well.

Yeah, we will need to uplift one more change from bug 1009780 for that.
Thanks, RyanVM! Though if we do uplift to Aurora, the release dates in my blog post will be wrong... but I can live with that :)

#4920 and #4932 are definitely the most important of my four patches.
(Assignee)

Comment 4

4 years ago
https://hg.mozilla.org/integration/fx-team/rev/0a116777ec21
Whiteboard: [MemShrink] → [MemShrink][fixed-in-fx-team]
https://hg.mozilla.org/mozilla-central/rev/0a116777ec21
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Whiteboard: [MemShrink][fixed-in-fx-team] → [MemShrink]
Target Milestone: --- → Firefox 33
(Assignee)

Comment 6

4 years ago
(In reply to Yury Delendik (:yury) from comment #2)
> I would rather uplift only few of them (most safe): #4920, #4932, #4936
> (also #4902 and #4907?).

We should probably file a new bug for any Aurora-specific uplifts we want to do if we're not going to take the update wholesale, but I think low-risk perf improvements are well within the scope for Aurora landing, especially this early in the cycle.
#4959 is a good candidate for uplift to Aurora as well.
(Assignee)

Updated

4 years ago
Blocks: 1027130
(Assignee)

Updated

4 years ago
Blocks: 1042307

Updated

4 years ago
Blocks: 1011697
Flags: qe-verify-

Updated

4 years ago
Blocks: 1072164

Updated

4 years ago
Blocks: 1074222

Updated

4 years ago
Depends on: 1121009

Updated

4 years ago
Depends on: 1157288
You need to log in before you can comment on or make changes to this bug.