зеркало из https://github.com/mozilla/pjs.git
Bug 617028. Expose graphics failures in about:support. r=ehsan,a=blocking
Adds a list of the graphics failures below the graphics section.
This commit is contained in:
Родитель
14dba9297c
Коммит
cc2c33a858
|
@ -257,6 +257,16 @@ function populateGraphicsSection() {
|
||||||
]));
|
]));
|
||||||
|
|
||||||
appendChildren(graphics_tbody, trGraphics);
|
appendChildren(graphics_tbody, trGraphics);
|
||||||
|
|
||||||
|
// display any failures that have occurred
|
||||||
|
let graphics_failures_tbody = document.getElementById("graphics-failures-tbody");
|
||||||
|
let trGraphicsFailures = gfxInfo.getFailures().map(function (value)
|
||||||
|
createParentElement("tr", [
|
||||||
|
createElement("td", value)
|
||||||
|
])
|
||||||
|
);
|
||||||
|
appendChildren(graphics_failures_tbody, trGraphicsFailures);
|
||||||
|
|
||||||
} // end if (gfxInfo)
|
} // end if (gfxInfo)
|
||||||
|
|
||||||
let windows = Services.ww.getWindowEnumerator();
|
let windows = Services.ww.getWindowEnumerator();
|
||||||
|
|
|
@ -203,6 +203,11 @@
|
||||||
<tbody id="graphics-tbody">
|
<tbody id="graphics-tbody">
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<tbody id="graphics-failures-tbody">
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче