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

Side by Side Diff: LayoutTests/accessibility/crash-determining-aria-role-when-label-present.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../fast/js/resources/js-test-pre.js"></script> 4 <script src="../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body id="body"> 6 <body id="body">
7 7
8 <label><q role=x><input id="test"> 8 <label><q role=x><input id="test">
9 9
10 <p id="description"></p> 10 <p id="description"></p>
11 <div id="console"></div> 11 <div id="console"></div>
12 12
13 <script> 13 <script>
14 14
15 description("This tests a crashing scenario where an element with a role att ribute is a child of a label that also has a corresponding control."); 15 description("This tests a crashing scenario where an element with a role att ribute is a child of a label that also has a corresponding control.");
16 16
17 if (window.accessibilityController) { 17 if (window.accessibilityController) {
18 document.getElementById("test").focus(); 18 document.getElementById("test").focus();
19 19
20 // This line should not crash. 20 // This line should not crash.
21 var input = accessibilityController.focusedElement; 21 var input = accessibilityController.focusedElement;
22 22
23 shouldBe("input.childrenCount", "0"); 23 shouldBe("input.childrenCount", "0");
24 } 24 }
25 25
26 </script> 26 </script>
27 27
28 </body> 28 </body>
29 </html> 29 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698