Closed Bug 815558 Opened 12 years ago Closed 3 years ago

Support for Pdf files Specification not checked by pdfjs (should redirect to correct plugin instead)

Categories

(Firefox :: PDF Viewer, defect)

18 Branch
x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: aureussz, Unassigned)

References

Details

(Whiteboard: [pdfjs-c-feature][pdfjs-d-xfa-support])

Attachments

(1 file)

Attached image Untitled.png
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:18.0) Gecko/18.0 Firefox/18.0
Build ID: 20121121075611

Steps to reproduce:

Tried to open a file with xfa host scripting in firefox. Previously, it would open in adobe reader as a supported plugin for the pdf file.

https://www.rcsl.lu/mjrcs/jsp/webapp/static/mjrcs/fr/mjrcs/pdf/forms/form_pmor_mod.pdf

Support for Pdf files specification (1.7 for example) is not checked by pdfjs (should redirect to correct installed plugin instead if available, not used blindly as default)


Actual results:

Clicking on a pdf file with specification > 1.6 incorrectly uses pdfjs which does not support it.


Expected results:

It should have prompted me to use Adobe Reader plugin instead if available, or directly redirected to the right plugin.
Component: Untriaged → PDF Viewer
Blocks: 714712
> Support for Pdf files specification (1.7 for example) is not checked by pdfjs (should redirect to correct installed plugin instead if available, not used blindly as default)

> Clicking on a pdf file with specification > 1.6 incorrectly uses pdfjs

Just to clarify, the XFA specification is not part of the PDF specification. It shall not be assumed that PDF file with version 1.6 or 1.7 have XFA logic in it.
Whiteboard: [pdfjs-c-feature][pdfjs-d-xfa-support]
Thanks for the clarification, I hope this report will be usefull.

From what I understand, it is possible to switch in the firefox options, to use adobe plugin instead of the firefox preview.

So this setting, and the way the plugin system is implemented, tells me that it's maybe not so simple to redirect to a plugin, let alone, telling if the plugin is installed or not.

An elegant solution could be, to add a new file type, for pdfs where scripting is used, and not allow selecting firefox preview (pdfjs) as an option here.

Yet, I have no clue if that's possible.
Depends on: pdf-xfa

The PDF is no longer accessible, but we landed support for XFA in bug 1715638 so I'm going to call this fixed.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: