Closed Sestowner closed 11 months ago
URLs that contain "#pdfjs.action=download" was opening Electron's built-in pdf viewer.
To reproduce, open https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf#pdfjs.action=download
This also fixes #2208.
Looks good, thanks!
(I was wondering why the download button in the viewer still works with this change. The reason is that the request made when clicking that has details.resourceType: 'other').
details.resourceType: 'other'
URLs that contain "#pdfjs.action=download" was opening Electron's built-in pdf viewer.
To reproduce, open https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf#pdfjs.action=download
This also fixes #2208.