| OLD | NEW |
| 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 Loading... |
| 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> |
| OLD | NEW |