FileReader can be used to save PDF file to desk but Chrome needs
a.href = window.URL.createObjectURL(blob) while iOS needs
a.href = reader.result.
Turns out it was working with just FileReader all along. But Chrome is subject to port forwarding errors when downloading...
To run locally
- open web browser at