Closed
Bug 1218842
Opened 10 years ago
Closed 10 years ago
TelemetryEnvironment submits inactive GMP plugins
Categories
(Toolkit :: Telemetry, defect, P1)
Toolkit
Telemetry
Tracking
()
VERIFIED
FIXED
mozilla45
People
(Reporter: gfritzsche, Assigned: Dexter, Mentored)
References
Details
(Whiteboard: [unifiedTelemetry] [measurement:client] [lang=js] [good first bug])
Attachments
(1 file, 1 obsolete file)
|
2.24 KB,
patch
|
gfritzsche
:
review+
|
Details | Diff | Splinter Review |
We should filter out disabled GMP plugins here by also checking for |plugin.disabled|:
https://dxr.mozilla.org/mozilla-central/rev/6c7c983bce46a460c2766fbdd73283f6d2b03a69/toolkit/components/telemetry/TelemetryEnvironment.jsm#624
We should check that the Telemetry unit tests still run through properly after this change:
mach xpcshell-test toolkit/components/telemetry/tests/unit/
| Reporter | ||
Updated•10 years ago
|
Flags: qe-verify+
| Reporter | ||
Updated•10 years ago
|
Priority: P3 → P2
| Reporter | ||
Updated•10 years ago
|
Priority: P2 → P1
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → alessio.placitelli
| Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8681964 -
Flags: review?(gfritzsche)
| Reporter | ||
Updated•10 years ago
|
Attachment #8681964 -
Flags: review?(gfritzsche) → review+
| Assignee | ||
Comment 2•10 years ago
|
||
| Assignee | ||
Comment 3•10 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/e402ef99492dc81b1b1f28d04a6baa96de0ec3d2
Bug 1218842 - Don't submit inactive or invalid GMP plugins in TelemetryEnvironment. r=gfritzsche
Comment 4•10 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox45:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
| Assignee | ||
Comment 5•10 years ago
|
||
Approval Request Comment
[Feature/regressing bug #]: This fixes the wrong GMPlugins being reported by Telemetry.
[User impact if declined]: The wrong number of plugins may be reported in about:healthreport.
[Describe test coverage new/current, TreeHerder]: Automated test coverage already present.
[Risks and why]: Low-risk - manually tested and basically just skipping GMPlugins explicitly marked as invalid or disabled.
[String/UUID change made/needed]: None
Attachment #8683072 -
Flags: approval-mozilla-beta?
| Assignee | ||
Updated•10 years ago
|
Attachment #8683072 -
Attachment is obsolete: true
Attachment #8683072 -
Flags: approval-mozilla-beta?
| Assignee | ||
Comment 6•10 years ago
|
||
Comment on attachment 8681964 [details] [diff] [review]
bug1218842.patch
Approval Request Comment
[Feature/regressing bug #]: This fixes the wrong GMPlugins being reported by Telemetry.
[User impact if declined]: The wrong number of plugins may be reported in about:healthreport.
[Describe test coverage new/current, TreeHerder]: Automated test coverage already present.
[Risks and why]: Low-risk - manually tested and basically just skipping GMPlugins explicitly marked as invalid or disabled.
[String/UUID change made/needed]: None
Attachment #8681964 -
Flags: approval-mozilla-beta?
Attachment #8681964 -
Flags: approval-mozilla-aurora?
Comment 7•10 years ago
|
||
| bugherder uplift | ||
status-b2g-v2.5:
--- → fixed
Comment 8•10 years ago
|
||
removing the b2g 2.5 flag since this commit has been reverted due to an incorrect merge, sorry for the confusion
status-b2g-v2.5:
fixed → ---
Comment 9•10 years ago
|
||
On latest 45.0a1 (from 2015-11-05), with alert(JSON.stringify(Cu.import("resource://gre/modules/TelemetryEnvironment.jsm").TelemetryEnvironment.currentEnvironment)) command the output is:
"activeGMPlugins": {
} for both Always or Never activate states.
Tested with both about:healthreport page v2 and v4 content, across platforms [1]. Is it expected that even in active state the gmp plugins are not submitted? And please let me know if this testing is enough to call this verified.
[1] Windows 7 64-bit, Mac OS X 10.9.5 and Ubuntu 14.04 32-bit
Flags: needinfo?(alessio.placitelli)
| Assignee | ||
Updated•10 years ago
|
Flags: needinfo?(alessio.placitelli)
Attachment #8681964 -
Flags: approval-mozilla-beta?
Attachment #8681964 -
Flags: approval-mozilla-aurora?
| Assignee | ||
Comment 10•10 years ago
|
||
Alexandra, good catch. This is a regression, I've filed bug 1222503 for it.
Comment 11•10 years ago
|
||
Confirming this fix with latest 45.0a1 (2015-11-11), across platforms, along with the verification for bug 1222503.
You need to log in
before you can comment on or make changes to this bug.
Description
•