Closed Bug 1702796 Opened 3 years ago Closed 3 years ago

Update pdf.js to version 2.8.320


(Firefox :: PDF Viewer, task)

Not set



89 Branch
Tracking Status
firefox89 --- verified


(Reporter: bdahl, Assigned: bdahl)


(Blocks 1 open bug, Regressed 2 open bugs)



(1 file)

#13069 [api-minor]XFA - Add a layer to display XFA forms
#13119 Actually reset the PDFPageProxy._xfaPromise property as intended (PR 13069 follow-up)
#13120 Rotate landscape pages, during printing, by default in the viewer (enablePrintAutoRotate = true)
#13116 Enable scripting by default in the viewer (PR 13053 follow-up)
#13113 Ignore some scripting events which don't make sense in PresentationMode
#13105 Improve memory usage around the BasePdfManager.docBaseUrl parameter (PR 7689 follow-up)
#13118 Add landmark region and aria-label for each page.
#13124 Tweak the pre-processor condition, for Node.js environments, in the animationStarted helper (issue 13057)
#13117 Re-factor the default preferences generation to support build targets (PR 10548)
#13126 Update packages and translations
#13125 Don't provide the enableXfa parameter to the BaseViewer constructor, and avoid the fallback bar with enableXfa = true set (PR 13069 follow-up)
#13135 Fix typo in pdf_history.js
#13128 Re-factor how the BasePreferences.prefs-property is initialized; remove some indirect loops
#13082 XFA - Convert some template properties into CSS ones
#13149 Set CFF header to 4 when writing it because it contains 4 elements
#13140 [GrabToPan] Remove more IE-specific code, and remove unconditional browser sniffing
#13145 print: Improve rendering of oversized pages.
#13144 [GrabToPan] Use Element.matches() rather than prefixed ...matchesSelector versions
#13138 [PDFHistory] Correctly simulate an internal destination in the pushPage-method (PR 12493 follow-up)
#13056 Dispatch a "Doc/WillClose" event, when scripting is enabled, when closing the document
#13154 Update quickjs to revision b5e62895c619d4ffc75c9d822c8d85f1ece77e5b
#13155 Move rotation normalization from PDFViewerApplication and into BaseViewer
#13152 Skip extra objects in object stream in using offsets
#13160 Improve handling of linked test-cases for the unit/integration suites
#13133 JS - Handle correctly hierarchy of fields
#13115 XFA - Add support for few ui elements
#13161 Bump y18n from 3.2.1 to 3.2.2
#13156 Prevent errors, in PDFOutlineViewer._getPageNumberToDestHash, for invalid destRef values (PR 12777 follow-up)
#13158 Remove the URL polyfill
#13157 Remove the file://-URL special-case from webViewerOpenFileViaURL
#13166 [api-minor] Support proper URL-objects, in addition to URL-strings, in getDocument
#13165 [api-minor] Stop exposing the raw defaultAppearance-string on Annotation-instances
#13168 Use post table when Encoding has only Differences
#12908 Slightly rescale lineWidth to workaround chrome rendering issue

Pushed by
Update pdf.js to version 2.8.320 r=RyanVM
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch

Comment on attachment 9213354 [details]
Bug 1702796 - Update pdf.js to version 2.8.320 r=calixte

Beta/Release Uplift Approval Request

  • User impact if declined: Some users could not see some dynamic aspects of some "old" pdf forms with embedded JS scripts.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: STR are here:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): It works well in pdf.js tests and I successfully tested in nightly.
  • String changes made/needed:
Attachment #9213354 - Flags: approval-mozilla-beta?
Flags: qe-verify+

Comment on attachment 9213354 [details]
Bug 1702796 - Update pdf.js to version 2.8.320 r=calixte

We're out of Betas this cycle. This fix will need to ride 89.

Attachment #9213354 - Flags: approval-mozilla-beta? → approval-mozilla-beta-
QA Whiteboard: [qa-triaged]

I have reproduced this issue using Firefox 89.0a1 (2021.04.02) on Ubuntu 20.04 x64 and Win 8.1 x64.
I can confirm this issue is fixed, I verified using Firefox 89.0a1 (latest nightly) on Ubuntu 20.04 x64, Win 8.1 x64 and macOS 10.15.

Flags: qe-verify+
Regressions: 1711659
No longer regressions: 1714327
Regressions: 1714173
No longer regressions: 1714173
See Also: → 1714173
Regressions: 1719148
Regressions: 1714327
See Also: → 1795252
See Also: → 1795253
You need to log in before you can comment on or make changes to this bug.