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 InspectorTest.selectNodeWithId("inspected", execute); | 9 InspectorTest.selectNodeWithId("inspected", execute); |
10 | 10 |
11 function execute() | 11 function execute() |
12 { | 12 { |
13 var treeElement = InspectorTest.firstElementsTreeOutline().findTreeEleme
nt(InspectorTest.expandedNodeWithId("inspected")); | 13 var treeElement = InspectorTest.firstElementsTreeOutline().findTreeEleme
nt(InspectorTest.expandedNodeWithId("inspected")); |
14 var textElement = treeElement.listItemElement.getElementsByClassName("we
bkit-html-attribute")[0]; | 14 var textElement = treeElement.listItemElement.getElementsByClassName("we
bkit-html-attribute")[0]; |
(...skipping 23 matching lines...) Expand all Loading... |
38 <body onload="runTest()"> | 38 <body onload="runTest()"> |
39 <p> | 39 <p> |
40 Tests that user can mutate DOM by means of elements panel. | 40 Tests that user can mutate DOM by means of elements panel. |
41 </p> | 41 </p> |
42 | 42 |
43 <div> | 43 <div> |
44 <a href="data:text/plain;,12345678901234567890123456789012345678901234567890
123456789012345678901234567890/1234567890123456789012345678901234567890123456789
01234567890" id="inspected">Anchor</a> | 44 <a href="data:text/plain;,12345678901234567890123456789012345678901234567890
123456789012345678901234567890/1234567890123456789012345678901234567890123456789
01234567890" id="inspected">Anchor</a> |
45 </div> | 45 </div> |
46 </body> | 46 </body> |
47 </html> | 47 </html> |
OLD | NEW |