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

Side by Side Diff: third_party/WebKit/LayoutTests/accessibility/image-map-title-causes-crash.html

Issue 1417213006: Switch all LayoutTests to use new AX name calculation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix canvas-fallback-content-labels-expected.txt Created 5 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
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 removeAreaElement() { 6 function removeAreaElement() {
7 document.getElementById("test").innerHTML=1 7 document.getElementById("test").innerHTML=1
8 } 8 }
9 9
10 function queryTitleOnDecendants(accessibilityObject) { 10 function queryTitleOnDecendants(accessibilityObject) {
11 accessibilityObject.deprecatedTitle 11 accessibilityObject.name
12 12
13 var count = accessibilityObject.childrenCount; 13 var count = accessibilityObject.childrenCount;
14 for (var i = 0; i < count; ++i) 14 for (var i = 0; i < count; ++i)
15 queryTitleOnDecendants(accessibilityObject.childAtIndex(i)); 15 queryTitleOnDecendants(accessibilityObject.childAtIndex(i));
16 } 16 }
17 </script> 17 </script>
18 <script src="../resources/js-test.js"></script> 18 <script src="../resources/js-test.js"></script>
19 </head> 19 </head>
20 <body> 20 <body>
21 21
(...skipping 15 matching lines...) Expand all
37 37
38 // Now call request the title for each accessibility object. 38 // Now call request the title for each accessibility object.
39 document.body.focus(); 39 document.body.focus();
40 queryTitleOnDecendants(accessibilityController.focusedElement); 40 queryTitleOnDecendants(accessibilityController.focusedElement);
41 } 41 }
42 42
43 </script> 43 </script>
44 44
45 </body> 45 </body>
46 </html> 46 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698