| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script type="text/javascript" src="../../http/tests/inspector-protocol/dom-prot
ocol-test.js"></script> | 3 <script type="text/javascript" src="../../http/tests/inspector-protocol/dom-prot
ocol-test.js"></script> |
| 4 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto
r-protocol-test.js"></script> | 4 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto
r-protocol-test.js"></script> |
| 5 <script type="text/javascript" src="./accessibility-dumpAccessibilityNodes.js"><
/script> | 5 <script type="text/javascript" src="./accessibility-dumpAccessibilityNodes.js"><
/script> |
| 6 <script> | 6 <script> |
| 7 | 7 |
| 8 function test() | 8 function test() |
| 9 { | 9 { |
| 10 InspectorTest.sendCommand("DOM.getDocument", {}, InspectorTest.dumpAccessibi
lityNodesBySelectorAndCompleteTest.bind(null, "[data-dump]")); | 10 InspectorTest.sendCommand("DOM.getDocument", {}, (msg) => { |
| 11 InspectorTest.dumpAccessibilityNodesBySelectorAndCompleteTest("[data-dum
p]", false, msg); |
| 12 }); |
| 11 } | 13 } |
| 12 | 14 |
| 13 </script> | 15 </script> |
| 14 </head> | 16 </head> |
| 15 <body onLoad="runTest();"> | 17 <body onLoad="runTest();"> |
| 16 <h3 id="rg1_label">Lunch Options</h3> | 18 <h3 id="rg1_label">Lunch Options</h3> |
| 17 <ul id="rg1" class="radiogroup" role="radiogroup" aria-labelledby="rg1_label"
aria-activedescendant="rg1-r4" tabindex="0" data-dump> | 19 <ul id="rg1" class="radiogroup" role="radiogroup" aria-labelledby="rg1_label"
aria-activedescendant="rg1-r4" tabindex="0" data-dump> |
| 18 <li id="rg1-r1" tabindex="-1" role="radio" aria-checked="false"> | 20 <li id="rg1-r1" tabindex="-1" role="radio" aria-checked="false"> |
| 19 Thai | 21 Thai |
| 20 </li> | 22 </li> |
| (...skipping 25 matching lines...) Expand all Loading... |
| 46 </li> | 48 </li> |
| 47 <li id="rg2-r4" tabindex="-1" role="radio" aria-checked="false"> | 49 <li id="rg2-r4" tabindex="-1" role="radio" aria-checked="false"> |
| 48 Cola | 50 Cola |
| 49 </li> | 51 </li> |
| 50 <li id="rg2-r5" tabindex="-1" role="radio" aria-checked="false"> | 52 <li id="rg2-r5" tabindex="-1" role="radio" aria-checked="false"> |
| 51 Ginger Ale | 53 Ginger Ale |
| 52 </li> | 54 </li> |
| 53 </ul> | 55 </ul> |
| 54 </body> | 56 </body> |
| 55 </html> | 57 </html> |
| OLD | NEW |