Bug 1137404 - Remove DWriteVersion reporting from Telemetry. r=gfritzsche

This commit is contained in:
Alessio Placitelli 2015-04-20 14:03:29 +02:00
Родитель 78f7ca030d
Коммит 61ab49d51d
3 изменённых файлов: 9 добавлений и 4 удалений

Просмотреть файл

@ -1019,7 +1019,9 @@ EnvironmentCache.prototype = {
let gfxData = {
D2DEnabled: getGfxField("D2DEnabled", null),
DWriteEnabled: getGfxField("DWriteEnabled", null),
DWriteVersion: getGfxField("DWriteVersion", null),
// The following line is disabled due to main thread jank and will be enabled
// again as part of bug 1154500.
//DWriteVersion: getGfxField("DWriteVersion", null),
adapters: [],
};

Просмотреть файл

@ -112,7 +112,7 @@ Structure::
gfx: {
D2DEnabled: <bool>, // null on failure
DWriteEnabled: <bool>, // null on failure
DWriteVersion: <string>, // null on failure
//DWriteVersion: <string>, // temporarily removed, pending bug 1154500
adapters: [
{
description: <string>, // e.g. "Intel(R) HD Graphics 4600", null on failure

Просмотреть файл

@ -392,11 +392,14 @@ function checkSystemSection(data) {
let gfxData = data.system.gfx;
Assert.ok("D2DEnabled" in gfxData);
Assert.ok("DWriteEnabled" in gfxData);
Assert.ok("DWriteVersion" in gfxData);
// DWriteVersion is disabled due to main thread jank and will be enabled
// again as part of bug 1154500.
//Assert.ok("DWriteVersion" in gfxData);
if (gIsWindows) {
Assert.equal(typeof gfxData.D2DEnabled, "boolean");
Assert.equal(typeof gfxData.DWriteEnabled, "boolean");
Assert.ok(checkString(gfxData.DWriteVersion));
// As above, will be enabled again as part of bug 1154500.
//Assert.ok(checkString(gfxData.DWriteVersion));
}
Assert.ok("adapters" in gfxData);