We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cb36cbd + eab3382 commit 54d8479Copy full SHA for 54d8479
2 files changed
src/core/jbig2_wasm.js
@@ -63,7 +63,7 @@ class JBig2WasmImage {
63
return successCallback(results.instance);
64
} catch (reason) {
65
warn(`JBig2Image#instantiateWasm: ${reason}`);
66
- return null;
+ return fallbackCallback(null);
67
} finally {
68
this.#handler = null;
69
}
test/test_manifest.json
@@ -13139,5 +13139,14 @@
13139
"rounds": 1,
13140
"link": true,
13141
"type": "eq"
13142
+ },
13143
+ {
13144
+ "id": "JBIG2Globals_nowasm",
13145
+ "file": "pdfs/JBIG2Globals.pdf",
13146
+ "md5": "78ee015a604678a4efbdcd993e0d77aa",
13147
+ "rounds": 1,
13148
+ "link": true,
13149
+ "type": "eq",
13150
+ "useWasm": false
13151
13152
]
0 commit comments