Open Bug 1917085 Opened 1 year ago Updated 1 year ago

Refreshing a force-inlined PDF doesn't work

Categories

(Core :: DOM: Navigation, defect)

defect

Tracking

()

People

(Reporter: pierov, Unassigned)

References

(Depends on 1 open bug)

Details

After a PDF served with Content-Disposition: Attachment is opened inline (browser.download.open_pdf_attachments_inline set to true), refreshing it doesn't work.

STR:

  1. Set browser.download.open_pdf_attachments_inline to true
  2. Open a PDF which was served with Content-disposition: attachment (I attached a script in https://bugzilla.mozilla.org/show_bug.cgi?id=1851968#c9)
  3. Try to reload

In my debug build I get this message from here:

[Parent 159333, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE)

Tested in user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0

Severity: -- → S3
You need to log in before you can comment on or make changes to this bug.