Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Unified Diff: LayoutTests/inspector/profiler/heap-snapshot-dominators-shown-node-count-preserved-when-sorting.html

Issue 352603003: DevTools: Nuke Dominators view from heap profiler. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaseline Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/inspector/profiler/heap-snapshot-dominators-shown-node-count-preserved-when-sorting.html
diff --git a/LayoutTests/inspector/profiler/heap-snapshot-dominators-shown-node-count-preserved-when-sorting.html b/LayoutTests/inspector/profiler/heap-snapshot-dominators-shown-node-count-preserved-when-sorting.html
deleted file mode 100644
index 24daeeb167b9b0919bce710fb037a3c3c1d5ab09..0000000000000000000000000000000000000000
--- a/LayoutTests/inspector/profiler/heap-snapshot-dominators-shown-node-count-preserved-when-sorting.html
+++ /dev/null
@@ -1,79 +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 testShownNodeCountPreservedWhenSorting(next)
- {
- InspectorTest.takeAndOpenSnapshot(createHeapSnapshot, step1);
-
- function step1()
- {
- InspectorTest.switchToView("Dominators", step2);
- }
-
- var columns;
- function step2()
- {
- columns = InspectorTest.viewColumns();
- InspectorTest.clickColumn(columns[0], step3);
- }
-
- function step3()
- {
- InspectorTest.findAndExpandWindow(step4);
- }
-
- function step4(row)
- {
- var buttonsNode = InspectorTest.findButtonsNode(row);
- InspectorTest.assertEquals(true, !!buttonsNode, "no buttons node found!");
- InspectorTest.clickShowMoreButton("showNext", buttonsNode, step5);
- }
-
- var nodeCount;
- function step5(row)
- {
- // There must be enough nodes to have some unrevealed.
- var buttonsNode = InspectorTest.findButtonsNode(row);
- InspectorTest.assertEquals(true, !!buttonsNode, "no buttons node found!");
-
- nodeCount = InspectorTest.columnContents(columns[0]).length;
- InspectorTest.assertEquals(true, nodeCount > 0, "nodeCount > 0");
-
- InspectorTest.clickColumn(columns[0], clickTwice);
- function clickTwice()
- {
- InspectorTest.clickColumn(columns[0], step6);
- }
- }
-
- function step6()
- {
- var newNodeCount = InspectorTest.columnContents(columns[0]).length;
- InspectorTest.assertEquals(nodeCount, newNodeCount);
- setTimeout(next, 0);
- }
- }
- ]);
-}
-
-</script>
-</head>
-<body onload="runTest()">
-<p>
-Tests Dominators view of detailed heap snapshots.
-Shown node count must be preserved after sorting.
-</p>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698