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

Unified Diff: LayoutTests/inspector/profiler/heap-snapshot-dominators-show-next.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-show-next.html
diff --git a/LayoutTests/inspector/profiler/heap-snapshot-dominators-show-next.html b/LayoutTests/inspector/profiler/heap-snapshot-dominators-show-next.html
deleted file mode 100644
index ae1c9fc52e189bf73e8a886c0ee92636b37ea09f..0000000000000000000000000000000000000000
--- a/LayoutTests/inspector/profiler/heap-snapshot-dominators-show-next.html
+++ /dev/null
@@ -1,56 +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 testShowNext(next)
- {
- InspectorTest.takeAndOpenSnapshot(createHeapSnapshot, step1);
-
- function step1()
- {
- InspectorTest.switchToView("Dominators", step2);
- }
-
- function step2()
- {
- InspectorTest.findAndExpandRow("Window", step3);
- }
-
- function step3(row)
- {
- var rowsShown = InspectorTest.countDataRows(row);
- InspectorTest.assertEquals(true, rowsShown <= instanceCount, "shown more instances than created: " + rowsShown + " > " + instanceCount);
- if (rowsShown < instanceCount) {
- var buttonsNode = InspectorTest.findButtonsNode(row);
- InspectorTest.assertEquals(true, !!buttonsNode, "buttons node");
- InspectorTest.clickShowMoreButton("showNext", buttonsNode, step3);
- } else if (rowsShown === instanceCount) {
- 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.
-Repeated clicks on &quot;Show Next&quot; button must show all nodes.
-</p>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698