Closed Bug 1686102 Opened 3 years ago Closed 3 years ago

Update pdf.js to version 2.7.510

Categories

(Firefox :: PDF Viewer, task)

task
Not set
normal

Tracking

()

RESOLVED FIXED
86 Branch
Tracking Status
firefox86 --- fixed

People

(Reporter: RyanVM, Assigned: RyanVM)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1681399 +++

Looks like we're pretty far behind from upstream.

Changes since the last update:
#12703 Ensure that the pdf.sandbox.js is removed from the DOM on destroy, and unbreak the Chromium-extension (PR 12695 follow-up)
#12707 Checkboxes with the same name must behave like a radio buttons group
#12712 Attempt to handle collapsed outline items, in the default viewer, according to the specification (issue 12704, PR 10890 follow-up)
#12722 JS -- fix printd issue with negative number
#12720 Be sure that CalculationOrder is either null or a non-empty array
#12668 Add some integration tests using puppeteer
#12723 Bump ini from 1.3.5 to 1.3.7
#12719 JS -- add function eMailValidate used to validate an email address
#12717 Ensure that the /Annots-entry, on /Page-instances, is actually an Array (issue 12714)
#12728 [gulpfile.js] Move the time-zone hack to the testing-pre task, such that all tests work regardless of the current time-zone
#12718 Ignore color-operators in Type3 glyphs beginning with a d1 operator (issue 12705)
#12725 Use widths defined by font for standard fonts.
#12732 Call done.fail correctly in the scripting_spec.js unit-tests
#12734 Update packages and translations
#12733 Add a test-case for bug 1292316
#12736 Remove the remaining IE 11 polyfills
#12700 Fix automatic zoom under spread mode
#12724 Follow-up of #12707: Add an integration test for checkboxes as radio …
#12737 Change the minimum "supported" version of the Safari-browser to Safari 10
#12635 JS -- Send events to the sandbox from annotation layer
#12742 Don't use 'in' operator to check if key is in a Map
#12689 In order to simplify m-c code, move some in pdf.js
#12741 JS -- Actions must be evaluated in global scope
#12754 Dispatch an event on sandbox creation
#12753 Ignore, rather than throwing on, Coding style component (COC) markers in JPEG 2000 images (issue 12752)
#12747 Add new "pageopen"/"pageclose" events for usage with JavaScript actions
#12702 JS - Collect and execute actions at doc level
#12748 Update the events, used with scripting, to use lower-case names and avoid using DOM events internally in the viewer + misc scripting-related tweaks
#12758 Run AnnotationStorage.resetModified when destroying the PDFDocumentLoadingTask/PDFDocumentProxy
#12760 Switch from Travis CI to GitHub Actions
#12761 Stop running gulp components as part of the unit-tests
#12751 Add a default DA for textfield to avoid issues when printing or saving
#12765 Avoid the getJavaScript API-call in PDFViewerApplication._initializeAutoPrint when "enableScripting" is set
#12770 Remove timeout in annotation integration test
#12637 JS -- Add support for buttons
#12771 [Scripting] Try to ensure that the WillPrint/DidPrint respectively DidSave events are always dispatched
#12773 Pass in the "sandboxBundleSrc" option when calling DefaultExternalServices.createScripting
#12780 Remove unused .noResults CSS-rule
#12781 Update packages and translations
#12766 Ignore, rather than throwing on, unsupported Coding style default (COD) options in JPEG 2000 images (issue 11004)
#12788 Include the state in the "presentationmodechanged" event, and remove the separate active/switchInProgress properties
#12792 Switch the badge in the README from Travis CI to GitHub Actions (PR 12760 follow-up)
#12793 Support the once option, when registering EventBus listeners
#12796 Extract common functionality into a new BaseTreeViewer._finishRendering method
#12800 Convert DefaultExternalServices.fallback to an asynchronous method
#12801 Modernize the FirefoxCom.request method
#12802 Add a new FirefoxCom.requestAsync method, to simplify the code in web/firefoxcom.js
#12805 Remove unnecessary toolbarButton icon-flipping in RTL mode (PR 11077 follow-up)
#12804 Remove the DownloadManager.onerror functionality, since its only usage is unlikely to be helpful
#12807 Remove unnecessary dir-dependent CSS rules, and add a missing CSS variable (PR 11077 follow-up)
#12774 JS -- Add tests for print/save actions
#12808 Disable a test using pending function
#12825 An option is missing for last versions of worker-loader to use pdf.js with webpack
#12815 Update webpack example
#12816 JS -- Plug PageOpen and PageClose actions
#12822 Improve the PDFViewerApplication._contentLength handling in the viewer, related mostly to scripting
#12824 Improve the handling of errors, in PartialEvaluator.loadFont, occuring in PartialEvaluator.preEvaluateFont (issue 12823)
#12820 Don't dispatch "pageclose" events if a "pageopen" wasn't dispatched for the page (PR 12747 follow-up)
#12834 Try to fix TypeScript definitions for the es5-build in pdfjs-dist (issue 12872)
#12837 Remove unncessary CanvasFactory/CMapReaderFactory/FileReaderFactory duplication in unit-tests
#12777 Add support for finding/highlighting the outlineItem, corresponding to the currently visible page, in the sidebar (issue 7557, bug 1253820, bug 1499050)
#12843 Fix broken "issue12394" test-case
#12840 Use ESLint to ensure that exports are sorted alphabetically
#12842 Improve handling of JPEG images without an EOI marker (issue 12841)
#12844 Update packages and translations
#12845 Remove unnecessary dir-dependent CSS rules, and simplify som findbar-button rules (PR 11077 follow-up)
#12846 Enable the Stylelint length-zero-no-unit rule
#12848 Correctly align annotation content in horizontal/spead scrolling modes

Try push:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=94701bb5fa90ffee8df50afa4ce04f6d49b3af4e

Pushed by rvandermeulen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/58c64b9af9e6
Update pdf.js to version 2.7.510. r=bdahl
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
Regressions: 1731567
Regressions: 1766039
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: