Using the Shapes in version 8.7.0 of the Viewer causes an error when trying to save/download the document.
Steps to reproduce:
- Open PDF.js Viewer Demo | PDF.js Express
- Add a shape such as an arrow.
- Click Download.
The error seems to come when executing
This happens in our production product as well as your demo.