Closed Bug 2085565 Opened 1 month ago Closed 1 month ago

Update PDF.js to new version 8349ff1632c67c06627ed524e35eaebae0444dc9 from 2026-10-24 18:12:19 UTC

Categories

(Firefox :: PDF Viewer, enhancement)

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 2085596
Tracking Status
firefox161 --- affected

People

(Reporter: update-bot, Unassigned)

References

(Blocks 1 open bug)

Details

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

This update covers 42 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 | 58 +-
toolkit/components/pdfjs/content/build/pdf.renderer.mjs | 50 +-
toolkit/components/pdfjs/content/build/pdf.scripting.mjs | 4 +-
toolkit/components/pdfjs/content/build/pdf.worker.mjs | 370 ++++++++++---
toolkit/components/pdfjs/content/web/viewer-geckoview.mjs | 90 ++-
toolkit/components/pdfjs/content/web/viewer.css | 14 +-
toolkit/components/pdfjs/content/web/viewer.mjs | 90 ++-
toolkit/components/pdfjs/moz.yaml | 4 +-
9 files changed, 454 insertions(+), 228 deletions(-)


aa6ebe3b7d766bc5b037fae5add97aae4204bb98 by Tim van der Meij <info@timvandermeij.nl>

https://github.com/mozilla/pdf.js/commit/aa6ebe3b7d766bc5b037fae5add97aae4204bb98
Authored: 2026-10-18 18:33:47 +0200
Committed: 2026-10-24 18:44:54 +0200

Upgrade Vitest to version 5

We only use Vitest for benchmarking, and in this major version the
benchmarking API got rewritten [1] which requires changes on our end.
This means that bench is no longer a top-level import, that under
water created a test on its own, but it's now a fixture inside regular
test() scopes.

For us this would mean quite a bit of additional boilerplate because
we'd have to wrap every existing benchmark into a separate test()
scope [2]. To keep the individual benchmarks small and expressive this
commit introduces a helper wrapper function that takes care of this,
basically mirroring the behavior of Vitest 4.

[1] https://vitest.dev/blog/vitest-5#benchmarking-rewrite
[2] https://vitest.dev/guide/migration/#benchmarking-api-rewrite

Files Modified:

  • package-lock.json
  • package.json
  • test/benchmarks/api.bench.js
  • test/benchmarks/autolinker.bench.js
  • test/benchmarks/bench_utils.js
  • test/benchmarks/core.bench.js
  • test/benchmarks/crypto.bench.js
  • test/benchmarks/editor.bench.js
  • test/benchmarks/evaluator.bench.js
  • test/benchmarks/fonts.bench.js
  • test/benchmarks/functions.bench.js
  • test/benchmarks/images.bench.js
  • test/benchmarks/parser.bench.js
  • test/benchmarks/render.bench.js
  • test/benchmarks/streams.bench.js
  • test/benchmarks/wasm.bench.js
  • test/benchmarks/xml.bench.js

860ba837909b12bcdc9e6f80d49e4fef2303f20e by calixteman <calixte.denizet@gmail.com>

https://github.com/mozilla/pdf.js/commit/860ba837909b12bcdc9e6f80d49e4fef2303f20e
Authored: 2026-10-18 19:50:43 +0200
Committed: 2026-10-24 17:27:37 +0200

Apply annotation changes when extracting pages

Skip deleted annotations and popups. Update edited annotations in place.

Files Modified:

  • src/core/editor/pdf_editor.js
  • test/unit/api_spec.js

0e3a0002bd7b0e27bfcd67a0af801a11106c6dd0 by Tim van der Meij <info@timvandermeij.nl>

https://github.com/mozilla/pdf.js/commit/0e3a0002bd7b0e27bfcd67a0af801a11106c6dd0
Authored: 2026-10-04 15:59:32 +0200
Committed: 2026-10-24 16:49:45 +0200

Introduce more find bar integration tests

This commit brings code coverage for the web/pdf_find_bar.js file to
100% by covering all missing cases, which include:

  • searching with no results;
  • searching with multiple results;
  • highlighting all search results using keyboard navigation;
  • closing the find bar via the toolbar button and the Escape key.

Files Modified:

  • test/integration/find_spec.mjs
  • test/integration/test_utils.mjs

45e5783c2159351afc32b6485fada07d5db8e7f5 by Tim van der Meij <info@timvandermeij.nl>

https://github.com/mozilla/pdf.js/commit/45e5783c2159351afc32b6485fada07d5db8e7f5
Authored: 2026-10-04 15:37:45 +0200
Committed: 2026-10-24 16:49:45 +0200

Reword the names of the find bar integration tests

This makes the test names more consistent to improve clarity on what the
tests aim to check, and avoids using duplicate test names to make
discovery of e.g. failed tests easier in the logs.

Files Modified:

  • test/integration/find_spec.mjs

6019d28a40bba9b2f55ba4a60c24fca1b5419baa by Tim van der Meij <info@timvandermeij.nl>

https://github.com/mozilla/pdf.js/commit/6019d28a40bba9b2f55ba4a60c24fca1b5419baa
Authored: 2026-10-04 14:47:32 +0200
Committed: 2026-10-24 16:49:34 +0200

Extract the search logic to a helper function in the find bar integration tests

This refactoring makes the existing tests more compact/expressive, and
makes it easier to add more find bar tests in a next commit without
having to duplicate this logic more often.

Files Modified:

  • test/integration/find_spec.mjs

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

https://github.com/mozilla/pdf.js/commit/fd42c3960fdc8462bd3bee797fc526c1613e4f50
Authored: 2026-10-24 14:13:29 +0200
Committed: 2026-10-24 14:20:22 +0200

Avoid re-parsing inferred links when rotating/zooming the document

Given that an AnnotationLayerBuilder instance can only have inferred links inserted once, and that we normally keep the annotationLayer when rotating/zooming the document, avoid unnecessarily invoking Autolinker.processLinks when its result will be ignored.

Files Modified:

  • web/annotation_layer_builder.js
  • web/pdf_page_view.js

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

https://github.com/mozilla/pdf.js/commit/2cacfdbf8a07fb0e75342bd5b47d3f037b886eea
Authored: 2026-10-23 19:11:22 +0200
Committed: 2026-10-24 14:08:16 +0200

Reuse shared CFF Private DICTs and Subrs

Reject fonts when accumulated private data exceeds the font length.

Files Modified:

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

29825499478c4f8cfa01b6fa6636c1e4d8b5b6b7 by calixteman <calixte.denizet@gmail.com>

https://github.com/mozilla/pdf.js/commit/29825499478c4f8cfa01b6fa6636c1e4d8b5b6b7
Authored: 2026-10-23 22:31:31 +0200
Committed: 2026-10-24 13:54:02 +0200

Render glyph 0 in full CFF fonts

With 65535 glyphs, CFF cannot append a copy of glyph 0. The old mapping
used the last glyph instead.

Reuse an empty slot and copy glyph 0's outline, width and FDSelect entry.
Keep the replaced glyph's original characters unmapped.

It fixes #5377.

Files Added:

  • test/pdfs/issue5377.pdf

Files Modified:

  • src/core/cff_font.js
  • src/core/cff_parser.js
  • src/core/fonts.js
  • test/pdfs/.gitignore
  • test/test_manifest.json
  • test/unit/cff_parser_spec.js

842fc67ab614ae1e9d618d0b5060c3d674e4a121 by Jonas Jenwald <jonas.jenwald@gmail.com>

https://github.com/mozilla/pdf.js/commit/842fc67ab614ae1e9d618d0b5060c3d674e4a121
Authored: 2026-10-24 12:20:23 +0200
Committed: 2026-10-24 12:55:48 +0200

Skip unnecessary parsing in Autolinker.processLinks

If there is no text content on the page there's nothing to parse and we can return immediately. This can happen e.g. if the page is completely empty, or if it only contains images and/or path rendering operators.

Furthermore, if there are no inferred links found we can also avoid a pointless TextHighlighter.prototype._convertMatches call and the creation of an unused Range instance.

Finally, avoid pointless checking in AnnotationLayerBuilder.prototype.injectLinkAnnotations when there are no inferred links.

Files Modified:

  • web/annotation_layer_builder.js
  • web/autolinker.js

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

https://github.com/mozilla/pdf.js/commit/f0a22daa27084b0fae6195e86db89c1d15113a1e
Authored: 2026-10-23 21:05:09 +0200
Committed: 2026-10-23 21:05:09 +0200

Use fixed V8 hash and random seeds in the benchmarks

The walltime results vary between runs of the same code by up to ~10% for
some benchmarks, while being stable within a run. Fixing the seeds roughly
halved the number of benchmarks differing by more than 5% between runs.

Files Modified:

  • test/benchmarks/vitest.config.mjs

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

https://github.com/mozilla/pdf.js/commit/d9fbab72720219b9d2da82d080295a643a664ecc
Authored: 2026-10-23 20:12:32 +0200
Committed: 2026-10-23 20:12:32 +0200

Restore the original borderStyle comment in the autolinker

The comment was reworded in #22319, but the original wording is clearer.

Files Modified:

  • web/autolinker.js

88a04286ebd4c5e2caead0eff2ebaf77cc28478e by Calixte Denizet <calixte.denizet@gmail.com>

https://github.com/mozilla/pdf.js/commit/88a04286ebd4c5e2caead0eff2ebaf77cc28478e
Authored: 2026-10-23 18:06:01 +0200
Committed: 2026-10-23 18:38:41 +0200

Benchmark autolinker link processing

Files Added:

  • test/benchmarks/autolinker.bench.js
  • test/benchmarks/autolinker_utils.js

Files Modified:

  • .github/workflows/codspeed.yml
  • test/benchmarks/vitest.config.mjs

0fd12406a49c8622790d784d354681bc95e577ce by Calixte Denizet <calixte.denizet@gmail.com>

https://github.com/mozilla/pdf.js/commit/0fd12406a49c8622790d784d354681bc95e577ce
Authored: 2026-10-23 14:29:27 +0200
Committed: 2026-10-23 18:38:41 +0200

Batch autolinker match conversion and reuse one Range

Files Added:

  • test/pdfs/many_inferred_links.pdf
  • test/pdfs/multiline_inferred_links.pdf

Files Modified:

  • test/integration/autolinker_spec.mjs
  • test/pdfs/.gitignore
  • web/autolinker.js

8a558e3524ac08144e6d780879cb162a4c6815df by Calixte Denizet <calixte.denizet@gmail.com>

https://github.com/mozilla/pdf.js/commit/8a558e3524ac08144e6d780879cb162a4c6815df
Authored: 2026-10-23 17:54:40 +0200
Committed: 2026-10-23 18:16:45 +0200

Keep fullscreen inside the browser window in the Firefox integration tests

Since bug 2078254, Firefox on Linux denies fullscreen requests when the window
can't be made fullscreen, which is the case under Xvfb since there's no window
manager. The presentation mode integration tests were failing because of that.

Files Modified:

  • test/test.mjs

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

https://github.com/mozilla/pdf.js/commit/db87d6c851aa777595c01b05d8732554766c750f
Authored: 2026-10-23 14:36:37 +0200
Committed: 2026-10-23 17:25:08 +0200

Ignore the search terms reduced to nothing in a multiple term search

Files Modified:

  • test/unit/pdf_find_controller_spec.js
  • web/pdf_find_controller.js

7944ca57a99f5b6d6021b09f7f2467e22d8d228d by Calixte Denizet <calixte.denizet@gmail.com>

https://github.com/mozilla/pdf.js/commit/7944ca57a99f5b6d6021b09f7f2467e22d8d228d
Authored: 2026-10-23 12:46:45 +0200
Committed: 2026-10-23 13:25:15 +0200

Limit whitespace backtracking in find

Files Modified:

  • test/unit/pdf_find_controller_spec.js
  • web/pdf_find_controller.js

1e2a0400eb5df948d472c0f6955a92ce9a768bc5 by Jonas Jenwald <jonas.jenwald@gmail.com>

https://github.com/mozilla/pdf.js/commit/1e2a0400eb5df948d472c0f6955a92ce9a768bc5
Authored: 2026-10-23 12:00:20 +0200
Committed: 2026-10-23 12:02:50 +0200

Use Array.prototype.fill more in the src/core/bidi.js code

When initializing levels we can give the Array the correct length directly, and we can also avoid the manual loop when setting the values.

Files Modified:

  • src/core/bidi.js

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

https://github.com/mozilla/pdf.js/commit/ddf5caf8fdb34c97afcf9d10cdadd5b31d63f66e
Authored: 2026-10-23 11:35:43 +0200
Committed: 2026-10-23 11:35:43 +0200

Set walltime mode in codspeed

Files Modified:

  • .github/workflows/codspeed.yml

11731d5af741f5af56ba298c08cb31b68e23a9d5 by github-actions[bot] <github-actions[bot]@users.noreply.github.com>

https://github.com/mozilla/pdf.js/commit/11731d5af741f5af56ba298c08cb31b68e23a9d5
Authored: 2026-10-23 00:32:16 +0000
Committed: 2026-10-23 00:32:16 +0000

l10n: Update locale files

Files Modified:

  • l10n/bg/viewer.ftl
  • l10n/ko/viewer.ftl
  • l10n/sk/viewer.ftl
  • l10n/skr/viewer.ftl

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

https://github.com/mozilla/pdf.js/commit/d19f04ac1a6af5ea063a87f5162067f70116a152
Authored: 2026-10-22 09:19:29 +0200
Committed: 2026-10-22 22:10:06 +0200

Include the final NFKC range when searching

The loop only flushed a range when it found the next one, dropping
U+FFE8-U+FFEE. Flush the pending range and update the Firefox table.

Co-authored-by: huang <13165998033@163.com>

Files Modified:

  • test/unit/pdf_find_utils_spec.js
  • web/pdf_find_utils.js

8153c7cb9ba7b56ae5ce69e695a1527a8fa9da6d by Calixte Denizet <calixte.denizet@gmail.com>

https://github.com/mozilla/pdf.js/commit/8153c7cb9ba7b56ae5ce69e695a1527a8fa9da6d
Authored: 2026-10-22 20:12:32 +0200
Committed: 2026-10-22 21:13:51 +0200

Remove invalid CFF operators in linear time

Copy retained ranges once instead of shifting the tail for each removal.
Preserve the final byte, including subroutine returns.

Files Modified:

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

9f596c49efeb0bef26a477e0199577230994773b by Calixte Denizet <calixte.denizet@gmail.com>

https://github.com/mozilla/pdf.js/commit/9f596c49efeb0bef26a477e0199577230994773b
Authored: 2026-10-22 14:39:38 +0200
Committed: 2026-10-22 21:13:50 +0200

Limit CFF and Type1 charstring execution

Bound per-glyph tokens and operand stacks. Also limit Type1 subroutine
nesting and converted charstring length.

See https://github.com/khaledhosny/ots/pull/330.

Files Modified:

  • src/core/cff_parser.js
  • src/core/type1_parser.js
  • test/unit/cff_parser_spec.js
  • test/unit/type1_parser_spec.js

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

https://github.com/mozilla/pdf.js/commit/d8262655db9afef0ae86e20423c793c16bbfe542
Authored: 2026-10-22 15:58:04 +0200
Committed: 2026-10-22 16:14:50 +0200

Use codspeed macro runners for running the perf benchmarks

Files Modified:

  • .github/workflows/codspeed.yml

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

https://github.com/mozilla/pdf.js/commit/4f04847153f71c6d255c1a3540ebf224c822566f
Authored: 2026-10-22 13:28:52 +0200
Committed: 2026-10-22 13:33:21 +0200

Avoid loops when initializing data in the calculateMD5, calculateSHA256, and calculateSHA512 functions

Instead we can use TypedArray.prototype.subarray and TypedArray.prototype.set, since that's slightly faster.

Files Modified:

  • src/core/calculate_md5.js
  • src/core/calculate_sha256.js
  • src/core/calculate_sha_other.js

87108e40905f6b121fc4ec587cdb053e9a27f598 by calixteman <calixte.denizet@gmail.com>

https://github.com/mozilla/pdf.js/commit/87108e40905f6b121fc4ec587cdb053e9a27f598
Authored: 2026-10-22 09:55:57 +0200
Committed: 2026-10-22 10:03:43 +0200

Use the font bbox to extend the head table bounds (bug 1888084)

The default xMin of 0 excludes the accent in bug 1888084, which disappears
at higher zoom levels in Firefox on macOS.

Extend the horizontal bounds using the font bbox, preserving the defaults
when it is smaller.

Files Added:

Files Modified:

  • src/core/fonts.js
  • test/pdfs/.gitignore
  • test/test_manifest.json
  • test/unit/fonts_spec.js

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

https://github.com/mozilla/pdf.js/commit/66322f12d2078ceaab121013381c6bae025160ee
Authored: 2026-10-22 01:39:06 +0000
Committed: 2026-10-22 01:39:06 +0000

Bump @vitest/mocker and vitest

Bumps @vitest/mocker to 4.1.12 and updates ancestor dependency vitest. These dependencies need to be updated together.

Updates @vitest/mocker from 4.1.11 to 4.1.12

Updates vitest from 4.1.11 to 4.1.12


updated-dependencies:

  • dependency-name: "@vitest/mocker"
    dependency-version: 4.1.12
    dependency-type: indirect
  • dependency-name: vitest
    dependency-version: 4.1.12
    dependency-type: direct:development
    ...

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

Files Modified:

  • package-lock.json
  • package.json

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

https://github.com/mozilla/pdf.js/commit/e8dd2d16048e0264537c05cb679493fe42f2f466
Authored: 2026-10-22 01:38:57 +0000
Committed: 2026-10-22 01:38:57 +0000

Bump markdown-it from 14.3.2 to 14.3.3

Bumps markdown-it from 14.3.2 to 14.3.3.


updated-dependencies:

  • dependency-name: markdown-it
    dependency-version: 14.3.3
    dependency-type: indirect
    ...

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

Files Modified:

  • package-lock.json

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

https://github.com/mozilla/pdf.js/commit/a79d4fe3a2056be65a838e57e7d88bd50b3c869d
Authored: 2026-10-21 21:41:39 +0200
Committed: 2026-10-21 21:41:39 +0200

Add a lint rule against Math.min/max calls with more than four arguments

Files Modified:

  • eslint.config.mjs

552de2ce09e0aa0a452a98a0b9dbd865d3250942 by Calixte Denizet <calixte.denizet@gmail.com>

https://github.com/mozilla/pdf.js/commit/552de2ce09e0aa0a452a98a0b9dbd865d3250942
Authored: 2026-10-21 20:40:40 +0200
Committed: 2026-10-21 20:47:28 +0200

Avoid five-argument Math.min/max calls in Util.axialAlignedBoundingBox

Math.min/Math.max with more than 4 arguments aren't optimized by
SpiderMonkey (see tryAttachMathMinMax in CacheIR.cpp); this makes
Util.axialAlignedBoundingBox ~3.4x faster in Firefox, no change in V8.

Files Modified:

  • src/shared/util.js

18c31b1ce652cd3d114600b7d13a40340075875e by Jonas Jenwald <jonas.jenwald@gmail.com>

https://github.com/mozilla/pdf.js/commit/18c31b1ce652cd3d114600b7d13a40340075875e
Authored: 2026-10-19 13:54:18 +0200
Committed: 2026-10-21 17:59:01 +0200

Use TypedArray.prototype.set in the meshPackData function

Rather than manually getting and setting each coordinate respectively color component, we can simply utilize TypedArray.prototype.set instead.

Files Modified:

  • src/core/pattern.js

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

https://github.com/mozilla/pdf.js/commit/4ee5938af5af87e361801562b9e5b497685cfb36
Authored: 2026-10-21 15:22:16 +0200
Committed: 2026-10-21 17:42:31 +0200

Fix Type3 text advances

Advance invisible text. Keep character and word spacing independent of
the font-size sign. Exclude font matrix translation from glyph advances.

Files Added:

  • test/pdfs/type3_advance.pdf

Files Modified:

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

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

https://github.com/mozilla/pdf.js/commit/e2debff7be6f869a364b258fa8c10224d50dc8c2
Authored: 2026-10-21 15:23:57 +0200
Committed: 2026-10-21 16:26:18 +0200

Keep pending clip and fill-rule state out of pattern tiles

Files Added:

  • test/pdfs/pattern_fill_pending_state.pdf

Files Modified:

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

253684004e16ecb756e83046d952a8dedfee7db5 by Calixte Denizet <calixte.denizet@gmail.com>

https://github.com/mozilla/pdf.js/commit/253684004e16ecb756e83046d952a8dedfee7db5
Authored: 2026-10-21 15:24:45 +0200
Committed: 2026-10-21 15:24:45 +0200

Render the existing page in the issue10491-partial reftest

Files Modified:

  • test/test_manifest.json

63044789fc7f4ee2528b80887e10999224d6b30f by Calixte Denizet <calixte.denizet@gmail.com>

https://github.com/mozilla/pdf.js/commit/63044789fc7f4ee2528b80887e10999224d6b30f
Authored: 2026-10-20 18:08:11 +0200
Committed: 2026-10-21 15:10:10 +0200

Speed up asyncGetBytesFromDecompressionStream

Read decompressed chunks with reader.read() rather than for await, skip
writer.ready waits, and return single-chunk output without copying it.

Files Modified:

  • src/core/decode_stream.js
  • test/unit/stream_spec.js

09c2dae2967b6ced454817a8dd8286adfa01563d by Calixte Denizet <calixte.denizet@gmail.com>

https://github.com/mozilla/pdf.js/commit/09c2dae2967b6ced454817a8dd8286adfa01563d
Authored: 2026-10-21 14:04:26 +0200
Committed: 2026-10-21 14:42:19 +0200

Reset the alpha of colored Type3 glyphs in their operator list

Files Modified:

  • src/core/evaluator.js
  • src/display/canvas.js

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

https://github.com/mozilla/pdf.js/commit/f6fa4987c760d891206ce1b78deee627a345e325
Authored: 2026-10-21 09:35:56 +0200
Committed: 2026-10-21 09:51:35 +0200

Use Canvas for toggled controls on LinkText in forced-colors mode (bug 2083002)

and inset toggled-button hover outlines in forced-colors mode

Files Modified:

  • web/viewer.css

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

https://github.com/mozilla/pdf.js/commit/3d630f6a76ffdb67d6b9e1c54722ee81bc499fba
Authored: 2026-10-20 12:15:50 +0000
Committed: 2026-10-20 12:15:50 +0000

Bump actions/create-github-app-token from 3.2.0 to 3.3.0

Bumps actions/create-github-app-token from 3.2.0 to 3.3.0.


updated-dependencies:

  • dependency-name: actions/create-github-app-token
    dependency-version: 3.3.0
    dependency-type: direct:production
    update-type: version-update:semver-minor
    ...

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

Files Modified:

  • .github/workflows/notify-pdf-sync.yml
  • .github/workflows/publish_coverage_index.yml
  • .github/workflows/ref_tests_makeref.yml
  • .github/workflows/ref_tests_request.yml
  • .github/workflows/update_locales.yml
  • .github/workflows/viewer_preview_manage.yml
  • .github/workflows/viewer_preview_publish.yml

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

https://github.com/mozilla/pdf.js/commit/9f88fdbd32e71af5c419928c13bc07f2b3a7a856
Authored: 2026-10-20 12:15:40 +0000
Committed: 2026-10-20 12:15:40 +0000

Bump github/codeql-action/init from 4.38.2 to 4.38.3

Bumps github/codeql-action/init from 4.38.2 to 4.38.3.


updated-dependencies:

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

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

Files Modified:

  • .github/workflows/codeql.yml

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

https://github.com/mozilla/pdf.js/commit/ef03155e030d5219849483923134e5391664a969
Authored: 2026-10-20 12:14:44 +0000
Committed: 2026-10-20 12:14:44 +0000

Bump github/codeql-action/autobuild from 4.38.2 to 4.38.3

Bumps github/codeql-action/autobuild from 4.38.2 to 4.38.3.


updated-dependencies:

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

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

Files Modified:

  • .github/workflows/codeql.yml

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

https://github.com/mozilla/pdf.js/commit/33104f4df442b5b96e88b793d29d90a6c75ac70f
Authored: 2026-10-20 12:13:54 +0000
Committed: 2026-10-20 12:13:54 +0000

Bump github/codeql-action/analyze from 4.38.2 to 4.38.3

Bumps github/codeql-action/analyze from 4.38.2 to 4.38.3.


updated-dependencies:

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

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

Files Modified:

  • .github/workflows/codeql.yml

955e389c6253faf759efad6e0c56d39661cbd437 by calixteman <calixte.denizet@gmail.com>

https://github.com/mozilla/pdf.js/commit/955e389c6253faf759efad6e0c56d39661cbd437
Authored: 2026-10-18 16:45:32 +0200
Committed: 2026-10-19 14:33:41 +0200

Fall back to the Identity crypt filter without a /CF dictionary

With /V 4 or 5 and no /CF dictionary, or a non-dictionary one, resolving a
crypt filter threw a TypeError: the strings and streams of such documents
could neither be decrypted nor encrypted when saving. /StmF and /StrF then
default to /Identity, which doesn't need a /CF entry.

Files Modified:

  • src/core/crypto.js
  • test/unit/crypto_spec.js

0c7ac9670f1ea1b712d715e18d8cf9d2620503d1 by Jonas Jenwald <jonas.jenwald@gmail.com>

https://github.com/mozilla/pdf.js/commit/0c7ac9670f1ea1b712d715e18d8cf9d2620503d1
Authored: 2026-10-18 14:48:05 +0200
Committed: 2026-10-19 12:19:33 +0200

Add a Util helper for creating a Uint8Array identity-map with 256 elements

Rather than having to re-create such an identity-map in multiple spots throughout the code-base, we can do that lazily just once (per thread) instead.
This way we can either just copy the existing identity-map, or in some cases even use it directly via TypedArray.prototype.set().

Files Modified:

  • src/core/crypto.js
  • src/core/lzw_stream.js
  • src/display/canvas.js
  • src/shared/util.js

Duplicate of this bug: 2085540

Updatebot encountered an error while trying to submit to phabricator.
Updatebot will be unable to do anything more for this library version.

Flags: needinfo?(cdenizet)

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: NEW → RESOLVED
Closed: 1 month ago
Duplicate of bug: 2085596
Resolution: --- → DUPLICATE
Flags: needinfo?(cdenizet)
You need to log in before you can comment on or make changes to this bug.