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:
@@ -257,6 +257,16 @@ function populateGraphicsSection() {
|
||||
]));
|
||||
|
||||
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)
|
||||
|
||||
let windows = Services.ww.getWindowEnumerator();
|
||||
|
||||
@@ -203,6 +203,11 @@
|
||||
<tbody id="graphics-tbody">
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tbody id="graphics-failures-tbody">
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user