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

Side by Side Diff: LayoutTests/accessibility/html-html-element-is-ignored.html

Issue 40513003: Delete/move the remaining stale tests in TestExpectations. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: delete plugins/reentrant-update-widget-positions.html as well 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
(Empty)
1 <html aria-label="Test">
2 <head>
3 <script src="../fast/js/resources/js-test-pre.js"></script>
4 </head>
5 <body id="body">
6
7 <p role="button" id="description"></p>
8 <div id="console"></div>
9
10 <script>
11 if (window.accessibilityController) {
12 description("This test checks that the <html> element is not the AX tree (ever), even when it has an aria attribute. ");
13
14 var startElement = accessibilityController.accessibleElementById("de scription");
15 debug("The start element should be a button.");
16 shouldBe("startElement.role", "'AXRole: AXButton'");
17
18 debug("\nThe parent should be the web area.");
19 shouldBe("startElement.parentElement().role", "'AXRole: AXWebArea'") ;
20 } else {
21 debug("This test requires accessibilityController.")
22 }
23 </script>
24
25 <script src="../fast/js/resources/js-test-post.js"></script>
26
27 </body>
28 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698