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

Side by Side Diff: LayoutTests/inspector/elements/expand-recursively.html

Issue 218703002: DevTools: [wip] move Elements panel off WebInspector.domModel and single tree outline. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Review comment addressed (and much more) Created 6 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/elements-test.js"></script> 4 <script src="../../http/tests/inspector/elements-test.js"></script>
5 <script> 5 <script>
6 6
7 function test() 7 function test()
8 { 8 {
9 WebInspector.inspectorView.showPanel("elements"); 9 WebInspector.inspectorView.showPanel("elements");
10 var treeOutline = WebInspector.panels.elements.treeOutline; 10 var treeOutline = InspectorTest.firstElementsTreeOutline();
11 InspectorTest.findNode(function() { return false; }, firstStep); 11 InspectorTest.findNode(function() { return false; }, firstStep);
12 12
13 function firstStep() 13 function firstStep()
14 { 14 {
15 InspectorTest.addResult("===== Initial state of tree outline =====\n"); 15 InspectorTest.addResult("===== Initial state of tree outline =====\n");
16 dump(); 16 dump();
17 17
18 var topNode = treeOutline.children[0].children[1].children[1]; 18 var topNode = treeOutline.children[0].children[1].children[1];
19 topNode.expandRecursively(); 19 topNode.expandRecursively();
20 InspectorTest.runAfterPendingDispatches(secondStep); 20 InspectorTest.runAfterPendingDispatches(secondStep);
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 </div> 58 </div>
59 </div> 59 </div>
60 </div> 60 </div>
61 </div> 61 </div>
62 </div> 62 </div>
63 </div> 63 </div>
64 </div> 64 </div>
65 65
66 </body> 66 </body>
67 </html> 67 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698