Closed Bug 2070901 Opened 2 months ago Closed 2 months ago

Update PDF.js to new version 10db1d6793128f276248a1a1a41600d0eba2c443 from 2026-09-10 07:48:28

Categories

(Firefox :: PDF Viewer, enhancement)

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 2071019
Tracking Status
firefox158 --- affected

People

(Reporter: update-bot, Assigned: update-bot)

References

(Blocks 1 open bug)

Details

(Whiteboard: [3pl-filed][task_id: DcFWjYu2R7SgFAC7JnOOZA])

Attachments

(1 obsolete file)

This update covers 43 commits. Here are the overall diff statistics, and then the commit information.


toolkit/components/pdfjs/content/PdfJsVersion.sys.mjs | 2 +-
toolkit/components/pdfjs/content/build/pdf.mjs | 395 +++++---
toolkit/components/pdfjs/content/build/pdf.scripting.mjs | 8 +-
toolkit/components/pdfjs/content/build/pdf.worker.mjs | 650 ++++++++++---
toolkit/components/pdfjs/content/web/viewer-geckoview.mjs | 174 +++-
toolkit/components/pdfjs/content/web/viewer.css | 42 +-
toolkit/components/pdfjs/content/web/viewer.html | 11 +-
toolkit/components/pdfjs/content/web/viewer.mjs | 75 +-
toolkit/components/pdfjs/moz.yaml | 4 +-
9 files changed, 952 insertions(+), 409 deletions(-)


7f28f84728c2bda12d1f5cc08d0105573a3af0bb by Jonas Jenwald <jonas.jenwald@gmail.com>

https://github.com/mozilla/pdf.js/commit/7f28f84728c2bda12d1f5cc08d0105573a3af0bb
Authored: 2026-09-09 22:41:25 +0200
Committed: 2026-09-09 22:51:26 +0200

Use a "normal" import statement to access the importPrintedAppearances function, in the src/core/worker.js file (PR 21858 follow-up)

Currently this code is accessed with a dynamic import, which has the unfortunate side-effect of inflating the size of the built pdf.worker.mjs file a whole lot.

Given the relatively small size of the src/core/editor/print_appearances.js file it really doesn't seem like an issue to just bundle that code unconditionally, and the existing pre-processor checks means that the importPrintedAppearances code will only be invoked in MOZCENTRAL builds.

NOTE: This patch reduces the size of the gulp mozcentral bundle by 96 kilo-bytes, which I think is way too much to ignore.

Files Modified:

  • src/core/worker.js

28bbd8f0232adf2370f65ef091032fe2b1cdc2eb by Calixte Denizet <calixte.denizet@gmail.com>

https://github.com/mozilla/pdf.js/commit/28bbd8f0232adf2370f65ef091032fe2b1cdc2eb
Authored: 2026-09-09 17:17:57 +0200
Committed: 2026-09-09 19:20:37 +0200

Add a way to run the reference tests from a PR label

Adding the browsertest label to a PR dispatches a run to the private
mozilla/pdf.js.pdfs repository, which runs the Firefox reference tests on
Linux and Windows, sharded across several machines, and posts the results
(with a link to the reftest analyzer hosted on mozilla/pdf.js.refs) as a
comment. Every push to master dispatches a reference update in the same way.

The test runner gets a --shard=k/N option to split the manifest across
machines and a --summaryFile option to write the final counts as JSON.

Files Added:

  • .github/workflows/ref_tests_makeref.yml
  • .github/workflows/ref_tests_request.yml

Files Modified:

  • gulpfile.mjs
  • test/test.mjs

9cad39aec79b77e0ad08fbeba7130edc217c628b by Jonas Jenwald <jonas.jenwald@gmail.com>

https://github.com/mozilla/pdf.js/commit/9cad39aec79b77e0ad08fbeba7130edc217c628b
Authored: 2026-09-09 13:54:46 +0200
Committed: 2026-09-09 13:56:07 +0200

Replace forEach callback functions with arrow functions

This improves consistency in the code-base, and it's also a tiny bit shorter which cannot hurt.

Files Modified:

  • examples/text-only/pdf2svg.mjs
  • extensions/chromium/options/options.js
  • external/builder/test-fixtures.mjs
  • external/builder/test-fixtures_babel.mjs
  • external/cmapscompress/compress.mjs
  • gulpfile.mjs
  • src/core/cmap.js
  • src/core/evaluator.js
  • src/core/fonts.js
  • test/chromium/test-telemetry.js
  • test/stats/statcmp.js
  • test/test.mjs
  • test/testutils.mjs

2107bc4b9da7cd5cf2da824d9535dc9eff2d3785 by Jonas Jenwald <jonas.jenwald@gmail.com>

https://github.com/mozilla/pdf.js/commit/2107bc4b9da7cd5cf2da824d9535dc9eff2d3785
Authored: 2026-09-09 12:15:38 +0200
Committed: 2026-09-09 12:26:22 +0200

Remove the ViewHistory.prototype.set method, and replace its call-sites with setMultiple instead

The ViewHistory.prototype.set method is first of all not used a lot, and secondly it's not used in any hot code-paths[1].
Hence we can use setMultiple consistently instead, which means that the ViewHistory.prototype.set method can be removed.


[1] Only when opening/closing the sidebar or changing sidebar view, and when changing scroll/spread modes in the viewer.

Files Modified:

  • web/app.js
  • web/view_history.js

51c0c0007de48d3ece8c33a7609913ef3666bc43 by Jonas Jenwald <jonas.jenwald@gmail.com>

https://github.com/mozilla/pdf.js/commit/51c0c0007de48d3ece8c33a7609913ef3666bc43
Authored: 2026-09-09 12:07:33 +0200
Committed: 2026-09-09 12:23:24 +0200

Remove the unused ViewHistory.prototype.get method

This method is completely unused in the viewer, note the coverage data: https://app.codecov.io/gh/mozilla/pdf.js/commit/248bdcc235555ecf21f0b99f619e09eb5135241a/blob/web/view_history.js?dropdown=coverage#L82

Files Modified:

  • web/view_history.js

12e7b53f8717af35872f8e5e275dea385ecaef29 by Calixte Denizet <calixte.denizet@gmail.com>

https://github.com/mozilla/pdf.js/commit/12e7b53f8717af35872f8e5e275dea385ecaef29
Authored: 2026-09-07 10:37:10 +0200
Committed: 2026-09-08 22:13:11 +0200

[GeckoView] Add typed signatures (bug 2069485)

Forward GeckoView's "addsignature" DOM event to the viewer. Convert
non-empty text to contours, switch to signature mode when needed, and
create a SignatureEditor at the visible center of the current annotation
layer.

The GeckoView signature manager has no description-edit control, so the
editor toolbar accepts a missing button.

Files Added:

  • test/integration/geckoview_spec.mjs
  • web/signature_manager-geckoview.js

Files Modified:

  • gulpfile.mjs
  • src/display/editor/toolbar.js
  • test/integration/jasmine-boot.js
  • web/app.js
  • web/firefoxcom.js
  • web/viewer-geckoview.html

1d554b3cd8f0fffb8f2df7016ef53a68815f2362 by Calixte Denizet <calixte.denizet@gmail.com>

https://github.com/mozilla/pdf.js/commit/1d554b3cd8f0fffb8f2df7016ef53a68815f2362
Authored: 2026-09-08 19:54:16 +0200
Committed: 2026-09-08 21:16:21 +0200

Wait for editor focus before integration test input

Wrap Puppeteer keyboard and mouse input to let deferred editor focus changes settle first, replacing explicit waits.

Files Modified:

  • test/integration/comment_spec.mjs
  • test/integration/freetext_editor_spec.mjs
  • test/integration/highlight_editor_spec.mjs
  • test/integration/ink_editor_spec.mjs
  • test/integration/test_utils.mjs

4de80f874924823a0d16321185375e47205782c0 by Calixte Denizet <calixte.denizet@gmail.com>

https://github.com/mozilla/pdf.js/commit/4de80f874924823a0d16321185375e47205782c0
Authored: 2026-09-08 16:49:32 +0200
Committed: 2026-09-08 20:59:16 +0200

Add a software fallback for transfer maps

Transfer functions use SVG filters through ctx.filter. When those
filters are unavailable or rejected, map solid colors and raster pixels
in software.

Apply the fallback to fills, strokes, images, masks, groups, shadings,
and tiling patterns. Rasterize gradients first so nonlinear maps run
after interpolation. Include filter state in image-mask dependencies and
exclude fallback-mapped groups from backdrop copies.

Add pixel coverage with transfer_maps.pdf; Node.js exercises the
fallback.

Files Modified:

  • src/display/canvas.js
  • src/display/canvas_dependency_tracker.js
  • src/display/pattern_helper.js
  • test/unit/api_spec.js

45c351d6a465fbbc28159ad043c7274e75e2f430 by Jonas Jenwald <jonas.jenwald@gmail.com>

https://github.com/mozilla/pdf.js/commit/45c351d6a465fbbc28159ad043c7274e75e2f430
Authored: 2026-09-08 16:20:37 +0200
Committed: 2026-09-08 17:28:29 +0200

Convert the missingGlyphs, used in the Font class, into a Set

This seems like a more appropriate data-structure, rather than storing true values in a regular Object.

Also, fix existing inconsistencies in the CMap.prototype.forEach and ToUnicodeMap.prototype.forEach methods since they didn't always return integer charCodes. Note how various forEach call-sites previously did that manually, which seems like a "wrong" solution.

Files Modified:

  • src/core/cmap.js
  • src/core/fonts.js
  • src/core/to_unicode_map.js
  • test/unit/jasmine-boot.js
  • test/unit/to_unicode_map_spec.js

979f0d2aa569f9a4de1ae56d45430ad51482e61d by Jonas Jenwald <jonas.jenwald@gmail.com>

https://github.com/mozilla/pdf.js/commit/979f0d2aa569f9a4de1ae56d45430ad51482e61d
Authored: 2026-09-08 15:25:43 +0200
Committed: 2026-09-08 15:25:43 +0200

Convert the CFFOffsetTracker offsets into a Map

Also, make the class field private.

Files Modified:

  • src/core/cff_parser.js

07a617ff2affc90942a4bda7caf4d1c2d1181b73 by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

https://github.com/mozilla/pdf.js/commit/07a617ff2affc90942a4bda7caf4d1c2d1181b73
Authored: 2026-09-08 12:15:50 +0000
Committed: 2026-09-08 12:15:50 +0000

Bump github/codeql-action/analyze from 4.37.8 to 4.37.9

Bumps github/codeql-action/analyze from 4.37.8 to 4.37.9.


updated-dependencies:

  • dependency-name: github/codeql-action/analyze
    dependency-version: 4.37.9
    dependency-type: direct:production
    update-type: version-update:semver-patch
    ...

Signed-off-by: dependabot[bot] <support@github.com>

Files Modified:

  • .github/workflows/codeql.yml

8156920e71ea61bf52cacebe2385173260b55ea5 by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

https://github.com/mozilla/pdf.js/commit/8156920e71ea61bf52cacebe2385173260b55ea5
Authored: 2026-09-08 12:14:46 +0000
Committed: 2026-09-08 12:14:46 +0000

Bump actions/deploy-pages from 5.0.0 to 5.0.1

Bumps actions/deploy-pages from 5.0.0 to 5.0.1.


updated-dependencies:

  • dependency-name: actions/deploy-pages
    dependency-version: 5.0.1
    dependency-type: direct:production
    update-type: version-update:semver-patch
    ...

Signed-off-by: dependabot[bot] <support@github.com>

Files Modified:

  • .github/workflows/publish_website.yml

58ebcefbd541491ba42b7228a4558bd725353331 by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

https://github.com/mozilla/pdf.js/commit/58ebcefbd541491ba42b7228a4558bd725353331
Authored: 2026-09-08 12:14:34 +0000
Committed: 2026-09-08 12:14:34 +0000

Bump github/codeql-action/init from 4.37.8 to 4.37.9

Bumps github/codeql-action/init from 4.37.8 to 4.37.9.


updated-dependencies:

  • dependency-name: github/codeql-action/init
    dependency-version: 4.37.9
    dependency-type: direct:production
    update-type: version-update:semver-patch
    ...

Signed-off-by: dependabot[bot] <support@github.com>

Files Modified:

  • .github/workflows/codeql.yml

f5dd7682cead54f67dab9aec172cdf0143eaeb02 by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

https://github.com/mozilla/pdf.js/commit/f5dd7682cead54f67dab9aec172cdf0143eaeb02
Authored: 2026-09-08 12:13:29 +0000
Committed: 2026-09-08 12:13:29 +0000

Bump github/codeql-action/autobuild from 4.37.8 to 4.37.9

Bumps github/codeql-action/autobuild from 4.37.8 to 4.37.9.


updated-dependencies:

  • dependency-name: github/codeql-action/autobuild
    dependency-version: 4.37.9
    dependency-type: direct:production
    update-type: version-update:semver-patch
    ...

Signed-off-by: dependabot[bot] <support@github.com>

Files Modified:

  • .github/workflows/codeql.yml

b52c4641b0b6dabc622b821004d8b58993830f04 by Jonas Jenwald <jonas.jenwald@gmail.com>

https://github.com/mozilla/pdf.js/commit/b52c4641b0b6dabc622b821004d8b58993830f04
Authored: 2026-09-08 11:51:57 +0200
Committed: 2026-09-08 12:01:10 +0200

Move the the interpolate helper, such that it can be re-used more in src/core/function.js code

After PR 21891 the interpolate function is basically duplicated, since the stitched-handling currently inline effectively identical code.

Also, fix existing typos in a couple of method/function names ("Stiched" -> "Stitched").

Files Modified:

  • src/core/function.js

1a7308e391394e205a26f95c1f39825066daf901 by Calixte Denizet <calixte.denizet@gmail.com>

https://github.com/mozilla/pdf.js/commit/1a7308e391394e205a26f95c1f39825066daf901
Authored: 2026-09-07 20:14:54 +0200
Committed: 2026-09-07 20:14:54 +0200

Don't crash when a transfer function array contains /Identity entries

The evaluator emits null for each /Identity entry of a four-function
/TR array, but DOMFilterFactory.#createTables dereferenced it, which
aborted the rendering of the whole page. A null map now simply gets no
feFunc element, i.e. the identity for that channel.

The test file also showed that the cell of a coloured tiling pattern
inherited the fill and stroke styles in effect when the pattern was
selected. Per PDF 32000-1, 8.7.3.1, it starts from the graphics state at
the beginning of the parent content stream, hence black, which is also
what Acrobat, pdfium, xpdf, Ghostscript, Foxit and mupdf paint.

Files Added:

  • test/pdfs/transfer_maps.pdf

Files Modified:

  • src/display/filter_factory.js
  • src/display/pattern_helper.js
  • test/pdfs/.gitignore
  • test/test_manifest.json

33586d45d8e18dcca07050343d75e5b420948d7f by Calixte Denizet <calixte.denizet@gmail.com>

https://github.com/mozilla/pdf.js/commit/33586d45d8e18dcca07050343d75e5b420948d7f
Authored: 2026-09-07 18:41:59 +0200
Committed: 2026-09-07 18:41:59 +0200

Fix few intermittents in integration tests with Chrome

Files Modified:

  • test/integration/comment_spec.mjs
  • test/integration/ink_editor_spec.mjs

2d8b5429b7eb13328e54d47e95e49dc60279a10c by Calixte Denizet <calixte.denizet@gmail.com>

https://github.com/mozilla/pdf.js/commit/2d8b5429b7eb13328e54d47e95e49dc60279a10c
Authored: 2026-09-07 17:18:36 +0200
Committed: 2026-09-07 18:22:46 +0200

Keep editing disabled when switching documents

setDocument() reset annotationEditorMode from DISABLE to NONE
when clearing the current PDF, so the next PDF initialized an editor
manager. Preserve DISABLE across documents.

Fixes #21899.

Files Modified:

  • test/integration/viewer_spec.mjs
  • web/pdf_viewer.js

4b4293cb9cdca35bac3e25e4090f06355749f0a8 by Jonas Jenwald <jonas.jenwald@gmail.com>

https://github.com/mozilla/pdf.js/commit/4b4293cb9cdca35bac3e25e4090f06355749f0a8
Authored: 2026-09-07 11:46:22 +0200
Committed: 2026-09-07 14:41:58 +0200

Make Ref.fromString more strict, by not accepting "bad" arguments

In hindsight the second commit of PR 21888, which was intended to improve how Ref.fromString handles "bad" arguments, seems wrong since that method now accepts arguments that don't agree fully with the string representation used in the Ref.get method.

The Ref.fromString method will now properly validate the argument, and "reject" (i.e. return null) unless it matches the expected format.

Files Modified:

  • src/core/primitives.js
  • test/unit/primitives_spec.js

c3c21fa8942fc7d10e3cb35b0ebce0f14e8cb647 by calixteman <calixte.denizet@gmail.com>

https://github.com/mozilla/pdf.js/commit/c3c21fa8942fc7d10e3cb35b0ebce0f14e8cb647
Authored: 2026-08-29 18:39:51 +0200
Committed: 2026-09-06 21:29:59 +0200

Use platform print-to-PDF for FreeText appearances (bug 1794809)

PDF.js creates FreeText appearances with Helvetica and WinAnsiEncoding. It
cannot generate a matching appearance when Helvetica cannot encode the text.

Add a Firefox-only printToPDF callback to saveDocument. The worker batches
serialized FreeText entries and imports one generated PDF page per appearance.
The single-PDF batch preserves resources shared across pages.

Copy each page's resources and content without reserializing retained
operators. Drop marked-content operators because their metadata belongs to the
generated PDF.

Files Added:

  • src/core/editor/print_appearances.js

Files Modified:

  • src/core/annotation.js
  • src/core/worker.js
  • src/display/api.js
  • test/unit/api_spec.js
  • web/app.js
  • web/external_services.js
  • web/firefoxcom.js

f79d62f5ec545f6dc330b22a2eed976d1407e824 by calixteman <calixte.denizet@gmail.com>

https://github.com/mozilla/pdf.js/commit/f79d62f5ec545f6dc330b22a2eed976d1407e824
Authored: 2026-09-06 19:48:34 +0200
Committed: 2026-09-06 20:19:18 +0200

Fix comment tooltip and highlight test races

Files Modified:

  • test/integration/comment_spec.mjs
  • test/integration/highlight_editor_spec.mjs
  • test/integration/thumbnail_view_spec.mjs

f9fa28c9b97ccfe57755b64b4c5a88b9b3aa7dc3 by calixteman <calixte.denizet@gmail.com>

https://github.com/mozilla/pdf.js/commit/f9fa28c9b97ccfe57755b64b4c5a88b9b3aa7dc3
Authored: 2026-09-06 18:46:37 +0200
Committed: 2026-09-06 19:02:30 +0200

Use @napi-rs/canvas for PNG decoding in integration tests

This removes the pngjs dependency.

Files Modified:

  • package-lock.json
  • package.json
  • test/integration/freetext_editor_spec.mjs
  • test/integration/signature_editor_spec.mjs
  • test/integration/stamp_editor_spec.mjs
  • test/integration/test_utils.mjs
  • test/integration/viewer_spec.mjs

c5af0396494e2d44240bfaf41a3380e2db636a2a by calixteman <calixte.denizet@gmail.com>

https://github.com/mozilla/pdf.js/commit/c5af0396494e2d44240bfaf41a3380e2db636a2a
Authored: 2026-09-06 18:11:41 +0200
Committed: 2026-09-06 18:24:18 +0200

Replace kleur with util.styleText

All supported Node.js versions provide util.styleText. Preserve the existing color-enabling rules and the styles used by the build and test output.

Files Modified:

  • external/color_utils.mjs
  • gulpfile.mjs
  • package-lock.json
  • package.json
  • test/color_utils.mjs

9cb1f0014d190690844db5ac5c9b84f231925775 by calixteman <calixte.denizet@gmail.com>

https://github.com/mozilla/pdf.js/commit/9cb1f0014d190690844db5ac5c9b84f231925775
Authored: 2026-09-06 17:42:31 +0200
Committed: 2026-09-06 17:46:27 +0200

Remove the unused @babel/runtime dependency

It was added in the Babel 7 update (commit b46ec5195) as the helper
library for @babel/plugin-transform-runtime. That plugin was removed
in commit 6e3179994, when the Babel targets-option was introduced,
but the runtime package itself was left behind. Nothing has used it
since.

Files Modified:

  • package-lock.json
  • package.json

216a300327d5e1b90efec6ad38eac2cdef43b665 by calixteman <calixte.denizet@gmail.com>

https://github.com/mozilla/pdf.js/commit/216a300327d5e1b90efec6ad38eac2cdef43b665
Authored: 2026-09-05 21:35:29 +0200
Committed: 2026-09-06 17:19:08 +0200

Avoid a CPU DoS when auto-sizing text fields (bug 2069428)

Auto-sizing tried line counts one by one, which was very slow for long text in narrow fields and could loop forever when there was no usable height.

Search for the line count instead, and skip text or canvases when the field is too small.

Files Modified:

  • src/core/annotation.js
  • test/unit/annotation_spec.js

bd4e4158c440bed9d83b3b9b90533e857854c591 by NakuRei <nakurei7901@gmail.com>

https://github.com/mozilla/pdf.js/commit/bd4e4158c440bed9d83b3b9b90533e857854c591
Authored: 2026-09-06 14:08:25 +0900
Committed: 2026-09-07 00:12:27 +0900

Prevent NaN values in sampled functions with a degenerate Domain

Some documents use a DeviceN colour space that includes a /None
colorant, and their tint transform declares a zero-width Domain such
as [0 0] for that input because it never contributes to the output.
The interpolation then divides by zero, every output of the function
becomes NaN, and all content painted with that colour space ends up
black.

Handle it the same way the stitching function already guards against
a zero-width interval, which also matches what PDFium does.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

Files Added:

  • test/pdfs/devicen-none-zero-domain.pdf

Files Modified:

  • src/core/function.js
  • test/pdfs/.gitignore
  • test/test_manifest.json
  • test/unit/colorspace_spec.js

ae1e279f6ec1666ce5814a510fd1f87f699033c8 by Jonas Jenwald <jonas.jenwald@gmail.com>

https://github.com/mozilla/pdf.js/commit/ae1e279f6ec1666ce5814a510fd1f87f699033c8
Authored: 2026-09-06 16:44:26 +0200
Committed: 2026-09-06 16:44:26 +0200

Shorten some Pattern-handling code a little bit

Also, remove a couple of unused class fields and don't needlessly set the RadialAxialShading.protoype.colorStops field again; note https://github.com/mozilla/pdf.js/blob/b2035eea9206b92ee7eba2c9e92e573a82167ff1/src/core/pattern.js#L206

Files Modified:

  • src/core/pattern.js
  • src/display/pattern_helper.js

6f1720b37fedd2b2796cb9480365c5c8603a03ab by calixteman <calixte.denizet@gmail.com>

https://github.com/mozilla/pdf.js/commit/6f1720b37fedd2b2796cb9480365c5c8603a03ab
Authored: 2026-09-06 14:29:11 +0200
Committed: 2026-09-06 14:30:44 +0200

Wait for the deferred focus changes in the editor integration tests

When an editor is added, moved or committed, it's moved in the DOM in a
setTimeout and the focus is restored in a second one. Without the slowMo
option for Chrome, the next Puppeteer command can run in between and be
broken by the deferred focus change (e.g. a new empty FreeText editor is
removed because it loses the focus).

So wait for those timeouts after creating, committing, selecting or moving
an editor, and remove the slowMo option which isn't required anymore
(see #21885).

Files Modified:

  • test/integration/freetext_editor_spec.mjs
  • test/integration/highlight_editor_spec.mjs
  • test/integration/test_utils.mjs
  • test/test.mjs

bb10870d0d9dea3599099c610c55c183005b377c by Jonas Jenwald <jonas.jenwald@gmail.com>

https://github.com/mozilla/pdf.js/commit/bb10870d0d9dea3599099c610c55c183005b377c
Authored: 2026-09-06 14:06:45 +0200
Committed: 2026-09-06 14:06:45 +0200

Ensure that Ref.fromString handles arguments with leading/trailing zeros

If the reference-string argument is malformed, see the updated unit-tests, we could miss existing cache entries and thus incorrectly re-create Ref instances.
Note that this should never happen in practice, but it nonetheless ought to be fixed.

Files Modified:

  • src/core/primitives.js
  • test/unit/primitives_spec.js

7ba1f22fde068f2a9772fa5dba97a509a81c5159 by Jonas Jenwald <jonas.jenwald@gmail.com>

https://github.com/mozilla/pdf.js/commit/7ba1f22fde068f2a9772fa5dba97a509a81c5159
Authored: 2026-09-05 14:46:31 +0200
Committed: 2026-09-06 14:06:23 +0200

Convert the CmdCache, NameCache, and RefCache to use Maps

This patch was tested with the following manifest file:

[
  {
    "id": "tracemonkey-eq",
    "file": "pdfs/tracemonkey.pdf",
    "md5": "9a192d8b1a7dc652a19835f6f08098bd",
    "rounds": 200,
    "type": "eq"
  },
  {
    "id": "issue2618",
    "file": "pdfs/issue2618.pdf",
    "md5": "2c554a99a52288ca1a44a422eeafb8fb",
    "rounds": 200,
    "type": "eq"
  }
]

which gave the following results, indicating no significant regression, when comparing this patch against the master branch:

-- Grouped By pdf, page, stat --
pdf            | page | stat         | Count | Baseline(ms) | Current(ms) | +/- |     %  | Result(P<.05)
-------------- | ---- | ------------ | ----- | ------------ | ----------- | --- | ------ | -------------
issue2618      | 0    | Overall      |   200 |          479 |         469 | -10 |  -2.01 |        faster
issue2618      | 0    | Page Request |   200 |           13 |          12 |   0 |  -1.19 |
issue2618      | 0    | Rendering    |   200 |          466 |         457 |  -9 |  -2.03 |        faster
tracemonkey-eq | 0    | Overall      |   200 |           13 |          13 |   0 |  -0.90 |
tracemonkey-eq | 0    | Page Request |   200 |            1 |           1 |   0 | -13.79 |
tracemonkey-eq | 0    | Rendering    |   200 |           12 |          12 |   0 |  -0.37 |
tracemonkey-eq | 1    | Overall      |   200 |           28 |          28 |   0 |  -0.20 |
tracemonkey-eq | 1    | Page Request |   200 |            2 |           2 |   0 |  10.13 |
tracemonkey-eq | 1    | Rendering    |   200 |           26 |          26 |   0 |  -0.82 |
tracemonkey-eq | 2    | Overall      |   200 |           20 |          20 |   0 |   1.08 |
tracemonkey-eq | 2    | Page Request |   200 |            1 |           1 |   0 |   7.92 |
tracemonkey-eq | 2    | Rendering    |   200 |           19 |          20 |   0 |   1.03 |
tracemonkey-eq | 3    | Overall      |   200 |           29 |          29 |   0 |  -0.26 |
tracemonkey-eq | 3    | Page Request |   200 |            1 |           1 |   0 | -15.53 |
tracemonkey-eq | 3    | Rendering    |   200 |           28 |          28 |   0 |   0.16 |
tracemonkey-eq | 4    | Overall      |   200 |           20 |          21 |   0 |   1.69 |
tracemonkey-eq | 4    | Page Request |   200 |            1 |           1 |   0 |  24.29 |
tracemonkey-eq | 4    | Rendering    |   200 |           20 |          20 |   0 |   0.81 |
tracemonkey-eq | 5    | Overall      |   200 |           20 |          20 |   0 |   0.28 |
tracemonkey-eq | 5    | Page Request |   200 |            1 |           1 |   0 |   1.68 |
tracemonkey-eq | 5    | Rendering    |   200 |           19 |          19 |   0 |   0.24 |
tracemonkey-eq | 6    | Overall      |   200 |           24 |          24 |   0 |   1.10 |
tracemonkey-eq | 6    | Page Request |   200 |            1 |           1 |   0 |  52.55 |
tracemonkey-eq | 6    | Rendering    |   200 |           23 |          23 |   0 |  -0.41 |
tracemonkey-eq | 7    | Overall      |   200 |           23 |          23 |   0 |   0.04 |
tracemonkey-eq | 7    | Page Request |   200 |            1 |           1 |   0 |  -2.52 |
tracemonkey-eq | 7    | Rendering    |   200 |           23 |          23 |   0 |   0.02 |
tracemonkey-eq | 8    | Overall      |   200 |           24 |          24 |   0 |  -0.02 |
tracemonkey-eq | 8    | Page Request |   200 |            1 |           0 |   0 | -13.27 |
tracemonkey-eq | 8    | Rendering    |   200 |           23 |          23 |   0 |   0.33 |
tracemonkey-eq | 9    | Overall      |   200 |           21 |          21 |   0 |   0.74 |
tracemonkey-eq | 9    | Page Request |   200 |            1 |           1 |   0 |  -4.13 |
tracemonkey-eq | 9    | Rendering    |   200 |           20 |          20 |   0 |   0.94 |
tracemonkey-eq | 10   | Overall      |   200 |          107 |         106 |  -1 |  -1.27 |
tracemonkey-eq | 10   | Page Request |   200 |            1 |           0 |   0 | -44.83 |
tracemonkey-eq | 10   | Rendering    |   200 |          106 |         105 |  -1 |  -0.93 |
tracemonkey-eq | 11   | Overall      |   200 |           21 |          21 |  -1 |  -2.71 |
tracemonkey-eq | 11   | Page Request |   200 |            1 |           1 |   0 | -20.12 |
tracemonkey-eq | 11   | Rendering    |   200 |           21 |          20 |   0 |  -1.99 |
tracemonkey-eq | 12   | Overall      |   200 |           35 |          34 |  -1 |  -1.79 |
tracemonkey-eq | 12   | Page Request |   200 |            1 |           1 |   0 | -18.89 |        faster
tracemonkey-eq | 12   | Rendering    |   200 |           34 |          34 |   0 |  -1.37 |
tracemonkey-eq | 13   | Overall      |   200 |           11 |          11 |  -1 |  -6.44 |
tracemonkey-eq | 13   | Page Request |   200 |            1 |           0 |   0 | -16.67 |
tracemonkey-eq | 13   | Rendering    |   200 |           11 |          10 |  -1 |  -5.99 |

Files Modified:

  • src/core/primitives.js

20527c10d2786a5351092b73724bab3d2b74993c by Diogo Correia <me@diogotc.com>

https://github.com/mozilla/pdf.js/commit/20527c10d2786a5351092b73724bab3d2b74993c
Authored: 2026-09-04 19:07:58 +0200
Committed: 2026-09-05 16:33:41 +0200

Fix TextWidgetAnnotation not inheriting text alignment from AcroForm

The "Q" (quadding) text alignment property can be present in the
AcroForm dictionary, which sets the default value for Q for all variable
text fields in the document, as per the PDF 2.0 spec, Table 224.

Add test for text alignment inheritance on text widget annotations.

Files Modified:

  • src/core/annotation.js
  • test/unit/annotation_spec.js

a754b49a7c1ecbae251d1cf06d8399b0ad566651 by Jonas Jenwald <jonas.jenwald@gmail.com>

https://github.com/mozilla/pdf.js/commit/a754b49a7c1ecbae251d1cf06d8399b0ad566651
Authored: 2026-09-04 22:47:14 +0200
Committed: 2026-09-04 23:01:12 +0200

Improve the filename extension detection in MediaAnnotation.prototype._getContentType

Rather than splitting the filename into an Array, and then take its last element, we can directly search for the last dot instead.

Doing this also fixes what appears to be a small oversight, since the current code may find a "valid" extension when one doesn't actually exist in the filename. For example, try running the following code in the console:

var filename = "mp4";
filename.split(".").at(-1)?.toLowerCase();

Files Modified:

  • src/core/annotation.js

8dd0057cf754deb9bbeaba8230e13a0977804b2d by Jonas Jenwald <jonas.jenwald@gmail.com>

https://github.com/mozilla/pdf.js/commit/8dd0057cf754deb9bbeaba8230e13a0977804b2d
Authored: 2026-09-04 14:04:59 +0200
Committed: 2026-09-04 14:12:45 +0200

Convert the font seacMap and seacs structures into Maps

This changes seacMap from a regular Object into a Map, and the Type1/CFF seacs from (potentially very) sparse Arrays into Maps.

Note: These changes are covered by existing ref-tests such as: issue818.pdf, issue4801, issue4573.pdf, bug1308536.pdf, and glyph_accent.pdf.

Files Modified:

  • src/core/cff_parser.js
  • src/core/fonts.js
  • src/core/type1_font.js
  • test/unit/cff_parser_spec.js

94c722f52438c0da930883378d37c72e36e10240 by Jonas Jenwald <jonas.jenwald@gmail.com>

https://github.com/mozilla/pdf.js/commit/94c722f52438c0da930883378d37c72e36e10240
Authored: 2026-09-04 12:35:02 +0200
Committed: 2026-09-04 13:00:46 +0200

Modernize the MessageHandler class

Convert the code to use Maps instead of regular Objects, and utilize private class fields.

Files Modified:

  • src/shared/message_handler.js
  • test/unit/api_spec.js

2a0e1397694418b68705cc070bcc65ba726e7e2b by github-actions[bot] <github-actions[bot]@users.noreply.github.com>

https://github.com/mozilla/pdf.js/commit/2a0e1397694418b68705cc070bcc65ba726e7e2b
Authored: 2026-09-04 00:35:39 +0000
Committed: 2026-09-04 00:35:39 +0000

l10n: Update locale files

Files Modified:

  • l10n/ca/viewer.ftl
  • l10n/lv/viewer.ftl
  • l10n/pt-PT/viewer.ftl

bb0b1c1e15a0c4056f353ecda92d9752300badf6 by Calixte Denizet <calixte.denizet@gmail.com>

https://github.com/mozilla/pdf.js/commit/bb0b1c1e15a0c4056f353ecda92d9752300badf6
Authored: 2026-09-02 11:13:15 +0200
Committed: 2026-09-03 21:19:12 +0200

Keep the ToUnicode mapping of unencoded glyphs in non-embedded Type1 fonts

When a charcode has no glyph name in the encoding of a non-embedded Type1
font, it's replaced by a space (see issue 18059) and the unicode value was
overridden too, even if the /ToUnicode map had an explicit entry for it.
Consequently, the text layer contained a space instead of the expected char.
Only override the unicode value when the /ToUnicode map has no entry.

The test file comes from https://issues.chromium.org/issues/554790604.

Files Added:

  • test/pdfs/nonembedded_type1_tounicode.pdf

Files Modified:

  • src/core/fonts.js
  • test/pdfs/.gitignore
  • test/unit/api_spec.js

7071056e95fd65cf41a6f71bb04a952afcf1d441 by Calixte Denizet <calixte.denizet@gmail.com>

https://github.com/mozilla/pdf.js/commit/7071056e95fd65cf41a6f71bb04a952afcf1d441
Authored: 2026-09-03 15:48:35 +0200
Committed: 2026-09-03 15:52:48 +0200

Fix the fill area computation for a rotated tiling pattern

Only two diagonal corners of the fill area were transformed into pattern
space, so with a rotated pattern matrix the area could wrongly look like it
fits within a single tile.

It fixes #21878.

Files Added:

  • test/pdfs/issue21878.pdf

Files Modified:

  • src/display/pattern_helper.js
  • test/pdfs/.gitignore
  • test/test_manifest.json

cd8c463ed968de8fe10e138fa73e982e11645acd by Jonas Jenwald <jonas.jenwald@gmail.com>

https://github.com/mozilla/pdf.js/commit/cd8c463ed968de8fe10e138fa73e982e11645acd
Authored: 2026-09-03 12:45:16 +0200
Committed: 2026-09-03 12:53:53 +0200

Replace simple callback functions with arrow functions

This improves consistency in the code-base, and it's also slightly shorter which cannot hurt.

Files Modified:

  • external/builder/test-fixtures.mjs
  • external/builder/test-fixtures_babel.mjs
  • external/cmapscompress/compress.mjs
  • external/cmapscompress/optimize.mjs
  • src/core/metadata_parser.js
  • src/display/content_disposition.js
  • src/scripting_api/util.js
  • test/chromium/test-telemetry.js
  • test/driver.js
  • test/unit/fetch_stream_spec.js
  • test/unit/network_spec.js
  • test/unit/node_stream_spec.js

fcea525640b89a6a5b20dd706c39ca4788fe4e6a by Calixte Denizet <calixte.denizet@gmail.com>

https://github.com/mozilla/pdf.js/commit/fcea525640b89a6a5b20dd706c39ca4788fe4e6a
Authored: 2026-09-02 17:23:09 +0200
Committed: 2026-09-03 09:13:36 +0200

Use moz-message-bar for the Firefox features notification (bug 2057608)

Bug 2066198 lets the PDF viewer load the moz-message-bar module from a
chrome: URL. Add the required CSP and localization entries, and preserve viewer
focus on dismissal.

Files Modified:

  • external/stylelint/mozcentral-tokens.css
  • web/app.js
  • web/viewer.css
  • web/viewer.html

5785c5567876393a74d99925875e448980bbd90a by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

https://github.com/mozilla/pdf.js/commit/5785c5567876393a74d99925875e448980bbd90a
Authored: 2026-09-03 00:11:09 +0000
Committed: 2026-09-03 00:11:09 +0000

Bump @humanfs/node from 0.16.7 to 0.16.8

Bumps @humanfs/node from 0.16.7 to 0.16.8.


updated-dependencies:

  • dependency-name: "@humanfs/node"
    dependency-version: 0.16.8
    dependency-type: indirect
    ...

Signed-off-by: dependabot[bot] <support@github.com>

Files Modified:

  • package-lock.json

7451cb125f4283d248b5923dc8cfe8403531deba by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

https://github.com/mozilla/pdf.js/commit/7451cb125f4283d248b5923dc8cfe8403531deba
Authored: 2026-09-02 22:36:57 +0000
Committed: 2026-09-02 22:36:57 +0000

Bump fast-uri from 3.1.5 to 3.1.7

Bumps fast-uri from 3.1.5 to 3.1.7.


updated-dependencies:

  • dependency-name: fast-uri
    dependency-version: 3.1.7
    dependency-type: indirect
    ...

Signed-off-by: dependabot[bot] <support@github.com>

Files Modified:

  • package-lock.json

08b565d28be80e6190e6e0fa69d6cba260d1d84b by Calixte Denizet <calixte.denizet@gmail.com>

https://github.com/mozilla/pdf.js/commit/08b565d28be80e6190e6e0fa69d6cba260d1d84b
Authored: 2026-09-02 08:14:35 +0200
Committed: 2026-09-02 08:31:15 +0200

Fix the vertical alignment of the views manager header

The sidebar top padding pushed the header down, so the title was
off-center and the header corners overlapped the rounded corner of the
panel. Remove that padding and round the header corners instead, as the
Nova build already does.

It fixes #21870.

Files Modified:

  • web/views_manager.css

abd3ae43b26de1c1021774102d4cb6bb483e1be1 by Calixte Denizet <calixte.denizet@gmail.com>

https://github.com/mozilla/pdf.js/commit/abd3ae43b26de1c1021774102d4cb6bb483e1be1
Authored: 2026-08-31 09:59:11 +0200
Committed: 2026-09-01 21:01:09 +0200

Address the high-severity zizmor findings

  • Scope the GitHub App tokens in notify-pdf-sync.yml and
    update_locales.yml using permission-* inputs.
  • Move the publish_release.yml permissions to the job level.
  • Ignore the (low-confidence) cache-poisoning finding in
    publish_release.yml and keep the npm cache enabled.

Files Modified:

  • .github/workflows/notify-pdf-sync.yml
  • .github/workflows/publish_release.yml
  • .github/workflows/update_locales.yml

Duplicate of this bug: 2070657
Assignee: nobody → update-bot
Status: NEW → ASSIGNED

This bug is being closed because a newer revision of the library is available.
This bug will be marked as a duplicate of it (because although this bug is older, it is superseded by the newer one).

Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Duplicate of bug: 2071019
Resolution: --- → DUPLICATE
Attachment #9640404 - Attachment is obsolete: true

The try push is done, we found jobs with unclassified failures.

Needs Close Investigation:

  • browser/base/content/test/static/browser_all_files_referenced.js

    • 8 of 8 failed on different tasks
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-msix (QK7jtZl0T1uF9VOTNxjIbQ)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (Q0oBVSNGRVCcTDQJXnxCNg)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (abLS8p01TGqa_-NUfVLpiw)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (C4cwXocISuyf5WEdQrR1zA)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (QAAarMA8SDGLz6V-F4jseQ)
      - test-windows11-32-25h2/opt-mochitest-browser-chrome (MCvOdWEVSLeUeUVJNyG8EQ)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome (eqXJpTUpR_aaDkqu8v4e-g)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-no-nv (YCQerfk_Shqz6AGeZuFFEg)
  • leakcheck large nsGlobalWindowInner

    • 6 of 6 failed on different tasks
      - test-linux2404-64/debug-mochitest-browser-chrome-standalone (cxW2eKuzSpudCF_3qzIzNg)
      - test-windows11-32-25h2/debug-mochitest-browser-chrome (N3eRWvxnSeSVPLfPFgGPLw)
      - test-windows11-64-25h2/debug-mochitest-browser-chrome-msix (bq6F0vtES5SKbdj5c1Mptw)
      - test-windows11-64-25h2/debug-mochitest-browser-chrome (GX-LizgwQeWvez-HXlWr3A)
      - test-windows11-64-25h2/debug-mochitest-browser-chrome-standalone (bZbqvPOQSdG40x4OdEBgtw)
      - test-linux2404-64/debug-mochitest-browser-chrome-swr (CSomXJbcQi2xqgo_8CW4BA)
  • toolkit/components/pdfjs/test/browser_pdfjs_alttext_load_engine.js

    • 15 of 15 failed on different tasks
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (afB_mgEvTjCTzxDm3GrwwA)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (OF5yJ-a_R8WGxhnnKOzMFQ)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (FX0ugkXQSluCkmA6NsW0_Q)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (a4ADZtjCT8WGGYv8aIpRFg)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-msix (QK7jtZl0T1uF9VOTNxjIbQ)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (Q0oBVSNGRVCcTDQJXnxCNg)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (abLS8p01TGqa_-NUfVLpiw)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (C4cwXocISuyf5WEdQrR1zA)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (QAAarMA8SDGLz6V-F4jseQ)
      - test-windows11-32-25h2/opt-mochitest-browser-chrome (MCvOdWEVSLeUeUVJNyG8EQ)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome (eqXJpTUpR_aaDkqu8v4e-g)
      - test-linux2404-64/opt-mochitest-browser-chrome-swr-a11y-checks (cW4zW8NBRDS3YlLOrBJBiQ)
      - test-linux2404-64/opt-mochitest-browser-chrome-no-nv (eAaoFmuWQBGL3DM3ckXHLg)
      - test-linux2404-64/opt-mochitest-browser-chrome-swr (Nx1SdpiwRE2smvqJWzTN8A)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-no-nv (YCQerfk_Shqz6AGeZuFFEg)
  • toolkit/components/pdfjs/test/browser_pdfjs_alttext_telemetry.js

    • 8 of 8 failed on different tasks
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (afB_mgEvTjCTzxDm3GrwwA)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (OF5yJ-a_R8WGxhnnKOzMFQ)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (FX0ugkXQSluCkmA6NsW0_Q)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (a4ADZtjCT8WGGYv8aIpRFg)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (Q0oBVSNGRVCcTDQJXnxCNg)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (abLS8p01TGqa_-NUfVLpiw)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (C4cwXocISuyf5WEdQrR1zA)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (QAAarMA8SDGLz6V-F4jseQ)
  • toolkit/components/pdfjs/test/browser_pdfjs_alttext_two_tabs.js

    • 8 of 8 failed on different tasks
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (afB_mgEvTjCTzxDm3GrwwA)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (OF5yJ-a_R8WGxhnnKOzMFQ)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (FX0ugkXQSluCkmA6NsW0_Q)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (a4ADZtjCT8WGGYv8aIpRFg)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (Q0oBVSNGRVCcTDQJXnxCNg)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (abLS8p01TGqa_-NUfVLpiw)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (C4cwXocISuyf5WEdQrR1zA)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (QAAarMA8SDGLz6V-F4jseQ)
  • toolkit/components/pdfjs/test/browser_pdfjs_brotli_large_window.js

    • 8 of 8 failed on different tasks
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (afB_mgEvTjCTzxDm3GrwwA)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (OF5yJ-a_R8WGxhnnKOzMFQ)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (FX0ugkXQSluCkmA6NsW0_Q)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (a4ADZtjCT8WGGYv8aIpRFg)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (Q0oBVSNGRVCcTDQJXnxCNg)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (abLS8p01TGqa_-NUfVLpiw)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (C4cwXocISuyf5WEdQrR1zA)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (QAAarMA8SDGLz6V-F4jseQ)
  • toolkit/components/pdfjs/test/browser_pdfjs_caret_browsing_mode.js

    • 8 of 8 failed on different tasks
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (afB_mgEvTjCTzxDm3GrwwA)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (OF5yJ-a_R8WGxhnnKOzMFQ)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (FX0ugkXQSluCkmA6NsW0_Q)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (a4ADZtjCT8WGGYv8aIpRFg)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (Q0oBVSNGRVCcTDQJXnxCNg)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (abLS8p01TGqa_-NUfVLpiw)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (C4cwXocISuyf5WEdQrR1zA)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (QAAarMA8SDGLz6V-F4jseQ)
  • toolkit/components/pdfjs/test/browser_pdfjs_chrome_events.js

    • 8 of 8 failed on different tasks
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (afB_mgEvTjCTzxDm3GrwwA)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (OF5yJ-a_R8WGxhnnKOzMFQ)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (FX0ugkXQSluCkmA6NsW0_Q)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (a4ADZtjCT8WGGYv8aIpRFg)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (Q0oBVSNGRVCcTDQJXnxCNg)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (abLS8p01TGqa_-NUfVLpiw)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (C4cwXocISuyf5WEdQrR1zA)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (QAAarMA8SDGLz6V-F4jseQ)
  • toolkit/components/pdfjs/test/browser_pdfjs_comment.js

    • 8 of 8 failed on different tasks
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (afB_mgEvTjCTzxDm3GrwwA)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (OF5yJ-a_R8WGxhnnKOzMFQ)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (FX0ugkXQSluCkmA6NsW0_Q)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (a4ADZtjCT8WGGYv8aIpRFg)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (Q0oBVSNGRVCcTDQJXnxCNg)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (abLS8p01TGqa_-NUfVLpiw)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (C4cwXocISuyf5WEdQrR1zA)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (QAAarMA8SDGLz6V-F4jseQ)
  • toolkit/components/pdfjs/test/browser_pdfjs_comment_telemetry.js

    • 8 of 8 failed on different tasks
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (afB_mgEvTjCTzxDm3GrwwA)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (OF5yJ-a_R8WGxhnnKOzMFQ)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (FX0ugkXQSluCkmA6NsW0_Q)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (a4ADZtjCT8WGGYv8aIpRFg)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (Q0oBVSNGRVCcTDQJXnxCNg)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (abLS8p01TGqa_-NUfVLpiw)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (C4cwXocISuyf5WEdQrR1zA)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (QAAarMA8SDGLz6V-F4jseQ)
  • toolkit/components/pdfjs/test/browser_pdfjs_csp.js

    • 8 of 8 failed on different tasks
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (afB_mgEvTjCTzxDm3GrwwA)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (OF5yJ-a_R8WGxhnnKOzMFQ)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (FX0ugkXQSluCkmA6NsW0_Q)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (a4ADZtjCT8WGGYv8aIpRFg)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (Q0oBVSNGRVCcTDQJXnxCNg)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (abLS8p01TGqa_-NUfVLpiw)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (C4cwXocISuyf5WEdQrR1zA)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (QAAarMA8SDGLz6V-F4jseQ)
  • toolkit/components/pdfjs/test/browser_pdfjs_digital_signature_properties.js

    • 8 of 8 failed on different tasks
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (afB_mgEvTjCTzxDm3GrwwA)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (OF5yJ-a_R8WGxhnnKOzMFQ)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (FX0ugkXQSluCkmA6NsW0_Q)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (a4ADZtjCT8WGGYv8aIpRFg)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (Q0oBVSNGRVCcTDQJXnxCNg)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (abLS8p01TGqa_-NUfVLpiw)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (C4cwXocISuyf5WEdQrR1zA)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (QAAarMA8SDGLz6V-F4jseQ)
  • toolkit/components/pdfjs/test/browser_pdfjs_download_button.js

    • 8 of 8 failed on different tasks
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (afB_mgEvTjCTzxDm3GrwwA)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (OF5yJ-a_R8WGxhnnKOzMFQ)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (FX0ugkXQSluCkmA6NsW0_Q)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (a4ADZtjCT8WGGYv8aIpRFg)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (Q0oBVSNGRVCcTDQJXnxCNg)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (abLS8p01TGqa_-NUfVLpiw)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (C4cwXocISuyf5WEdQrR1zA)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (QAAarMA8SDGLz6V-F4jseQ)
  • toolkit/components/pdfjs/test/browser_pdfjs_editing_contextmenu.js

    • 8 of 8 failed on different tasks
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (afB_mgEvTjCTzxDm3GrwwA)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (OF5yJ-a_R8WGxhnnKOzMFQ)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (FX0ugkXQSluCkmA6NsW0_Q)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (a4ADZtjCT8WGGYv8aIpRFg)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (Q0oBVSNGRVCcTDQJXnxCNg)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (abLS8p01TGqa_-NUfVLpiw)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (C4cwXocISuyf5WEdQrR1zA)
      - test-windows11-64-25h2/opt-mochitest-browser-chrome-standalone (QAAarMA8SDGLz6V-F4jseQ)
  • toolkit/components/pdfjs/test/browser_pdfjs_editing_telemetry.js

    • 4 of 4 failed on the same (retriggered) task
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (afB_mgEvTjCTzxDm3GrwwA)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (OF5yJ-a_R8WGxhnnKOzMFQ)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (FX0ugkXQSluCkmA6NsW0_Q)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (a4ADZtjCT8WGGYv8aIpRFg)
  • toolkit/components/pdfjs/test/browser_pdfjs_fill_login.js

    • 4 of 4 failed on the same (retriggered) task
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (afB_mgEvTjCTzxDm3GrwwA)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (OF5yJ-a_R8WGxhnnKOzMFQ)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (FX0ugkXQSluCkmA6NsW0_Q)
      - test-linux2404-64/opt-mochitest-browser-chrome-standalone (a4ADZtjCT8WGGYv8aIpRFg)
  • toolkit/components/pdfjs/test/test_pdf_file_in_iframe.html

    • 19 of 19 failed on different tasks
      - test-linux2404-64/debug-mochitest-plain (f-kJFm-tRAy_FG-L12dqKA)
      - test-linux2404-64/debug-mochitest-plain-standalone (EUTMcv4kT8W9yPt_hzaZXA)
      - test-windows11-64-25h2/debug-mochitest-plain-standalone (G3yMm_PiQTWGOoehMyajhg)
      - test-linux2404-64/opt-mochitest-plain-standalone (Q7HnqxN9Q6ip2kgOEM9bNw)
      - test-linux2404-64/debug-mochitest-plain-http2 (PJZ_WljLRGy0c2LQi_q8xw)
      - test-linux2204-64-wayland/debug-mochitest-plain (RsxoIzbNQrSEYF4IKueZiA)
      - test-linux2404-64-shippable/opt-mochitest-plain-headless (IHqTKpunTr2zkWlOUZkXiA)
      - test-linux2204-64-wayland/opt-mochitest-plain (bMNHyyVqQOyB9w1mFpvGOA)
      - test-windows10-64-2009-qr/debug-mochitest-plain (RugnBVJwSKKcKnAx-t88CA)
      - test-linux2404-64/debug-mochitest-plain-http3 (ddKO8vBrTsKiTKnKyeA8IA)
      - test-linux2404-64/debug-mochitest-plain-headless (eSVwDAroTh-PuGmOuPdW3w)
      - test-windows11-64-25h2/opt-mochitest-plain (eFoybMo8QSO9wDCYeunHgA)
      - test-linux2404-64/opt-mochitest-plain (Qaoel3reQ7OoLFegfyXGZA)
      - test-linux2404-64/opt-mochitest-plain-xorig (XsUbhHfpRfemkEKBwz5X2A)
      - test-linux2404-64/debug-mochitest-plain-nofis (PW6DDCUHT_mmJ4YdZ9gGhA)
      - test-windows10-64-2009-qr/opt-mochitest-plain (TkI47xNrTBa6LHTr5lIS8g)
      - test-linux2404-64/debug-mochitest-plain-xorig (Ml1_7TAAQnugsFD51Azw7w)
      - test-windows11-64-25h2/debug-mochitest-plain (Ei003Yx9SGSzyKv-7VR7Aw)
      - test-windows11-64-25h2/opt-mochitest-plain-standalone (dhabXqZkRqaootcI1I090w)
  • toolkit/components/pdfjs/test/test_pdf_file_in_object.html

    • 19 of 19 failed on different tasks
      - test-linux2404-64/debug-mochitest-plain (f-kJFm-tRAy_FG-L12dqKA)
      - test-linux2404-64/debug-mochitest-plain-standalone (EUTMcv4kT8W9yPt_hzaZXA)
      - test-windows11-64-25h2/debug-mochitest-plain-standalone (G3yMm_PiQTWGOoehMyajhg)
      - test-linux2404-64/opt-mochitest-plain-standalone (Q7HnqxN9Q6ip2kgOEM9bNw)
      - test-linux2404-64/debug-mochitest-plain-http2 (PJZ_WljLRGy0c2LQi_q8xw)
      - test-linux2204-64-wayland/debug-mochitest-plain (RsxoIzbNQrSEYF4IKueZiA)
      - test-linux2404-64-shippable/opt-mochitest-plain-headless (IHqTKpunTr2zkWlOUZkXiA)
      - test-linux2204-64-wayland/opt-mochitest-plain (bMNHyyVqQOyB9w1mFpvGOA)
      - test-windows10-64-2009-qr/debug-mochitest-plain (RugnBVJwSKKcKnAx-t88CA)
      - test-linux2404-64/debug-mochitest-plain-http3 (ddKO8vBrTsKiTKnKyeA8IA)
      - test-linux2404-64/debug-mochitest-plain-headless (eSVwDAroTh-PuGmOuPdW3w)
      - test-windows11-64-25h2/opt-mochitest-plain (eFoybMo8QSO9wDCYeunHgA)
      - test-linux2404-64/opt-mochitest-plain (Qaoel3reQ7OoLFegfyXGZA)
      - test-linux2404-64/opt-mochitest-plain-xorig (XsUbhHfpRfemkEKBwz5X2A)
      - test-linux2404-64/debug-mochitest-plain-nofis (PW6DDCUHT_mmJ4YdZ9gGhA)
      - test-windows10-64-2009-qr/opt-mochitest-plain (TkI47xNrTBa6LHTr5lIS8g)
      - test-linux2404-64/debug-mochitest-plain-xorig (Ml1_7TAAQnugsFD51Azw7w)
      - test-windows11-64-25h2/debug-mochitest-plain (Ei003Yx9SGSzyKv-7VR7Aw)
      - test-windows11-64-25h2/opt-mochitest-plain-standalone (dhabXqZkRqaootcI1I090w)

These failures could mean that the library update changed something and caused
tests to fail. You'll need to review them yourself and decide where to go from here.

In either event, I have done all I can and you will need to take it from here. If you
don't want to land my patch, you can replicate it locally for editing with
./mach vendor toolkit/components/pdfjs/moz.yaml

When reviewing, please note that this is external code, which needs a full and
careful inspection - not a rubberstamp.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: