author | Victor Porof <vporof@mozilla.com> |
Thu, 12 Mar 2015 18:01:49 -0400 | |
changeset 233433 | c1f3a8c202f3e71c03eafeab1b2dad2620875fdc |
parent 233432 | 5a79c295029a4ced1fc66d3f6e44a2fbbd8c97fb |
child 233434 | 89b7ffc19317f2add730549148bdd8eb498e7319 |
push id | 28412 |
push user | cbook@mozilla.com |
push date | Fri, 13 Mar 2015 11:45:52 +0000 |
treeherder | mozilla-central@11506aaf7064 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | me |
bugs | 1142744, 1132755 |
milestone | 39.0a1 |
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
|
--- a/browser/devtools/performance/test/browser_profiler_tree-view-01.js +++ b/browser/devtools/performance/test/browser_profiler_tree-view-01.js @@ -17,59 +17,49 @@ function test() { treeRoot.autoExpandDepth = 0; treeRoot.attachTo(container); is(container.childNodes.length, 1, "The container node should have one child available."); is(container.childNodes[0].className, "call-tree-item", "The root node in the tree has the correct class name."); - is(container.childNodes[0].childNodes.length, 8, + is(container.childNodes[0].childNodes.length, 6, "The root node in the tree has the correct number of children."); - is(container.childNodes[0].querySelectorAll(".call-tree-cell").length, 8, - "The root node in the tree has only 'call-tree-cell' children."); + is(container.childNodes[0].querySelectorAll(".call-tree-cell").length, 6, + "The root node in the tree has only 6 'call-tree-cell' children."); is(container.childNodes[0].childNodes[0].getAttribute("type"), "duration", "The root node in the tree has a duration cell."); is(container.childNodes[0].childNodes[0].getAttribute("value"), "15 ms", "The root node in the tree has the correct duration cell value."); is(container.childNodes[0].childNodes[1].getAttribute("type"), "percentage", "The root node in the tree has a percentage cell."); is(container.childNodes[0].childNodes[1].getAttribute("value"), "100%", "The root node in the tree has the correct percentage cell value."); - is(container.childNodes[0].childNodes[2].getAttribute("type"), "allocations", + is(container.childNodes[0].childNodes[2].getAttribute("type"), "self-duration", "The root node in the tree has a self-duration cell."); - is(container.childNodes[0].childNodes[2].getAttribute("value"), "0", - "The root node in the tree has the correct self-duration cell value."); - - is(container.childNodes[0].childNodes[3].getAttribute("type"), "self-duration", - "The root node in the tree has a self-duration cell."); - is(container.childNodes[0].childNodes[3].getAttribute("value"), "0 ms", + is(container.childNodes[0].childNodes[2].getAttribute("value"), "0 ms", "The root node in the tree has the correct self-duration cell value."); - is(container.childNodes[0].childNodes[4].getAttribute("type"), "self-percentage", + is(container.childNodes[0].childNodes[3].getAttribute("type"), "self-percentage", "The root node in the tree has a self-percentage cell."); - is(container.childNodes[0].childNodes[4].getAttribute("value"), "0%", + is(container.childNodes[0].childNodes[3].getAttribute("value"), "0%", "The root node in the tree has the correct self-percentage cell value."); - is(container.childNodes[0].childNodes[5].getAttribute("type"), "self-allocations", - "The root node in the tree has a self-percentage cell."); - is(container.childNodes[0].childNodes[5].getAttribute("value"), "0", - "The root node in the tree has the correct self-percentage cell value."); - - is(container.childNodes[0].childNodes[6].getAttribute("type"), "samples", + is(container.childNodes[0].childNodes[4].getAttribute("type"), "samples", "The root node in the tree has an samples cell."); - is(container.childNodes[0].childNodes[6].getAttribute("value"), "4", + is(container.childNodes[0].childNodes[4].getAttribute("value"), "4", "The root node in the tree has the correct samples cell value."); - is(container.childNodes[0].childNodes[7].getAttribute("type"), "function", + is(container.childNodes[0].childNodes[5].getAttribute("type"), "function", "The root node in the tree has a function cell."); - is(container.childNodes[0].childNodes[7].style.MozMarginStart, "0px", + is(container.childNodes[0].childNodes[5].style.MozMarginStart, "0px", "The root node in the tree has the correct indentation."); finish(); } let gSamples = [{ time: 5, frames: [
--- a/browser/devtools/performance/test/browser_profiler_tree-view-04.js +++ b/browser/devtools/performance/test/browser_profiler_tree-view-04.js @@ -39,36 +39,32 @@ function test() { "The .A.B.D node's 'category' attribute is correct."); is(D.target.getAttribute("tooltiptext"), "D (http://foo/bar/baz:78)", "The .A.B.D node's 'tooltiptext' attribute is correct."); ok(!A.target.querySelector(".call-tree-zoom").hidden, "The .A.B.D node's zoom button cell should not be hidden."); ok(!A.target.querySelector(".call-tree-category").hidden, "The .A.B.D node's category label cell should not be hidden."); - is(D.target.childNodes.length, 8, + is(D.target.childNodes.length, 6, "The number of columns displayed for tree items is correct."); is(D.target.childNodes[0].getAttribute("type"), "duration", "The first column displayed for tree items is correct."); is(D.target.childNodes[1].getAttribute("type"), "percentage", "The third column displayed for tree items is correct."); - is(D.target.childNodes[2].getAttribute("type"), "allocations", + is(D.target.childNodes[2].getAttribute("type"), "self-duration", "The second column displayed for tree items is correct."); - is(D.target.childNodes[3].getAttribute("type"), "self-duration", - "The second column displayed for tree items is correct."); - is(D.target.childNodes[4].getAttribute("type"), "self-percentage", + is(D.target.childNodes[3].getAttribute("type"), "self-percentage", "The fourth column displayed for tree items is correct."); - is(D.target.childNodes[5].getAttribute("type"), "self-allocations", - "The fourth column displayed for tree items is correct."); - is(D.target.childNodes[6].getAttribute("type"), "samples", + is(D.target.childNodes[4].getAttribute("type"), "samples", "The fifth column displayed for tree items is correct."); - is(D.target.childNodes[7].getAttribute("type"), "function", + is(D.target.childNodes[5].getAttribute("type"), "function", "The sixth column displayed for tree items is correct."); - let functionCell = D.target.childNodes[7]; + let functionCell = D.target.childNodes[5]; is(functionCell.childNodes.length, 9, "The number of columns displayed for function cells is correct."); is(functionCell.childNodes[0].className, "arrow theme-twisty", "The first node displayed for function cells is correct."); is(functionCell.childNodes[1].className, "plain call-tree-name", "The second node displayed for function cells is correct."); is(functionCell.childNodes[2].className, "plain call-tree-url",