Closed Bug 1381099 Opened 7 years ago Closed 5 years ago

Expose datareporting.healthreport.uploadEnabled preference to WebExtensions

Categories

(WebExtensions :: General, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: clouserw, Assigned: jhirsch)

References

Details

(Whiteboard: [browserSettings] triaged)

There is a Telemetry opt-out preference (datareporting.healthreport.uploadEnabled) which would be handy to be able to see from a Web Extension so we could not send reporting data if the user would rather not send it.
Bug 1280234 is about creating an API that will allow WebExtensions to interact with telemetry (i.e., send telemetry from a WebExtension), so it sounds like this is something that should be included in that effort. It's not entirely clear from the bug, but it looks like Jared is currently working on it. If that's the case perhaps he wants to take this bug as well?
Flags: needinfo?(jhirsch)
Whiteboard: [browserSettings] triaged
I crossed the streams a little bit in this bug.  The requested preference is not actually the telemetry preference, it's the health report preference.  We should probably expose both.
(In reply to Wil Clouser [:clouserw] from comment #2)
> I crossed the streams a little bit in this bug.  The requested preference is
> not actually the telemetry preference, it's the health report preference. 
> We should probably expose both.

The health report preference is related to telemetry though, correct? It's just another name for a different type of telemetry, AFAIU. So I think it still makes sense to bundle it into the effort being made to give WebExtensions access to telemetry.
Priority: -- → P3
Sure, I'm looking into Telemetry integration for Screenshots. Seems like a good time to pick this up.
Assignee: nobody → jhirsch
Flags: needinfo?(jhirsch)
Product: Toolkit → WebExtensions
Bulk move of bugs per https://bugzilla.mozilla.org/show_bug.cgi?id=1483958
Component: Untriaged → General

This is implemented as the browser.telemetry.canUpload() method, and was fixed by bug 1280234.

https://searchfox.org/mozilla-central/source/toolkit/components/extensions/parent/ext-telemetry.js#45

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