Chromium Code Reviews| 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 window.debugTest = true; | |
|
lushnikov
2016/08/26 23:00:16
this is a leftover
aboxhall
2016/08/26 23:18:36
This whole test is a leftover D: removed
| |
| 9 | |
| 8 function test() | 10 function test() |
| 9 { | 11 { |
| 10 WebInspector.viewManager.showView("accessibility.view") | 12 WebInspector.viewManager.showView("accessibility.view") |
| 11 .then(() => InspectorTest.selectNodeAndWaitForAccessibility("inspected") ) | 13 .then(() => InspectorTest.selectNodeAndWaitForAccessibility("inspected") ) |
| 12 .then(editAriaChecked); | 14 .then(editAriaChecked); |
| 13 | 15 |
| 14 function editAriaChecked() | 16 function editAriaChecked() |
| 15 { | 17 { |
| 16 InspectorTest.addResult("=== Before attribute modification ==="); | 18 InspectorTest.addResult("=== Before attribute modification ==="); |
| 17 InspectorTest.dumpSelectedElementAccessibilityNode(); | 19 InspectorTest.dumpSelectedElementAccessibilityNode(); |
| (...skipping 28 matching lines...) Expand all Loading... | |
| 46 | 48 |
| 47 <body onload="runTest()"> | 49 <body onload="runTest()"> |
| 48 <p> | 50 <p> |
| 49 Tests that writing an ARIA attribute causes the accessibility node to be updated . | 51 Tests that writing an ARIA attribute causes the accessibility node to be updated . |
| 50 </p> | 52 </p> |
| 51 | 53 |
| 52 <button id="inspected" role="checkbox" aria-checked="true">ARIA checkbox</button > | 54 <button id="inspected" role="checkbox" aria-checked="true">ARIA checkbox</button > |
| 53 | 55 |
| 54 </body> | 56 </body> |
| 55 </html> | 57 </html> |
| OLD | NEW |