Some test text!
WebViewer provides PNaCl, WebAssembly and asm.js modules to allow for client side rendering of documents in many different browsers. Chrome is the only browser that supports PNaCl and as of Chrome 82 they have removed support for PNaCl modules.
Below is the error message you might see in the browser console in Chrome 76:
In this case WebViewer will automatically use the WebAssembly module so there won't be any problems loading documents. It is safe to ignore this error or you can force WebAssembly to be the default choice so that the error doesn't appear.
Note that in WebViewer 7.0 and higher PNaCl is no longer included so WebAssembly will automatically be used as the default.
As mentioned, WebViewer will automatically use WebAssembly so documents will continue to load without issues. You can safely ignore this error.
To force WebAssembly to be the default choice you can pass the constructor option
backendType: 'ems' to WebViewer. This will force WebViewer to choose the WebAssembly or asm.js module and the error won't appear.
Get the answers you need: Support
Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.
Select a platform to get started with your free trial.
Unlimited usage. No email address required.