Bug 757299 (part 3) - Simplify non-leaf node descriptions in about:memory. r=jlebar.
authorNicholas Nethercote <nnethercote@mozilla.com>
Wed, 23 May 2012 17:04:52 -0700
changeset 99152 16dbfe2ae98b07cad83cb14567f187c051006958
parent 99151 b58b537b36b3317c8ecacdb8ae9d7e8eb2977189
child 99153 f7894fb36f72b4495b5c992756cb59cc1659e181
push idunknown
push userunknown
push dateunknown
reviewersjlebar
bugs757299
milestone15.0a1
Bug 757299 (part 3) - Simplify non-leaf node descriptions in about:memory. r=jlebar.
toolkit/components/aboutmemory/content/aboutMemory.js
--- a/toolkit/components/aboutmemory/content/aboutMemory.js
+++ b/toolkit/components/aboutmemory/content/aboutMemory.js
@@ -688,18 +688,17 @@ function buildTree(aReports, aTreePrefix
       // Non-leaf node with multiple children.  Derive its _amount and
       // _description entirely from its children.
       assert(aT._kind === undefined, "aT._kind is defined for non-leaf node");
       let kidsBytes = 0;
       for (let i = 0; i < aT._kids.length; i++) {
         kidsBytes += fillInNonLeafNodes(aT._kids[i]);
       }
       aT._amount = kidsBytes;
-      aT._description = "The sum of all entries below '" +
-                        flipBackslashes(aT._unsafeName) + "'.";
+      aT._description = "The sum of all entries below this one.";
     }
     return aT._amount;
   }
 
   // cannotMerge is set because don't want to merge into a tree's root node.
   fillInNonLeafNodes(t, /* cannotMerge = */true);
 
   // Set the (unsafe) description on the root node.