Bug 624191 - Missing <td> in the graphics section of about:support. r+a=gavin
authorSiddharth Agarwal <sid.bugzilla@gmail.com>
Tue, 11 Jan 2011 16:28:10 +0530
changeset 60284 fd860ead307768d027e819831f42710211741778
parent 60283 9c8c705ffc5e9c8de41cf39835d14f20758d8f70
child 60285 8e1487c6e663aa104986c40058c2ded96f686a67
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs624191
milestone2.0b10pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 624191 - Missing <td> in the graphics section of about:support. r+a=gavin
toolkit/content/aboutSupport.js
--- a/toolkit/content/aboutSupport.js
+++ b/toolkit/content/aboutSupport.js
@@ -269,19 +269,22 @@ function populateGraphicsSection() {
       mgrType = windowutils.layerManagerType;
     }
   }
 
   let msg = acceleratedWindows + "/" + totalWindows;
   if (acceleratedWindows)
     msg += " " + mgrType;
 
-  let header = createHeader(bundle.GetStringFromName("acceleratedWindows"));
-
-  appendChildren(graphics_tbody, [ header, createElement("td", msg) ]);
+  appendChildren(graphics_tbody, [
+    createParentElement("tr", [
+      createHeader(bundle.GetStringFromName("acceleratedWindows")),
+      createElement("td", msg),
+    ])
+  ]);
 }
 
 function getPrefValue(aName) {
   let value = "";
   let type = Services.prefs.getPrefType(aName);
   switch (type) {
     case Ci.nsIPrefBranch2.PREF_STRING:
       value = Services.prefs.getComplexValue(aName, Ci.nsISupportsString).data;