Open Bug 1807490 Opened 2 years ago Updated 1 year ago

[meta] Support official Parameters for Opening PDF Files, iframe & otherwise

Categories

(Firefox :: PDF Viewer, enhancement)

Firefox 108
enhancement

Tracking

()

REOPENED

People

(Reporter: hayashi.nicholas, Unassigned)

References

(Depends on 2 open bugs)

Details

(Keywords: meta)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:108.0) Gecko/20100101 Firefox/108.0

Steps to reproduce:

Background: (steps to reproduce at bottom of this section)
This document: https://pdfobject.com/pdf/pdf_open_parameters_acro8.pdf

Provides a list of parameters you can provide in a url in order to do various tasks to a .pdf file on load, such as:

  • zoom the pdf
  • fit the pdf to screen
  • search text within the pdf
  • toggle on/off the various toolbars

There are a number of these which seem to not be supported, which are supported on Google Chrome v108, for example.

search, zoom and page as parameters appear to be working as expected. However, the following, are not when opening the pdf via an iframe:

  • scrollbar
  • view
  • viewrect
  • highlight
  • toolbar
  • statusbar
  • navpanes

Steps to reproduce:

Actual results:

For each of the non-functioning listed options, nothing was observed on the page/in the iframe.

Expected results:

I would expect at least most of these to work.

In particular, the fact the toolbar, statusbar, navpanes, and view functionality don't work is a bummer. I have an application where the inconsistency in both behavior and look between Chrome and Firefox is not ideal.

There appear to be only two other (very inactive) bugs filed about this, and they were for specific parameters in the adobe document:

Component: Untriaged → PDF Viewer

Looks like pdf bugs are tracked on github. There's

https://github.com/mozilla/pdf.js/issues/2784 for navpanes and toolbar
https://github.com/mozilla/pdf.js/issues/10772 for viewrect

I imagine some/all of the others have existing issues too.

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID

We are tracking issues on Bugzilla and GitHub (preferably Bugzilla).

Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: INVALID → ---
Depends on: 1465716, 844350
Keywords: meta
Summary: Support official Parameters for Opening PDF Files, iframe & otherwise → [meta] Support official Parameters for Opening PDF Files, iframe & otherwise
You need to log in before you can comment on or make changes to this bug.