Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-aria-1.1.html

Issue 2951643002: [DevTools] Prepare inspector-protocol tests to new test runner (Closed)
Patch Set: css3/fonts Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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="../resources/dom-protocol-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/resource s/inspector-protocol-test.js"></script>
5 <script type="text/javascript" src="./accessibility-dumpAccessibilityNodes.js">< /script> 5 <script type="text/javascript" src="./../resources/accessibility-dumpAccessibili tyNodes.js"></script>
6 <script> 6 <script>
7 7
8 function test() 8 function test()
9 { 9 {
10 InspectorTest.sendCommand("DOM.getDocument", {}, (msg) => { 10 InspectorTest.sendCommand("DOM.getDocument", {}, (msg) => {
11 InspectorTest.dumpAccessibilityNodesBySelectorAndCompleteTest("[data-dum p]", false, msg); 11 InspectorTest.dumpAccessibilityNodesBySelectorAndCompleteTest("[data-dum p]", false, msg);
12 }); 12 });
13 } 13 }
14 14
15 </script> 15 </script>
16 </head> 16 </head>
17 <body onLoad="runTest();"> 17 <body onLoad="runTest();">
18 <input data-dump aria-errormessage="err"> 18 <input data-dump aria-errormessage="err">
19 <h3 id="err">This text field has an error!</h3> 19 <h3 id="err">This text field has an error!</h3>
20 20
21 <img data-dump aria-details="d1 d2" aria-label="Label"> 21 <img data-dump aria-details="d1 d2" aria-label="Label">
22 <div id="d1">Details 1</div> 22 <div id="d1">Details 1</div>
23 <div id="d2">Details 2</div> 23 <div id="d2">Details 2</div>
24 24
25 <button data-dump aria-keyshortcuts="Ctrl+A">Select All</button> 25 <button data-dump aria-keyshortcuts="Ctrl+A">Select All</button>
26 26
27 <input data-dump type="checkbox" aria-roledescription="Lightswitch" checked> 27 <input data-dump type="checkbox" aria-roledescription="Lightswitch" checked>
28 28
29 </body> 29 </body>
30 </html> 30 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698