| 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 src="accessibility-pane-test.js"></script> | 5 <script src="accessibility-pane-test.js"></script> |
| 6 <script> | 6 <script> |
| 7 | 7 |
| 8 function test() | 8 function test() |
| 9 { | 9 { |
| 10 WebInspector.viewManager.showView("accessibility.view") | 10 UI.viewManager.showView("accessibility.view") |
| 11 .then(() => InspectorTest.selectNodeAndWaitForAccessibility("inspected")
) | 11 .then(() => InspectorTest.selectNodeAndWaitForAccessibility("inspected")
) |
| 12 .then(runTests); | 12 .then(runTests); |
| 13 | 13 |
| 14 function getPromptForAttribute(attribute) | 14 function getPromptForAttribute(attribute) |
| 15 { | 15 { |
| 16 var treeElement = InspectorTest.findARIAAttributeTreeElement(attribute); | 16 var treeElement = InspectorTest.findARIAAttributeTreeElement(attribute); |
| 17 treeElement._startEditing(); | 17 treeElement._startEditing(); |
| 18 return treeElement._prompt; | 18 return treeElement._prompt; |
| 19 } | 19 } |
| 20 | 20 |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 </script> | 73 </script> |
| 74 </head> | 74 </head> |
| 75 | 75 |
| 76 <body onload="runTest()"> | 76 <body onload="runTest()"> |
| 77 <p> | 77 <p> |
| 78 Tests that autocompletions are computed correctly when editing the ARIA pane. | 78 Tests that autocompletions are computed correctly when editing the ARIA pane. |
| 79 </p> | 79 </p> |
| 80 <span id="inspected" aria-checked="true" role="checkbox"></span> | 80 <span id="inspected" aria-checked="true" role="checkbox"></span> |
| 81 </body> | 81 </body> |
| 82 </html> | 82 </html> |
| OLD | NEW |