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

Side by Side Diff: LayoutTests/accessibility/table-with-empty-thead-causes-crash.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> 4 <script>
5 5
6 function buildAccessibilityTree(accessibilityObject) { 6 function buildAccessibilityTree(accessibilityObject) {
7 accessibilityObject.isEnabled 7 accessibilityObject.isEnabled
8 8
9 var count = accessibilityObject.childrenCount; 9 var count = accessibilityObject.childrenCount;
10 for (var i = 0; i < count; ++i) 10 for (var i = 0; i < count; ++i)
11 buildAccessibilityTree(accessibilityObject.childAtIndex(i)); 11 buildAccessibilityTree(accessibilityObject.childAtIndex(i));
12 } 12 }
13 </script> 13 </script>
14 <script src="../fast/js/resources/js-test-pre.js"></script> 14 <script src="../resources/js-test.js"></script>
15 </head> 15 </head>
16 <body> 16 <body>
17 17
18 <table summary="table"> 18 <table summary="table">
19 <thead> 19 <thead>
20 </thead> 20 </thead>
21 <tr><td>1</td><td>2</td></tr> 21 <tr><td>1</td><td>2</td></tr>
22 </table> 22 </table>
23 23
24 <p id="description"></p> 24 <p id="description"></p>
25 <div id="console"></div> 25 <div id="console"></div>
26 26
27 <script> 27 <script>
28 description("Construct accessibility objects for a table with an empty threa d tag. This can cause a crash."); 28 description("Construct accessibility objects for a table with an empty threa d tag. This can cause a crash.");
29 29
30 if (window.accessibilityController) { 30 if (window.accessibilityController) {
31 document.body.focus(); 31 document.body.focus();
32 buildAccessibilityTree(accessibilityController.focusedElement); 32 buildAccessibilityTree(accessibilityController.focusedElement);
33 } 33 }
34 34
35 </script> 35 </script>
36 36
37 </body> 37 </body>
38 </html> 38 </html>
OLDNEW
« no previous file with comments | « LayoutTests/accessibility/table-remove-cell-crash.html ('k') | LayoutTests/accessibility/text-change-notification.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698