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

Side by Side Diff: LayoutTests/accessibility/image-map1.html

Issue 1086753004: Switch LayoutTests to use renamed methods for deprecated text alternatives (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Re-add linux expectation Created 5 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 src="../resources/js-test.js"></script> 3 <script src="../resources/js-test.js"></script>
4 </head> 4 </head>
5 <script> 5 <script>
6 if (window.testRunner) 6 if (window.testRunner)
7 testRunner.dumpAsText(); 7 testRunner.dumpAsText();
8 </script> 8 </script>
9 <body id="body"> 9 <body id="body">
10 10
(...skipping 11 matching lines...) Expand all
22 <div id="console"></div> 22 <div id="console"></div>
23 23
24 <script> 24 <script>
25 description("This tests that you can reach the links within an image map ."); 25 description("This tests that you can reach the links within an image map .");
26 26
27 if (window.accessibilityController) { 27 if (window.accessibilityController) {
28 document.getElementById("body").focus(); 28 document.getElementById("body").focus();
29 29
30 var body = accessibilityController.focusedElement; 30 var body = accessibilityController.focusedElement;
31 shouldBe("body.childAtIndex(3).role", "'AXRole: AXLink'"); 31 shouldBe("body.childAtIndex(3).role", "'AXRole: AXLink'");
32 shouldBe("body.childAtIndex(3).title", "'AXTitle: Link1'"); 32 shouldBe("body.childAtIndex(3).deprecatedTitle", "'AXTitle: Link1'") ;
33 33
34 shouldBe("body.childAtIndex(4).role", "'AXRole: AXLink'"); 34 shouldBe("body.childAtIndex(4).role", "'AXRole: AXLink'");
35 shouldBe("body.childAtIndex(4).title", "'AXTitle: Link2'"); 35 shouldBe("body.childAtIndex(4).deprecatedTitle", "'AXTitle: Link2'") ;
36 36
37 shouldBe("body.childAtIndex(5).role", "'AXRole: AXLink'"); 37 shouldBe("body.childAtIndex(5).role", "'AXRole: AXLink'");
38 shouldBe("body.childAtIndex(5).title", "'AXTitle: Link3'"); 38 shouldBe("body.childAtIndex(5).deprecatedTitle", "'AXTitle: Link3'") ;
39 } 39 }
40 </script> 40 </script>
41 41
42 </body> 42 </body>
43 </html> 43 </html>
OLDNEW
« no previous file with comments | « LayoutTests/accessibility/image-map-title-causes-crash.html ('k') | LayoutTests/accessibility/image-map1-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698