Closed
Bug 1136714
Opened 10 years ago
Closed 9 years ago
TelemetryEnvironment reports one GMPlugin with "null" version on Android XPCSHELL tests
Categories
(Firefox Health Report Graveyard :: Client: Desktop, defect)
Firefox Health Report Graveyard
Client: Desktop
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1133310
People
(Reporter: Dexter, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
2.22 KB,
patch
|
Details | Diff | Splinter Review |
|TelemetryEnvironment._getActiveGMPlugins| plugin data collection, introduced in bug 1122050, reports a GMPlugin with strange data during Android XPCSHELL tests.
Even though plugin.isValid is true, plugin.version is null.
This is a dump of the gathered info: {"version":null,"userDisabled":false,"applyBackgroundUpdates":1}
Comment 1•10 years ago
|
||
Stephen, do the changes to GMPProvider possibly break on Android?
Flags: needinfo?(spohl.mozilla.bugs)
Comment 2•10 years ago
|
||
I don't know. What's the plugin.id for the failing GMPlugin? What's the best way for me to test this myself? Also, where does the plugin.isValid check occur? I don't see this in |TelemetryEnvironment._getActiveGMPlugins|...
Flags: needinfo?(spohl.mozilla.bugs) → needinfo?(alessio.placitelli)
Updated•10 years ago
|
Reporter | ||
Comment 3•10 years ago
|
||
Sorry for the late answer, :spohl. I just used plugin.isValid in a test, it did not make it to m-c as it wasn't helping with this problem.
I've attached a small patch to help you reproduce the problem. This is the output I'm getting from "test_TelemetryEnvironment.js" in the Android emulator:
**** DEBUG: GMP id gmp-gmpopenh264, version null, userDisabled false, applyBackgroundUpdates 1
Please let me know if there's anything else I can do to help you!
Flags: needinfo?(alessio.placitelli) → needinfo?(spohl.mozilla.bugs)
Reporter | ||
Comment 4•10 years ago
|
||
Comment 5•10 years ago
|
||
Comment on attachment 8571245 [details] [diff] [review]
reproduces the issue
Review of attachment 8571245 [details] [diff] [review]:
-----------------------------------------------------------------
::: toolkit/components/telemetry/TelemetryEnvironment.jsm
@@ +806,5 @@
>
> let activeGMPlugins = {};
> for (let plugin of allPlugins) {
> // Only get GM Plugin info.
> + if (!plugin.isGMPlugin && !plugin.isValid) {
Shouldn't this be ||, rather than &&? plugin.isValid should never be true when plugin.version is null.
Updated•10 years ago
|
Flags: needinfo?(spohl.mozilla.bugs) → needinfo?(alessio.placitelli)
Reporter | ||
Comment 6•10 years ago
|
||
Gosh, thanks for taking time looking into this. I probably looked at the code too many times and I didn't catch that.
Flags: needinfo?(alessio.placitelli)
Comment 7•10 years ago
|
||
No worries! Please do let me know if there's still something that doesn't seem right.
Updated•9 years ago
|
Comment 8•9 years ago
|
||
This sounds like the same issue as in bug 1133310, comment 1.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Product: Firefox Health Report → Firefox Health Report Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•