mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 940806 - Gfx info was not being properly reported in Telemetry. r=dteller
This commit is contained in:
parent
c1d6a91a00
commit
e9dd8d69a7
@ -374,10 +374,13 @@ TelemetryPing.prototype = {
|
||||
if (gfxInfo) {
|
||||
for each (let field in gfxfields) {
|
||||
try {
|
||||
let value = "";
|
||||
value = gfxInfo[field];
|
||||
if (value != "")
|
||||
let value = gfxInfo[field];
|
||||
// bug 940806: We need to do a strict equality comparison here,
|
||||
// otherwise a type conversion will occur and boolean false values
|
||||
// will get filtered out
|
||||
if (value !== "") {
|
||||
ret[field] = value;
|
||||
}
|
||||
} catch (e) {
|
||||
continue
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user