Description of the issue: Brave (version in screen shot below) returns and error when trying to open a PDF from ShareFile. Does not seem to happen with pdfs from other sites, or on other browsers.
Steps to Reproduce:
- Navigate to a ShareFile page with a pdf doc.
- Click on PDF document.
- Brave switches tab to pdf viewer with an error that says “Invalid or corrupted PDF File. PDF.js v2.0.673 (build 310xxxxx) Message: Invalid PDF structure”
Actual Result: File doesn’t open. Brave thinks it is corrupt. See screen shot below
Expected result: Should handle PDFs
Reproduces how often: Every time
Brave Version(about:brave): See screen shot below
Reproducible on current live release: Yes
Additional Information: Does not replicate in Chrome, FF or Edge.