News for hackers. Stuff that matters.
Re:Implementing form filling and accessibility in the Firefo... by gsliepen on Friday October 15, 2021 @03:22PM (#28881964)
> Thanks to our Telemetry, we discovered that many forms contain and use embedded JavaScript code (yes, that’s a thing!).

There are two disturbing things in that sentence. At least the JavaScript I can see a reason for, it can check whether your input is correct and maybe autofill or things like that, and should of course be sandboxed. The telemetry part is more scary.

Re:Implementing form filling and accessibility in the Firefo... by InitialLastName on Friday October 15, 2021 @04:10PM (#28882576)
> The telemetry part is more scary.

There's a nice big section in the Firefox settings called "Firefox Data Collection and Use" that has some fairly fine-grained options for what data you feed back to Firefox. I have all of mine unchecked, but I could imagine that if I were more community-minded, or if I were interested in actively contributing to FF's development day-to-day (for example running on nightly builds) I would activate those.

FWIW, I do explicitly allow telemetry for the applications I buy licenses for and use for my work; it's in my best interest for those programs to be improved as efficiently as possible (and to have my use patterns be part of the corpus used to prioritize those improvements), and it makes it easier for me to report issues.

Re:Implementing form filling and accessibility in the Firefo... by jeroenhd on Friday October 15, 2021 @06:55PM (#28884080)
> that has some fairly fine-grained options for what data you feed back to Firefox

I looked into these settings but I can only find 4 checkboxes. Which of the four checkboxes would this telemetry fall under? Is this a study, the result of crash report logging, or is it "data about your interactions with Firefox [..] (such as number of open tabs and windows; number of webpages visited; number and type of installed Firefox Add-ons; and session length) and Firefox features offered by Mozilla or our partners (such as interaction with Firefox search features and search partner referrals)"

I know Firefox collects some technical tracking, but there is no up to date overview of what tracking is actually done. Is there a list of parameters tracked like Microsoft published [1] after the outcry about their terrible tracking? The privacy policy is vague and the documentation for developers [2] contains phrases such as "opaque prio-specific payload. Like { a: <base64 string>, b: <base64 string> }" which isn't exactly useful.

[1]: https://docs.microsoft.com/en-us/windows/privacy/required-wi...

[2]: https://firefox-source-docs.mozilla.org/toolkit/components/t...

Re:Implementing form filling and accessibility in the Firefo... by Jap2-0 on Friday October 15, 2021 @10:15PM (#28885029)
Disclosure: I don't have any relation to Mozilla (so some of this could be wrong), and about half of it I discovered after reading this comment. I do run Firefox Nightly, and follow Firefox development somewhat.

I don't see the same screen you do (perhaps something to do with telemetry being force-enabled in nightly?) so this is based off of what you wrote:

> Is this a study...

Studies are generally minor tweaks in user configuration sent to a subset of users (often nightly), and then telemetry between control and experiment groups is compared. You can see what studies you have been in at about:studies. For example, some of mine include setting the user-agent to Firefox 100 (to test a 3-digit number), enabling fission (and a number of things with process counts and whatnot), enabling HTTP/3, and (I kid not) "Changing a pref that does nothing - to check enrollment and unenrollment reliability." A lot of the time if you inspect element the source has a bug number you can look at (which really ought to be a built-in feature).

> The result of crash logging

You can see this in about:crashes; this is when the browser or a process (eg. GPU) crashes.

> Data about your interactions with Firefox

Probably, this seems like the most broad and undefined one

> Number and type of installed addons

Seems self-explanatory

> Firefox features offered by Mozilla or our partners

Not really sure about this one, presumably it relates more to things that have to do with third-parties or them making money

> Overview of tracking

See about:telemetry. That has links to a number of other pages I didn't realize existed before today, but which seem to have a pretty comprehensive public overview.

Re:Implementing form filling and accessibility in the Firefo... by jeroenhd on Saturday October 16, 2021 @06:33AM (#28886895)
The quote is from Mozilla's own page explaining telemetry, not from the settings screen. The settings are much shorter.

about:telemetry didn't work on my phone (although the screenshots and videos I could find on it seem to indicate that it's just names and raw values, not human-readable descriptions), but it did contain a link to https://probes.telemetry.mozilla.org/ and the newer https://dictionary.telemetry.mozilla.org/ that seem to contain an overview of telemetry data collected.

I don't see anything on there about PDFs and Javascript, so I'm guessing there's another telemetry endpoint out there that I'm not seeing. Maybe the PDF renderer has a separate telemetry system, I don't know. Seeing the amount of (IMO useless) data Mozilla collects, I'll be opting out from telemetry from now on anyway.

Re:Implementing form filling and accessibility in the Firefo... by jrochkind1 on Friday October 15, 2021 @10:55PM (#28885164)
> FWIW, I do explicitly allow telemetry for the applications I buy licenses for and use for my work; it's in my best interest for those programs to be improved as efficiently as possible (and to have my use patterns be part of the corpus used to prioritize those improvements)

Makes sense. How do you see Firefox as different; you don't pay for it, but, if you use it, you presumably still might want it to be improved efficiently and based on your use patterns. But no?

Re:Implementing form filling and accessibility in the Firefo... by InitialLastName on Friday October 15, 2021 @11:46PM (#28885389)
A) The data that flows through my browser is private to me, and I have no assurances that Firefox will respect it. The tools I use for work have a license that openly respects IP (without which they wouldn't be in business) and I'm am comfortable that their business model relies more on keeping me as a customer than selling the (limited) IP that flows through their tools.

B) The tools I use are force multipliers for me, that differentiate from their competition through the improvements they make (thus making me far more productive than I otherwise would be). I use Firefox, but there isn't a huge amount to distinguish it from other browsers, and it's not clear to me that improvements in browsers over the last 10 years (beyond security) have added enough value to my life to need my data.

C) For the tools I'm using, I am one of a relatively small number (tens of thousands) of users, I am occasionally in direct contact with their staff (again, I pay for this support, among other things); my contribution of telemetry data to them is making a substantial contribution. For Firefox, with its install base in the hundreds of millions, my individual contribution is meaningless.

Re:Implementing form filling and accessibility in the Firefo... by zinekeller on Friday October 15, 2021 @04:19PM (#28882665)
Also, unless you dismiss it, there's a clear button to read to read their privacy policy and set telemetry (unless you're using the nightly-weekly builds, in this case they state in no ambiguous terms that you cannot disable it).
Re:Implementing form filling and accessibility in the Firefo... by djbusby on Friday October 15, 2021 @03:47PM (#28882260)
Scary and also helpful. Over reaching telemetry bad. But pragmatic, anonymous, usage metrics? Maybe worked this time.
Re:Implementing form filling and accessibility in the Firefo... by jessaustin on Friday October 15, 2021 @03:48PM (#28882272)
It would be possible to implement telemetry that would answer these questions in mostly unobjectionable fashion, but without more information one can see how this could be described as "scary". I certainly hope that forms aren't just being sent back home to Mozilla as-is. However, a monthly ping with statistics like "out of between 50 and 200 documents, between 10 and 50 of them used javascript" wouldn't harm anything. They could even add a random error to the statistics...
Re:Implementing form filling and accessibility in the Firefo... by ocdtrekkie on Friday October 15, 2021 @04:02PM (#28882457)
I often do not have a problem with the information telemetry collects: I take issue with the entitlement to it a new breed of awful app developers have. They think they have the right to use my device for information collection without my permission.

If Firefox occasionally showed me a report on some metrics it collected and asked me if I was okay sending it to Mozilla, I'd probably be fine with it. However, the choice to take it without my consent will always be opposed.

Re:Implementing form filling and accessibility in the Firefo... by InitialLastName on Friday October 15, 2021 @04:53PM (#28883019)
Do they do that? It's been a long time since I installed Firefox, but as far as I can tell there are very visible settings for controlling the telemetry that they collect.
Re:Implementing form filling and accessibility in the Firefo... by ocdtrekkie on Friday October 15, 2021 @05:36PM (#28883395)
There are settings, however, they are enabled by default to silently send telemetry, and they also implement new ways of collecting telemetry, with new settings to opt out of it, on an "every few months" basis. So it's a constant battle of monitoring what behavior they're up to and turning it off.
Re:Implementing form filling and accessibility in the Firefo... by tjoff on Friday October 15, 2021 @05:31PM (#28883347)
It would be possible to figure this out without any sort of telemetry at all.

It really feels like a forced way to try and shoe-horn something good to say about telemetry when it is something everyone that deals with PDFs have known since forever.

And if that is the best they have to show for it ...

Re:Implementing form filling and accessibility in the Firefo... by roca on Friday October 15, 2021 @06:39PM (#28883965)
How would you figure this out without telemetry?

A Web crawl could tell you how many PDF documents on the Web use forms, but it won't tell you often your users encounter those documents --- many documents aren't on the public Web, and some documents will be encountered far more often than others.

Re:Implementing form filling and accessibility in the Firefo... by tjoff on Saturday October 16, 2021 @07:10AM (#28887042)
The vast majority of questions like that are quite obvious.

Now what you might miss is that in some country where special circumstances led to an unusual high use of a certain feature.

But this is not that case.

More importantly, even with telemetry. Is the JavaScript adding something or is it solely used for tracking? Is it appreciated by the users?

Maybe 80% of input validation is so broken that they only serve to block legitimate input and waste cpu-cycles.

More than telemetry you need common sense. It is not apparent how the telemetry influenced this in any way.

Re:Implementing form filling and accessibility in the Firefo... by blondin on Friday October 15, 2021 @07:30PM (#28884300)
> How would you figure this out without telemetry?

the way the world has done it forever... a survey?

it is concerning. if Firefox is doing it, they are all doing it. i am not going to be opening PDFs in browsers.

this is ridiculous.

Re:Implementing form filling and accessibility in the Firefo... by charcircuit on Friday October 15, 2021 @07:50PM (#28884399)
A survey would be heavily biased. Telemetry will have much less bias (there is still some since people who disable telemetry have their usage ignored)

With better data you can make improvements that help more actual users instead of just focusing on what vocal minorities think.

Re:Implementing form filling and accessibility in the Firefo... by roca on Friday October 15, 2021 @07:44PM (#28884375)
A survey for this is going to be useless for getting unbiased data.
Re:Implementing form filling and accessibility in the Firefo... by arbitrage on Friday October 15, 2021 @04:00PM (#28882434)
What I find disturbing is that you are complaining about the included javascript in forms at this late a date. Where have you been for like the last fifteen years?
Re:Implementing form filling and accessibility in the Firefo... by rudian on Friday October 15, 2021 @04:35PM (#28882857)
Fifteen years is a long time. I’m sure some HN users weren’t even born yet.

Not everyone needs to care about everything all the time. I would complain about JS in PDF too, but I don’t have a voice anyway.

Re:Implementing form filling and accessibility in the Firefo... by sildur on Saturday October 16, 2021 @01:48AM (#28885838)
Not only that. If they wanted to add form support they should have read the specs, instead of blindly relying on their (very questionable) telemetry.

The fact they had to find via telemetry something that every developer who had interacted with a PDF with forms knew (that they have JS) is very worrying.

I'm expecting a long long list of bug reports when they start finding the mountains of corner cases not shown by their "telemetry".