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

Unified Diff: LayoutTests/inspector/profiler/heap-snapshot-reveal-in-dominators-view.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-reveal-in-dominators-view.html
diff --git a/LayoutTests/inspector/profiler/heap-snapshot-reveal-in-dominators-view.html b/LayoutTests/inspector/profiler/heap-snapshot-reveal-in-dominators-view.html
deleted file mode 100644
index 107bf949288ab68b93315b9db2fb28a5a4829c5e..0000000000000000000000000000000000000000
--- a/LayoutTests/inspector/profiler/heap-snapshot-reveal-in-dominators-view.html
+++ /dev/null
@@ -1,45 +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);
- var nodeAHeapSnapshotObjectId = 5 + 2*15 ; // Id of the 16th A node.
-
- function step1()
- {
- InspectorTest.addSniffer(WebInspector.HeapSnapshotDominatorsDataGrid.prototype, "highlightNode", didHighlightNode);
- WebInspector.panels.profiles.showObject(nodeAHeapSnapshotObjectId, "Dominators");
- InspectorTest.addResult("Revealing node...");
- }
-
- function didHighlightNode(node)
- {
- InspectorTest.assertEquals(nodeAHeapSnapshotObjectId, node.snapshotNodeId, "Unxpected node highlighted.");
- InspectorTest.addResult("Node revealed.");
- next();
- }
- }
- ]);
-}
-
-</script>
-</head>
-<body onload="runTest()">
-<p>
-Tests that an object can be revealed in the Dominators view of detailed heap snapshots.
-</p>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698