Update PDF.js to new version 5f87da50d5f887844d1675d31c3a0fe44f661e23 from 2024-03-29 21:48:19
Categories
(Firefox :: PDF Viewer, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox126 | --- | fixed |
People
(Reporter: update-bot, Assigned: calixte)
References
(Blocks 1 open bug)
Details
(Whiteboard: [3pl-filed][task_id: ImfXBwXfTWmVKzc4gbvm9A])
Attachments
(1 file)
This update covers 3 commits. Here are the overall diff statistics, and then the commit information.
toolkit/components/pdfjs/content/build/pdf.mjs | 10 ++--
toolkit/components/pdfjs/content/build/pdf.scripting.mjs | 4 +-
toolkit/components/pdfjs/content/build/pdf.worker.mjs | 31 +++++++++-----
toolkit/components/pdfjs/content/web/viewer-geckoview.mjs | 6 +-
toolkit/components/pdfjs/content/web/viewer.mjs | 6 +-
toolkit/components/pdfjs/moz.yaml | 4 +-
6 files changed, 34 insertions(+), 27 deletions(-)
136c1faa7f168747a4771a673336fbbc4d95e5c4 by Calixte Denizet
https://github.com/mozilla/pdf.js/commit/136c1faa7f168747a4771a673336fbbc4d95e5c4
Authored: 2024-03-29 20:58:24 +0100
Committed: 2024-03-29 21:30:24 +0100
Display outlines even if one has no title
Fixes #17856.
Files Added:
- test/pdfs/issue17856.pdf.link
Files Modified:
- src/core/catalog.js
- test/test_manifest.json
- test/unit/api_spec.js
0f7cb531cf93a11ddab7f0167d9fbc4a63c2d69a by Jonas Jenwald
https://github.com/mozilla/pdf.js/commit/0f7cb531cf93a11ddab7f0167d9fbc4a63c2d69a
Authored: 2024-03-27 11:26:44 +0100
Committed: 2024-03-27 11:40:00 +0100
[api-minor] Update the minimum supported Google Chrome version to 98
This patch updates the minimum supported browsers as follows:
- Google Chrome 98, which was released on 2022-02-01; see https://chromereleases.googleblog.com/2022/02/stable-channel-update-for-desktop.html
The primary reason for this version bump is structuredClone support, please see https://developer.mozilla.org/en-US/docs/Web/API/structuredClone#browser_compatibility
At this point in time we're using structuredClone in different parts of the code-base, and it's unfortunately functionality that's difficult to polyfill completely (affects the transfer option specifically).
Note that nowadays we usually try, where feasible and possible, to support browsers that are about two years old. By limiting support to only "recent" browsers we reduce the risk of holding back improvements of the built-in Firefox PDF Viewer, and also (significantly) reduce the maintenance/support burden for the PDF.js contributors.
Please note: As always, the minimum supported browser version assumes that a legacy-build of the PDF.js library is being used; see https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions#faq-support
Files Modified:
- gulpfile.mjs
0d039937f94d63cc32a58cbd68aa6d6463bf9089 by Jonas Jenwald
https://github.com/mozilla/pdf.js/commit/0d039937f94d63cc32a58cbd68aa6d6463bf9089
Authored: 2024-03-26 20:07:23 +0100
Committed: 2024-03-26 20:15:48 +0100
Add better support for /Launch actions with /FileSpec dictionaries (issue 17846)
Files Added:
- test/pdfs/issue17846.pdf
Files Modified:
- src/core/catalog.js
- src/core/file_spec.js
- test/pdfs/.gitignore
- test/unit/api_spec.js
| Reporter | ||
Comment 1•1 year ago
|
||
| ImfXBwXfTWmVKzc4gbvm9A | ||
I've submitted a try run for this commit: https://treeherder.mozilla.org/jobs?repo=try&revision=347da1d95c2c24606cd5c352376ea4040d2aec42
| Reporter | ||
Comment 2•1 year ago
|
||
| Reporter | ||
Comment 3•1 year ago
|
||
| SHngCrMARdO8VzJguRR9Mw | ||
All jobs completed, we found the following issues.
Known Issues (From Taskcluster):
- test-windows10-64-2009-qr/opt-mochitest-plain-gpu (cJl1wcQkTKqpr4G-AI5u9A) - new failure not classified
These failures may mean that the library update succeeded; you'll need to review
them yourself and decide. If there are lint failures, you will need to fix them in
a follow-up patch. (Or ignore the patch I made, and recreate it yourself with
./mach vendor toolkit/components/pdfjs/moz.yaml.)
In either event, I have done all I can, so you will need to take it from here.
When reviewing, please note that this is external code, which needs a full and
careful inspection - not a rubberstamp.
Description
•