RangeError using PDF Embed API on Google Chrome or Edge
When trying to open bigger PDF documents, over 500 pages or 8MB the viewer loads only the first 2-3 pages (if we keep refreshing randomly it displays 2-3 pages correctly) and all other pages blank.
We receive the following error in the console: "Uncaught (in promise) RangeError: Maximum call stack size exceeded at C (acrobatProxy.js:1:92208)"
This happens only in Google Chrome and Microsoft Edge so far. In Firefox it displays correctly the same PDF.
How may we fix this?
Thank you in advance.
