Product: PDFTron WebViewer
Product Version: 8.2.0
Please give a brief summary of your issue:
In recent updates to Chrome (v97) WebAssembly code used in the PDFTron SDK no longer works/executes successfully.
The specific error I am getting states: Uncaught (in promise) CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder PDFworker.js?isfull=true&disableLogs=0&wasm=1:72
Please describe your issue and provide steps to reproduce it:
Create a webviewer using the fullApi setting. Try to view a document in the latest version of Chrome or Edge. (Not seeing this problem in Mozilla Firefox).
Suggested solutions include this most common one: Wasm module compile error in Chrome Extension. I am currently working to implement this in the webconfig of our Angular front-end, but I wanted to create a topic about it in case anyone else is encountering it, has encountered it, or if there is a better solution than changing the Content Security Policy.