diff --git a/devtools/client/memory/components/heap.js b/devtools/client/memory/components/heap.js index 7547ec034be2..777d1a50ec17 100644 --- a/devtools/client/memory/components/heap.js +++ b/devtools/client/memory/components/heap.js @@ -258,7 +258,7 @@ const Heap = module.exports = createClass({ && census.report.children.length === 1 && census.report.children[0].name === "noStack") { contents.push(dom.div({ className: "error no-allocation-stacks" }, - L10N.getStr("heapview.noAllocationStacks"))); + L10N.getStr("heapview.noAllocationStacks"))); } contents.push(CensusHeader()); diff --git a/devtools/client/memory/test/chrome/chrome.ini b/devtools/client/memory/test/chrome/chrome.ini index 939851514da9..501b0d885dce 100644 --- a/devtools/client/memory/test/chrome/chrome.ini +++ b/devtools/client/memory/test/chrome/chrome.ini @@ -8,5 +8,6 @@ support-files = [test_Heap_01.html] [test_Heap_02.html] [test_Heap_03.html] +[test_Heap_04.html] [test_Toolbar_01.html] [test_Toolbar_02.html] diff --git a/devtools/client/memory/test/chrome/head.js b/devtools/client/memory/test/chrome/head.js index de87985438fb..a0b2fb7798ad 100644 --- a/devtools/client/memory/test/chrome/head.js +++ b/devtools/client/memory/test/chrome/head.js @@ -17,6 +17,7 @@ var { immutableUpdate } = DevToolsUtils; var constants = require("devtools/client/memory/constants"); var { + breakdowns, diffingState, dominatorTreeBreakdowns, dominatorTreeState, diff --git a/devtools/client/memory/test/chrome/test_Heap_04.html b/devtools/client/memory/test/chrome/test_Heap_04.html new file mode 100644 index 000000000000..0b58f2bd2a03 --- /dev/null +++ b/devtools/client/memory/test/chrome/test_Heap_04.html @@ -0,0 +1,101 @@ + + + + + + Tree component test + + + + +
+
+        
+        
+    
+ +