From eab33828a92cefcc36c05512f37ba7b0303e0da8 Mon Sep 17 00:00:00 2001 From: calixteman Date: Sun, 4 Jan 2026 00:08:53 +0100 Subject: [PATCH 1/2] Fix wasm url issue for the jbig2 decoder and add a test for jbig2 decoding with the js decoder. --- src/core/jbig2_wasm.js | 2 +- test/test_manifest.json | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/core/jbig2_wasm.js b/src/core/jbig2_wasm.js index 2e5dca66231bb..0d9d690f93fc0 100644 --- a/src/core/jbig2_wasm.js +++ b/src/core/jbig2_wasm.js @@ -63,7 +63,7 @@ class JBig2WasmImage { return successCallback(results.instance); } catch (reason) { warn(`JBig2Image#instantiateWasm: ${reason}`); - return null; + return fallbackCallback(null); } finally { this.#handler = null; } diff --git a/test/test_manifest.json b/test/test_manifest.json index 22b144a415cba..d5729916ade84 100644 --- a/test/test_manifest.json +++ b/test/test_manifest.json @@ -13139,5 +13139,14 @@ "rounds": 1, "link": true, "type": "eq" + }, + { + "id": "JBIG2Globals_nowasm", + "file": "pdfs/JBIG2Globals.pdf", + "md5": "78ee015a604678a4efbdcd993e0d77aa", + "rounds": 1, + "link": true, + "type": "eq", + "useWasm": false } ] From adde05b53026f837cc180b2ad755bf0e810c6b88 Mon Sep 17 00:00:00 2001 From: Tim van der Meij Date: Sun, 4 Jan 2026 19:29:26 +0100 Subject: [PATCH 2/2] Revert "Remove some files from talos tests because they aren't available on webarchive" This reverts commit fbce8bf829cba78281ea93e845c524725ff2c3ff. The file is available in the Web Archive again. Fixes #20528. --- test/test_manifest.json | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/test_manifest.json b/test/test_manifest.json index d5729916ade84..97e0da048727c 100644 --- a/test/test_manifest.json +++ b/test/test_manifest.json @@ -654,7 +654,6 @@ "md5": "8f9347b0d5620537850b24b8385b0982", "rounds": 1, "link": true, - "talos": false, "firstPage": 4, "lastPage": 4, "type": "eq" @@ -665,7 +664,6 @@ "md5": "8f9347b0d5620537850b24b8385b0982", "rounds": 1, "link": true, - "talos": false, "firstPage": 4, "lastPage": 4, "type": "eq",