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..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", @@ -13139,5 +13137,14 @@ "rounds": 1, "link": true, "type": "eq" + }, + { + "id": "JBIG2Globals_nowasm", + "file": "pdfs/JBIG2Globals.pdf", + "md5": "78ee015a604678a4efbdcd993e0d77aa", + "rounds": 1, + "link": true, + "type": "eq", + "useWasm": false } ]