Closed Bug 1652145 Opened 4 years ago Closed 4 years ago

Add pref to enable/disable form support in PDF.js

Categories

(Firefox :: PDF Viewer, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
81 Branch
Tracking Status
firefox81 --- fixed

People

(Reporter: bdahl, Assigned: bdahl)

References

Details

Attachments

(2 files)

For implementing this there are already a few firefox prefs that are read by pdf.js e.g. enablePrintAutoRotate

I believe we're going to use pdfjs.renderInteractiveForms for the name of the pref…

To keep PDFJS's mechanism to setup default prefs from overriding values
defined in all.js, I had to add a check to see if the pref is already
defined.

Assignee: nobody → bdahl
Status: NEW → ASSIGNED
  • ensures pref initialization is working correctly
  • ensures form element is there when forms are enabled
  • ensures forms can be disabled

Depends on D87009

Pushed by bdahl@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/51953e2f01d7 Only enable PDF forms for early beta or earlier. r=bgrins https://hg.mozilla.org/integration/autoland/rev/49dd6f42bc7e Add pdfjs forms smoke test. r=bgrins
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: