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

Side by Side Diff: third_party/WebKit/LayoutTests/accessibility/not-ignore-landmark-roles.html

Issue 2858493002: Rename AXObject to AXObjectImpl in modules/ and web/ (Closed)
Patch Set: Reverted unexpected change to blink rename merge helper Created 3 years, 7 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../resources/js-test.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 <div id="container" tabindex="-1"> 8 <div id="container" tabindex="-1">
9 <article><div>article element</div></article> 9 <article><div>article element</div></article>
10 <section><div>section element</div></section> 10 <section><div>section element</div></section>
(...skipping 25 matching lines...) Expand all
36 "AXNavigation" 36 "AXNavigation"
37 ]; 37 ];
38 38
39 var container = document.getElementById("container"); 39 var container = document.getElementById("container");
40 container.focus(); 40 container.focus();
41 var containerNode = accessibilityController.focusedElement; 41 var containerNode = accessibilityController.focusedElement;
42 42
43 shouldBe("containerNode.childrenCount", "" + roles.length); 43 shouldBe("containerNode.childrenCount", "" + roles.length);
44 44
45 for (var i = 0; i < roles.length; i++) { 45 for (var i = 0; i < roles.length; i++) {
46 var AXObject = containerNode.childAtIndex(i); 46 var AXObjectImpl = containerNode.childAtIndex(i);
aboxhall 2017/05/05 05:22:18 Similarly, no need to be specific re -Impl here.
47 shouldBe("AXObject.role", "'AXRole: " + roles[i] + "'"); 47 shouldBe("AXObjectImpl.role", "'AXRole: " + roles[i] + "'");
48 } 48 }
49 } 49 }
50 </script> 50 </script>
51 </body> 51 </body>
52 </html> 52 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698