Closed Bug 1657179 Opened 4 years ago Closed 4 years ago

Clicking on mixed content (ie http on https pages) links to PDFs does nothing if PDFs are not configured to be handled internally

Categories

(Firefox :: PDF Viewer, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1660969
Tracking Status
firefox80 --- disabled
firefox81 --- disabled
firefox82 --- affected

People

(Reporter: mconley, Unassigned)

References

(Regression)

Details

(Keywords: regression)

I'm running Nightly 20200804091327

STR:

  1. Go to about:preferences
  2. Type "PDF" in the search input
  3. In the "Applications" list, find "Portable Document Format (PDF)", and on the right side, set the drop down to "Save File"
  4. Browse to https://www.aloaha.com/sample-fillable-pdf-forms/
  5. Click on the links to any of the PDFs with forms

ER:

The Save to Disk dialog should appear.

AR:

Nothing seems to occur. In the Browser Console, I see:

NS_ERROR_FAILURE: Can't use PDF.js

Summary: Clicking on PDF links does nothing if PDFs configured to Save File → Clicking on some PDF links does nothing if PDFs configured to Save File
See Also: → 1653255
Flags: needinfo?(gijskruitbosch+bugs)
Has Regression Range: --- → yes
No longer blocks: 1614969

Both before and after bug 1614969 was fixed, I can see the following in the browser console:

NS_ERROR_FAILURE: Can't use PDF.js PdfStreamConverter.jsm:1080
    getConvertedType resource://pdf.js/PdfStreamConverter.jsm:1080

Interesting. We also don't prompt if you select "always ask".

Sebastian, is it expected that there's no visual indication the download is blocked?

Flags: needinfo?(gijskruitbosch+bugs)
See Also: 1653255

I think bug 1656296 fixed this so there's now UI indicating we blocked the download. bug 1660969 will add an "unblock" button. So duping to that bug. In the meantime, if this is blocking you in some way, you can right click the blocked download, click "copy download URL", and paste it in a new tab (or turn off the nightly-only pref dom.block_download_insecure )

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
Summary: Clicking on some PDF links does nothing if PDFs configured to Save File → Clicking on mixed content (ie http on https pages) links to PDFs does nothing if PDFs are not configured to be handled internally

Canceling needinfo, assuming it isn't needed anymore.

Flags: needinfo?(sstreich)
You need to log in before you can comment on or make changes to this bug.