Index: LayoutTests/inspector/profiler/heap-snapshot-dominators-show-all.html |
diff --git a/LayoutTests/inspector/profiler/heap-snapshot-dominators-show-all.html b/LayoutTests/inspector/profiler/heap-snapshot-dominators-show-all.html |
deleted file mode 100644 |
index ef188b39796fa2b20cc5c67320bdd7dc49fe5543..0000000000000000000000000000000000000000 |
--- a/LayoutTests/inspector/profiler/heap-snapshot-dominators-show-all.html |
+++ /dev/null |
@@ -1,63 +0,0 @@ |
-<html> |
-<head> |
- <script src="../../http/tests/inspector/inspector-test.js"></script> |
- <script src="heap-snapshot-test.js"></script> |
-<script> |
- |
-function test() |
-{ |
- var instanceCount = 25; |
- function createHeapSnapshot() |
- { |
- return InspectorTest.createHeapSnapshot(instanceCount); |
- } |
- |
- InspectorTest.runHeapSnapshotTestSuite([ |
- function testShowAll(next) |
- { |
- InspectorTest.takeAndOpenSnapshot(createHeapSnapshot, step1); |
- |
- function step1() |
- { |
- InspectorTest.switchToView("Dominators", step2); |
- } |
- |
- function step2() |
- { |
- InspectorTest.findAndExpandWindow(step3); |
- } |
- |
- function step3(row) |
- { |
- var buttonsNode = InspectorTest.findButtonsNode(row); |
- InspectorTest.assertEquals(true, !!buttonsNode, "buttons node"); |
- var words = buttonsNode.showAll.textContent.split(" "); |
- for (var i = 0; i < words.length; ++i) { |
- var maybeNumber = parseInt(words[i], 10); |
- if (!isNaN(maybeNumber)) |
- InspectorTest.assertEquals(instanceCount - row._dataGrid.defaultPopulateCount(), maybeNumber, buttonsNode.showAll.textContent); |
- } |
- InspectorTest.clickShowMoreButton("showAll", buttonsNode, step4); |
- } |
- |
- function step4(row) |
- { |
- var rowsShown = InspectorTest.countDataRows(row); |
- InspectorTest.assertEquals(instanceCount, rowsShown, "after showAll click"); |
- var buttonsNode = InspectorTest.findButtonsNode(row); |
- InspectorTest.assertEquals(false, !!buttonsNode, "buttons node found when all instances are shown!"); |
- setTimeout(next, 0); |
- } |
- } |
- ]); |
-} |
- |
-</script> |
-</head> |
-<body onload="runTest()"> |
-<p> |
-Tests Dominators view of detailed heap snapshots. |
-The "Show All" button must show all nodes. |
-</p> |
-</body> |
-</html> |