Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Form Support

1,318 views
Skip to first unread message

Brendan Dahl

unread,
Nov 18, 2013, 9:08:49 PM11/18/13
to dev-p...@lists.mozilla.org
Hello All,

We’re starting to get more pdf telemetry data from the Nightly, Aurora, and Beta versions of Firefox. This has illuminated some interesting findings, most of all is the low percentage (<2%) of PDF’s that use forms (xfa or the regular type).

Initially, we were thinking of focusing on forms for the end of Q4 and into 2014 Q1, however, seeing such small numbers of forms used we’re now rethinking our priorities.

I propose for the time being we focus on performance(speed + memory usage), fixing bugs, and add a new “fallback bar" that more specifically says something like “This pdf uses forms that are unsupported. Would you like to open it with another viewer?”.

I still want pdf.js to support forms but I think our time is better spent in other areas for the time being.

Percent of PDF’s that had a form:
Nightly 28 1.67%
Nightly 27 1.78%
Nightly 26 1.58%
Aurora 27 1.63%
Aurora 26 1.81%
Beta 26 1.83%

var data = [
{
Version: 'Nightly 28',
Used: 324606,
XFA: 1078,
Form: 4353,
},
{
Version: 'Nightly 27',
Used: 1121184,
XFA: 3838,
Form: 16164,
},
{
Version: 'Nightly 26',
Used: 35851,
XFA: 84,
Form: 482,
},
{
Version: 'Aurora 27',
Used: 186434,
XFA: 608,
Form: 2430,
},
{
Version: 'Aurora 26',
Used: 977338,
XFA: 3369,
Form: 14281,
},
{
Version: 'Beta 26',
Used: 238044,
XFA: 812,
Form: 3550
}
];

src: http://telemetry.mozilla.org/

Leonard Rosenthol

unread,
Nov 18, 2013, 9:35:44 PM11/18/13
to Brendan Dahl, dev-p...@lists.mozilla.org
Brendan - what's the time period (day(s), week(s), etc.) for those numbers
below?

Thanks,
Leonard
>_______________________________________________
>dev-pdf-js mailing list
>dev-p...@lists.mozilla.org
>https://lists.mozilla.org/listinfo/dev-pdf-js

Yury Delendik

unread,
Nov 19, 2013, 8:29:39 AM11/19/13
to Leonard Rosenthol
Hi Leonard,

The telemetry for PDF Viewer component is landed in bug 894546 and
912006. So data is reported starting September 4, 2013. Also that
depends on lifetime of the particular version, e.g. Aurora 26 is
reporting samples for since September [1], however Firefox Beta 26 only
last several weeks [2] for user who choose to do so.

Thanks,
Yury

[1] http://telemetry.mozilla.org/#path=aurora/26/PDF_VIEWER_USED
[2] http://telemetry.mozilla.org/#path=beta/26/PDF_VIEWER_USED


On 11/18/13, 8:35 PM, Leonard Rosenthol wrote:
> Brendan - what's the time period (day(s), week(s), etc.) for those numbers
> below?
>
> Thanks,
> Leonard
>
> On 11/18/13 6:08 PM, "Brendan Dahl" <bd...@mozilla.com> wrote:
>>
>> src: http://telemetry.mozilla.org/

fiedle...@gmail.com

unread,
Mar 19, 2014, 10:40:27 AM3/19/14
to
Hmmm ... PDF_VIEWER_FORM here

http://telemetry.mozilla.org/#release/28/PDF_VIEWER_FORM

mentiones

"A PDF form expected: true for AcroForm and false for XFA"

How about true for AcroForm and TRUE for XFA? Can this be possible? Do we count the right properties?

Yury Delendik

unread,
Mar 19, 2014, 10:55:58 AM3/19/14
to fiedle...@gmail.com

On 3/19/14, 9:40 AM, fiedle...@gmail.com wrote:
> Hmmm ... PDF_VIEWER_FORM here
>
> http://telemetry.mozilla.org/#release/28/PDF_VIEWER_FORM
>
> mentiones
>
> "A PDF form expected: true for AcroForm and false for XFA"
>
> How about true for AcroForm and TRUE for XFA? Can this be possible? Do we count the right properties?
> _______________________________________________
> dev-pdf-js mailing list
> dev-p...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-pdf-js
Not sure what that will change. But you can retire PDF_VIEWER_FORM and
introduce PDF_VIEWER_FORM_TYPE as enumeration, where you can assign 1 to
the AcroForm, 2 to the XFA.

fbender

unread,
Nov 17, 2015, 11:39:32 AM11/17/15
to mozilla-d...@lists.mozilla.org
> But you can retire PDF_VIEWER_FORM and introduce
> PDF_VIEWER_FORM_TYPE as enumeration, where you can
> assign 1 to the AcroForm, 2 to the XFA.

Has this happened yet?
0 new messages