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

UNCONFIRMED
Unassigned

Status

()

Firefox
PDF Viewer
UNCONFIRMED
5 years ago
5 years ago

People

(Reporter: Julien Le Bourg, Unassigned)

Tracking

18 Branch
x86
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

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

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
Created attachment 685530 [details]
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]
(Reporter)

Comment 2

5 years ago
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.
You need to log in before you can comment on or make changes to this bug.