Enable AX TCs related to list-item and update results.
[chromium-blink-merge.git] / content / browser / accessibility / dump_accessibility_tree_browsertest.cc
blob7022c07918d42c0c0b862db97f8162fdf4d16f77
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include <set>
6 #include <string>
7 #include <vector>
9 #include "base/command_line.h"
10 #include "base/files/file_util.h"
11 #include "base/logging.h"
12 #include "base/path_service.h"
13 #include "base/strings/string16.h"
14 #include "base/strings/string_split.h"
15 #include "base/strings/string_util.h"
16 #include "base/strings/utf_string_conversions.h"
17 #include "content/browser/accessibility/accessibility_tree_formatter.h"
18 #include "content/browser/accessibility/browser_accessibility.h"
19 #include "content/browser/accessibility/browser_accessibility_manager.h"
20 #include "content/browser/renderer_host/render_view_host_impl.h"
21 #include "content/browser/renderer_host/render_widget_host_view_base.h"
22 #include "content/browser/web_contents/web_contents_impl.h"
23 #include "content/public/browser/web_contents.h"
24 #include "content/public/common/content_paths.h"
25 #include "content/public/common/content_switches.h"
26 #include "content/public/common/url_constants.h"
27 #include "content/public/test/content_browser_test.h"
28 #include "content/public/test/content_browser_test_utils.h"
29 #include "content/shell/browser/shell.h"
30 #include "content/test/accessibility_browser_test_utils.h"
31 #include "testing/gtest/include/gtest/gtest.h"
33 #if defined(OS_MACOSX)
34 #include "base/mac/mac_util.h"
35 #endif
37 // TODO(aboxhall): Create expectations on Android for these
38 #if defined(OS_ANDROID)
39 #define MAYBE(x) DISABLED_##x
40 #else
41 #define MAYBE(x) x
42 #endif
44 namespace content {
46 namespace {
48 const char kCommentToken = '#';
49 const char kMarkSkipFile[] = "#<skip";
50 const char kMarkEndOfFile[] = "<-- End-of-file -->";
51 const char kSignalDiff[] = "*";
53 } // namespace
55 typedef AccessibilityTreeFormatter::Filter Filter;
57 // This test takes a snapshot of the platform BrowserAccessibility tree and
58 // tests it against an expected baseline.
60 // The flow of the test is as outlined below.
61 // 1. Load an html file from chrome/test/data/accessibility.
62 // 2. Read the expectation.
63 // 3. Browse to the page and serialize the platform specific tree into a human
64 // readable string.
65 // 4. Perform a comparison between actual and expected and fail if they do not
66 // exactly match.
67 class DumpAccessibilityTreeTest : public ContentBrowserTest {
68 public:
69 // Utility helper that does a comment aware equality check.
70 // Returns array of lines from expected file which are different.
71 std::vector<int> DiffLines(const std::vector<std::string>& expected_lines,
72 const std::vector<std::string>& actual_lines) {
73 int actual_lines_count = actual_lines.size();
74 int expected_lines_count = expected_lines.size();
75 std::vector<int> diff_lines;
76 int i = 0, j = 0;
77 while (i < actual_lines_count && j < expected_lines_count) {
78 if (expected_lines[j].size() == 0 ||
79 expected_lines[j][0] == kCommentToken) {
80 // Skip comment lines and blank lines in expected output.
81 ++j;
82 continue;
85 if (actual_lines[i] != expected_lines[j])
86 diff_lines.push_back(j);
87 ++i;
88 ++j;
91 // Actual file has been fully checked.
92 return diff_lines;
95 void AddDefaultFilters(std::vector<Filter>* filters) {
96 filters->push_back(Filter(base::ASCIIToUTF16("FOCUSABLE"), Filter::ALLOW));
97 filters->push_back(Filter(base::ASCIIToUTF16("READONLY"), Filter::ALLOW));
98 filters->push_back(Filter(base::ASCIIToUTF16("name*"), Filter::ALLOW));
99 filters->push_back(Filter(base::ASCIIToUTF16("*=''"), Filter::DENY));
102 // Parse the test html file and parse special directives, usually
103 // beginning with an '@' and inside an HTML comment, that control how the
104 // test is run and how the results are interpreted.
106 // When the accessibility tree is dumped as text, each attribute is
107 // run through filters before being appended to the string. An "allow"
108 // filter specifies attribute strings that should be dumped, and a "deny"
109 // filter specifies strings that should be suppressed. As an example,
110 // @MAC-ALLOW:AXSubrole=* means that the AXSubrole attribute should be
111 // printed, while @MAC-ALLOW:AXSubrole=AXList* means that any subrole
112 // beginning with the text "AXList" should be printed.
114 // The @WAIT-FOR:text directive allows the test to specify that the document
115 // may dynamically change after initial load, and the test is to wait
116 // until the given string (e.g., "text") appears in the resulting dump.
117 // A test can make some changes to the document, then append a magic string
118 // indicating that the test is done, and this framework will wait for that
119 // string to appear before comparing the results.
120 void ParseHtmlForExtraDirectives(const std::string& test_html,
121 std::vector<Filter>* filters,
122 std::string* wait_for) {
123 std::vector<std::string> lines;
124 base::SplitString(test_html, '\n', &lines);
125 for (std::vector<std::string>::const_iterator iter = lines.begin();
126 iter != lines.end();
127 ++iter) {
128 const std::string& line = *iter;
129 const std::string& allow_empty_str =
130 AccessibilityTreeFormatter::GetAllowEmptyString();
131 const std::string& allow_str =
132 AccessibilityTreeFormatter::GetAllowString();
133 const std::string& deny_str =
134 AccessibilityTreeFormatter::GetDenyString();
135 const std::string& wait_str = "@WAIT-FOR:";
136 if (StartsWithASCII(line, allow_empty_str, true)) {
137 filters->push_back(
138 Filter(base::UTF8ToUTF16(line.substr(allow_empty_str.size())),
139 Filter::ALLOW_EMPTY));
140 } else if (StartsWithASCII(line, allow_str, true)) {
141 filters->push_back(Filter(base::UTF8ToUTF16(
142 line.substr(allow_str.size())),
143 Filter::ALLOW));
144 } else if (StartsWithASCII(line, deny_str, true)) {
145 filters->push_back(Filter(base::UTF8ToUTF16(
146 line.substr(deny_str.size())),
147 Filter::DENY));
148 } else if (StartsWithASCII(line, wait_str, true)) {
149 *wait_for = line.substr(wait_str.size());
154 void SetUpCommandLine(base::CommandLine* command_line) override {
155 ContentBrowserTest::SetUpCommandLine(command_line);
156 // Enable <dialog>, which is used in some tests.
157 base::CommandLine::ForCurrentProcess()->AppendSwitch(
158 switches::kEnableExperimentalWebPlatformFeatures);
161 void RunTest(const base::FilePath::CharType* file_path);
164 void DumpAccessibilityTreeTest::RunTest(
165 const base::FilePath::CharType* file_path) {
166 NavigateToURL(shell(), GURL(url::kAboutBlankURL));
168 // Setup test paths.
169 base::FilePath dir_test_data;
170 ASSERT_TRUE(PathService::Get(DIR_TEST_DATA, &dir_test_data));
171 base::FilePath test_path(
172 dir_test_data.Append(FILE_PATH_LITERAL("accessibility")));
173 ASSERT_TRUE(base::PathExists(test_path))
174 << test_path.LossyDisplayName();
176 base::FilePath html_file = test_path.Append(base::FilePath(file_path));
177 // Output the test path to help anyone who encounters a failure and needs
178 // to know where to look.
179 printf("Testing: %s\n", html_file.MaybeAsASCII().c_str());
181 std::string html_contents;
182 base::ReadFileToString(html_file, &html_contents);
184 // Read the expected file.
185 std::string expected_contents_raw;
186 base::FilePath expected_file =
187 base::FilePath(html_file.RemoveExtension().value() +
188 AccessibilityTreeFormatter::GetExpectedFileSuffix());
189 base::ReadFileToString(expected_file, &expected_contents_raw);
191 // Tolerate Windows-style line endings (\r\n) in the expected file:
192 // normalize by deleting all \r from the file (if any) to leave only \n.
193 std::string expected_contents;
194 base::RemoveChars(expected_contents_raw, "\r", &expected_contents);
196 if (!expected_contents.compare(0, strlen(kMarkSkipFile), kMarkSkipFile)) {
197 printf("Skipping this test on this platform.\n");
198 return;
201 // Parse filters and other directives in the test file.
202 std::vector<Filter> filters;
203 std::string wait_for;
204 AddDefaultFilters(&filters);
205 ParseHtmlForExtraDirectives(html_contents, &filters, &wait_for);
207 // Load the page.
208 base::string16 html_contents16;
209 html_contents16 = base::UTF8ToUTF16(html_contents);
210 GURL url = GetTestUrl("accessibility",
211 html_file.BaseName().MaybeAsASCII().c_str());
213 // If there's a @WAIT-FOR directive, set up an accessibility notification
214 // waiter that returns on any event; we'll stop when we get the text we're
215 // waiting for, or time out. Otherwise just wait specifically for
216 // the "load complete" event.
217 scoped_ptr<AccessibilityNotificationWaiter> waiter;
218 if (!wait_for.empty()) {
219 waiter.reset(new AccessibilityNotificationWaiter(
220 shell(), AccessibilityModeComplete, ui::AX_EVENT_NONE));
221 } else {
222 waiter.reset(new AccessibilityNotificationWaiter(
223 shell(), AccessibilityModeComplete, ui::AX_EVENT_LOAD_COMPLETE));
226 // Load the test html.
227 NavigateToURL(shell(), url);
229 // Wait for notifications. If there's a @WAIT-FOR directive, break when
230 // the text we're waiting for appears in the dump, otherwise break after
231 // the first notification, which will be a load complete.
232 WebContentsImpl* web_contents = static_cast<WebContentsImpl*>(
233 shell()->web_contents());
234 std::string actual_contents;
235 do {
236 waiter->WaitForNotification();
237 base::string16 actual_contents_utf16;
238 AccessibilityTreeFormatter formatter(
239 web_contents->GetRootBrowserAccessibilityManager()->GetRoot());
240 formatter.SetFilters(filters);
241 formatter.FormatAccessibilityTree(&actual_contents_utf16);
242 actual_contents = base::UTF16ToUTF8(actual_contents_utf16);
243 } while (!wait_for.empty() &&
244 actual_contents.find(wait_for) == std::string::npos);
246 // Perform a diff (or write the initial baseline).
247 std::vector<std::string> actual_lines, expected_lines;
248 Tokenize(actual_contents, "\n", &actual_lines);
249 Tokenize(expected_contents, "\n", &expected_lines);
250 // Marking the end of the file with a line of text ensures that
251 // file length differences are found.
252 expected_lines.push_back(kMarkEndOfFile);
253 actual_lines.push_back(kMarkEndOfFile);
255 std::vector<int> diff_lines = DiffLines(expected_lines, actual_lines);
256 bool is_different = diff_lines.size() > 0;
257 EXPECT_FALSE(is_different);
258 if (is_different) {
259 // Mark the expected lines which did not match actual output with a *.
260 printf("* Line Expected\n");
261 printf("- ---- --------\n");
262 for (int line = 0, diff_index = 0;
263 line < static_cast<int>(expected_lines.size());
264 ++line) {
265 bool is_diff = false;
266 if (diff_index < static_cast<int>(diff_lines.size()) &&
267 diff_lines[diff_index] == line) {
268 is_diff = true;
269 ++diff_index;
271 printf("%1s %4d %s\n", is_diff? kSignalDiff : "", line + 1,
272 expected_lines[line].c_str());
274 printf("\nActual\n");
275 printf("------\n");
276 printf("%s\n", actual_contents.c_str());
279 if (!base::PathExists(expected_file)) {
280 base::FilePath actual_file =
281 base::FilePath(html_file.RemoveExtension().value() +
282 AccessibilityTreeFormatter::GetActualFileSuffix());
284 EXPECT_TRUE(base::WriteFile(
285 actual_file, actual_contents.c_str(), actual_contents.size()));
287 ADD_FAILURE() << "No expectation found. Create it by doing:\n"
288 << "mv " << actual_file.LossyDisplayName() << " "
289 << expected_file.LossyDisplayName();
293 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityA) {
294 RunTest(FILE_PATH_LITERAL("a.html"));
297 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAbbr) {
298 RunTest(FILE_PATH_LITERAL("abbr.html"));
301 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAddress) {
302 RunTest(FILE_PATH_LITERAL("address.html"));
305 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityArea) {
306 RunTest(FILE_PATH_LITERAL("area.html"));
309 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAName) {
310 RunTest(FILE_PATH_LITERAL("a-name.html"));
313 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityANameCalc) {
314 RunTest(FILE_PATH_LITERAL("a-name-calc.html"));
317 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityANoText) {
318 RunTest(FILE_PATH_LITERAL("a-no-text.html"));
321 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAOnclick) {
322 RunTest(FILE_PATH_LITERAL("a-onclick.html"));
325 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
326 AccessibilityAriaActivedescendant) {
327 RunTest(FILE_PATH_LITERAL("aria-activedescendant.html"));
330 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaAlert) {
331 RunTest(FILE_PATH_LITERAL("aria-alert.html"));
334 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
335 AccessibilityAriaApplication) {
336 RunTest(FILE_PATH_LITERAL("aria-application.html"));
339 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaArticle) {
340 RunTest(FILE_PATH_LITERAL("aria-article.html"));
343 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaAtomic) {
344 RunTest(FILE_PATH_LITERAL("aria-atomic.html"));
347 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
348 AccessibilityAriaAutocomplete) {
349 RunTest(FILE_PATH_LITERAL("aria-autocomplete.html"));
352 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaBanner) {
353 RunTest(FILE_PATH_LITERAL("aria-banner.html"));
356 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaBusy) {
357 RunTest(FILE_PATH_LITERAL("aria-busy.html"));
360 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaButton) {
361 RunTest(FILE_PATH_LITERAL("aria-button.html"));
364 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaCheckBox) {
365 RunTest(FILE_PATH_LITERAL("aria-checkbox.html"));
368 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaChecked) {
369 RunTest(FILE_PATH_LITERAL("aria-checked.html"));
372 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
373 AccessibilityAriaColumnHeader) {
374 RunTest(FILE_PATH_LITERAL("aria-columnheader.html"));
377 // crbug.com/98976 will cause new elements to be added to the Blink a11y tree
378 // Re-baseline after the Blink change goes in
379 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
380 DISABLED_AccessibilityAriaCombobox) {
381 RunTest(FILE_PATH_LITERAL("aria-combobox.html"));
384 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
385 AccessibilityAriaComplementary) {
386 RunTest(FILE_PATH_LITERAL("aria-complementary.html"));
389 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
390 AccessibilityAriaContentInfo) {
391 RunTest(FILE_PATH_LITERAL("aria-contentinfo.html"));
394 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaDefinition) {
395 RunTest(FILE_PATH_LITERAL("aria-definition.html"));
398 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaDialog) {
399 RunTest(FILE_PATH_LITERAL("aria-dialog.html"));
402 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaExpanded) {
403 RunTest(FILE_PATH_LITERAL("aria-expanded.html"));
406 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaHasPopup) {
407 RunTest(FILE_PATH_LITERAL("aria-haspopup.html"));
410 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaHeading) {
411 RunTest(FILE_PATH_LITERAL("aria-heading.html"));
414 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaHidden) {
415 RunTest(FILE_PATH_LITERAL("aria-hidden.html"));
418 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
419 MAYBE(AccessibilityAriaFlowto)) {
420 RunTest(FILE_PATH_LITERAL("aria-flowto.html"));
423 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaForm) {
424 RunTest(FILE_PATH_LITERAL("aria-form.html"));
427 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaImg) {
428 RunTest(FILE_PATH_LITERAL("aria-img.html"));
431 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaInvalid) {
432 RunTest(FILE_PATH_LITERAL("aria-invalid.html"));
435 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
436 AccessibilityAriaLabelledByHeading) {
437 RunTest(FILE_PATH_LITERAL("aria-labelledby-heading.html"));
440 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaLevel) {
441 RunTest(FILE_PATH_LITERAL("aria-level.html"));
444 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaList) {
445 RunTest(FILE_PATH_LITERAL("aria-list.html"));
448 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaListBox) {
449 RunTest(FILE_PATH_LITERAL("aria-listbox.html"));
452 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
453 AccessibilityAriaListBoxActiveDescendant) {
454 RunTest(FILE_PATH_LITERAL("aria-listbox-activedescendant.html"));
457 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
458 AccessibilityAriaListBoxAriaSelected) {
459 RunTest(FILE_PATH_LITERAL("aria-listbox-aria-selected.html"));
462 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
463 AccessibilityAriaListBoxChildFocus) {
464 RunTest(FILE_PATH_LITERAL("aria-listbox-childfocus.html"));
467 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaLive) {
468 RunTest(FILE_PATH_LITERAL("aria-live.html"));
471 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaLog) {
472 RunTest(FILE_PATH_LITERAL("aria-log.html"));
475 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaMarquee) {
476 RunTest(FILE_PATH_LITERAL("aria-marquee.html"));
479 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaMenu) {
480 RunTest(FILE_PATH_LITERAL("aria-menu.html"));
483 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaMenuBar) {
484 RunTest(FILE_PATH_LITERAL("aria-menubar.html"));
487 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
488 AccessibilityAriaMenuItemCheckBox) {
489 RunTest(FILE_PATH_LITERAL("aria-menuitemcheckbox.html"));
492 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
493 AccessibilityAriaMenuItemRadio) {
494 RunTest(FILE_PATH_LITERAL("aria-menuitemradio.html"));
497 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaNavigation) {
498 RunTest(FILE_PATH_LITERAL("aria-navigation.html"));
501 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
502 AccessibilityAriaOrientation) {
503 RunTest(FILE_PATH_LITERAL("aria-orientation.html"));
506 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaMath) {
507 RunTest(FILE_PATH_LITERAL("aria-math.html"));
510 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaNone) {
511 RunTest(FILE_PATH_LITERAL("aria-none.html"));
514 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
515 AccessibilityAriaPresentation) {
516 RunTest(FILE_PATH_LITERAL("aria-presentation.html"));
519 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaPressed) {
520 RunTest(FILE_PATH_LITERAL("aria-pressed.html"));
523 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
524 AccessibilityAriaProgressbar) {
525 RunTest(FILE_PATH_LITERAL("aria-progressbar.html"));
528 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
529 AccessibilityAriaRadiogroup) {
530 RunTest(FILE_PATH_LITERAL("aria-radiogroup.html"));
533 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaRelevant) {
534 RunTest(FILE_PATH_LITERAL("aria-relevant.html"));
537 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaRequired) {
538 RunTest(FILE_PATH_LITERAL("aria-required.html"));
541 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaRow) {
542 RunTest(FILE_PATH_LITERAL("aria-row.html"));
545 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaRowGroup) {
546 RunTest(FILE_PATH_LITERAL("aria-rowgroup.html"));
549 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaReadonly) {
550 RunTest(FILE_PATH_LITERAL("aria-readonly.html"));
553 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaRegion) {
554 RunTest(FILE_PATH_LITERAL("aria-region.html"));
557 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaSearch) {
558 RunTest(FILE_PATH_LITERAL("aria-search.html"));
561 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaSeparator) {
562 RunTest(FILE_PATH_LITERAL("aria-separator.html"));
565 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaSort) {
566 RunTest(FILE_PATH_LITERAL("aria-sort.html"));
569 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
570 AccessibilityAriaSpinButton) {
571 RunTest(FILE_PATH_LITERAL("aria-spinbutton.html"));
574 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaTextbox) {
575 RunTest(FILE_PATH_LITERAL("aria-textbox.html"));
578 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaTimer) {
579 RunTest(FILE_PATH_LITERAL("aria-timer.html"));
582 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
583 AccessibilityAriaToggleButton) {
584 RunTest(FILE_PATH_LITERAL("aria-togglebutton.html"));
587 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaToolbar) {
588 RunTest(FILE_PATH_LITERAL("aria-toolbar.html"));
591 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaTree) {
592 RunTest(FILE_PATH_LITERAL("aria-tree.html"));
595 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaValueMin) {
596 RunTest(FILE_PATH_LITERAL("aria-valuemin.html"));
599 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaValueMax) {
600 RunTest(FILE_PATH_LITERAL("aria-valuemax.html"));
603 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaValueNow) {
604 RunTest(FILE_PATH_LITERAL("aria-valuenow.html"));
607 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityArticle) {
608 RunTest(FILE_PATH_LITERAL("article.html"));
611 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAside) {
612 RunTest(FILE_PATH_LITERAL("aside.html"));
615 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAudio) {
616 RunTest(FILE_PATH_LITERAL("audio.html"));
619 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAWithImg) {
620 RunTest(FILE_PATH_LITERAL("a-with-img.html"));
623 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityBdo) {
624 RunTest(FILE_PATH_LITERAL("bdo.html"));
627 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityBlockquote) {
628 RunTest(FILE_PATH_LITERAL("blockquote.html"));
631 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityBody) {
632 RunTest(FILE_PATH_LITERAL("body.html"));
635 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityBR) {
636 RunTest(FILE_PATH_LITERAL("br.html"));
639 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityButton) {
640 RunTest(FILE_PATH_LITERAL("button.html"));
643 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityButtonNameCalc) {
644 RunTest(FILE_PATH_LITERAL("button-name-calc.html"));
647 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityCanvas) {
648 RunTest(FILE_PATH_LITERAL("canvas.html"));
651 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityCaption) {
652 RunTest(FILE_PATH_LITERAL("caption.html"));
655 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
656 AccessibilityCheckboxNameCalc) {
657 RunTest(FILE_PATH_LITERAL("checkbox-name-calc.html"));
660 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityCite) {
661 RunTest(FILE_PATH_LITERAL("cite.html"));
664 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityCol) {
665 RunTest(FILE_PATH_LITERAL("col.html"));
668 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityColgroup) {
669 RunTest(FILE_PATH_LITERAL("colgroup.html"));
672 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityDel) {
673 RunTest(FILE_PATH_LITERAL("del.html"));
676 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityDetails) {
677 RunTest(FILE_PATH_LITERAL("details.html"));
680 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityDfn) {
681 RunTest(FILE_PATH_LITERAL("dfn.html"));
684 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityDialog) {
685 RunTest(FILE_PATH_LITERAL("dialog.html"));
688 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityDiv) {
689 RunTest(FILE_PATH_LITERAL("div.html"));
692 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityDl) {
693 RunTest(FILE_PATH_LITERAL("dl.html"));
696 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityDt) {
697 RunTest(FILE_PATH_LITERAL("dt.html"));
700 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
701 AccessibilityContenteditableDescendants) {
702 RunTest(FILE_PATH_LITERAL("contenteditable-descendants.html"));
705 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityEm) {
706 RunTest(FILE_PATH_LITERAL("em.html"));
709 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityFieldset) {
710 RunTest(FILE_PATH_LITERAL("fieldset.html"));
713 //Disabled because of https://codereview.chromium.org/713873002 temporarily.
714 //After blink code is merged, it will be enabled.
715 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
716 DISABLED_AccessibilityFigcaption) {
717 RunTest(FILE_PATH_LITERAL("figcaption.html"));
720 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityFigure) {
721 RunTest(FILE_PATH_LITERAL("figure.html"));
724 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityFooter) {
725 RunTest(FILE_PATH_LITERAL("footer.html"));
728 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityForm) {
729 RunTest(FILE_PATH_LITERAL("form.html"));
732 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityFrameset) {
733 RunTest(FILE_PATH_LITERAL("frameset.html"));
736 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityHead) {
737 RunTest(FILE_PATH_LITERAL("head.html"));
740 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityHeader) {
741 RunTest(FILE_PATH_LITERAL("header.html"));
744 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityHeading) {
745 RunTest(FILE_PATH_LITERAL("heading.html"));
748 // Disabling temporarily. Will Enable once blink returns correct
749 // role for hr tag.
750 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
751 DISABLED_AccessibilityHR) {
752 RunTest(FILE_PATH_LITERAL("hr.html"));
755 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityI) {
756 RunTest(FILE_PATH_LITERAL("i.html"));
759 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityIframe) {
760 RunTest(FILE_PATH_LITERAL("iframe.html"));
763 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
764 AccessibilityIframeCoordinates) {
765 RunTest(FILE_PATH_LITERAL("iframe-coordinates.html"));
768 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityImg) {
769 RunTest(FILE_PATH_LITERAL("img.html"));
772 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputButton) {
773 RunTest(FILE_PATH_LITERAL("input-button.html"));
776 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
777 AccessibilityInputButtonInMenu) {
778 RunTest(FILE_PATH_LITERAL("input-button-in-menu.html"));
781 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputCheckBox) {
782 RunTest(FILE_PATH_LITERAL("input-checkbox.html"));
785 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
786 AccessibilityInputCheckBoxInMenu) {
787 RunTest(FILE_PATH_LITERAL("input-checkbox-in-menu.html"));
790 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputColor) {
791 RunTest(FILE_PATH_LITERAL("input-color.html"));
794 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputDate) {
795 RunTest(FILE_PATH_LITERAL("input-date.html"));
798 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputDateTime) {
799 RunTest(FILE_PATH_LITERAL("input-datetime.html"));
802 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
803 AccessibilityInputDateTimeLocal) {
804 #if defined(OS_MACOSX)
805 // Fails on OS X 10.9 <https://crbug.com/430622>.
806 if (base::mac::IsOSMavericks())
807 return;
808 #endif
809 RunTest(FILE_PATH_LITERAL("input-datetime-local.html"));
812 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
813 AccessibilityInputImageButtonInMenu) {
814 RunTest(FILE_PATH_LITERAL("input-image-button-in-menu.html"));
817 // crbug.com/423675 - AX tree is different for Win7 and Win8.
818 #if defined(OS_WIN)
819 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
820 DISABLED_AccessibilityInputMonth) {
821 RunTest(FILE_PATH_LITERAL("input-month.html"));
823 #else
824 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputMonth) {
825 RunTest(FILE_PATH_LITERAL("input-month.html"));
827 #endif
829 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputRadio) {
830 RunTest(FILE_PATH_LITERAL("input-radio.html"));
833 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputRange) {
834 RunTest(FILE_PATH_LITERAL("input-range.html"));
837 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputReset) {
838 RunTest(FILE_PATH_LITERAL("input-reset.html"));
841 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputSearch) {
842 RunTest(FILE_PATH_LITERAL("input-search.html"));
845 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputSubmit) {
846 RunTest(FILE_PATH_LITERAL("input-submit.html"));
849 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputTel) {
850 RunTest(FILE_PATH_LITERAL("input-tel.html"));
853 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputText) {
854 RunTest(FILE_PATH_LITERAL("input-text.html"));
857 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
858 AccessibilityInputTextNameCalc) {
859 RunTest(FILE_PATH_LITERAL("input-text-name-calc.html"));
862 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputTextValue) {
863 RunTest(FILE_PATH_LITERAL("input-text-value.html"));
866 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputTime) {
867 RunTest(FILE_PATH_LITERAL("input-time.html"));
870 // crbug.com/98976 will cause new elements to be added to the Blink a11y tree
871 // Re-baseline after the Blink change goes in
872 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
873 AccessibilityInputTypes) {
874 RunTest(FILE_PATH_LITERAL("input-types.html"));
877 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputUrl) {
878 RunTest(FILE_PATH_LITERAL("input-url.html"));
881 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputWeek) {
882 RunTest(FILE_PATH_LITERAL("input-week.html"));
885 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityIns) {
886 RunTest(FILE_PATH_LITERAL("ins.html"));
889 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityLabel) {
890 RunTest(FILE_PATH_LITERAL("label.html"));
893 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityLandmark) {
894 RunTest(FILE_PATH_LITERAL("landmark.html"));
897 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityLegend) {
898 RunTest(FILE_PATH_LITERAL("legend.html"));
901 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityLink) {
902 RunTest(FILE_PATH_LITERAL("link.html"));
905 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityList) {
906 RunTest(FILE_PATH_LITERAL("list.html"));
909 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityListMarkers) {
910 RunTest(FILE_PATH_LITERAL("list-markers.html"));
913 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityMain) {
914 RunTest(FILE_PATH_LITERAL("main.html"));
917 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityMark) {
918 RunTest(FILE_PATH_LITERAL("mark.html"));
921 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityMath) {
922 RunTest(FILE_PATH_LITERAL("math.html"));
925 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
926 AccessibilityMenutypecontext) {
927 RunTest(FILE_PATH_LITERAL("menu-type-context.html"));
930 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityMeta) {
931 RunTest(FILE_PATH_LITERAL("meta.html"));
934 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityMeter) {
935 RunTest(FILE_PATH_LITERAL("meter.html"));
938 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
939 AccessibilityModalDialogClosed) {
940 RunTest(FILE_PATH_LITERAL("modal-dialog-closed.html"));
943 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
944 AccessibilityModalDialogOpened) {
945 RunTest(FILE_PATH_LITERAL("modal-dialog-opened.html"));
948 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
949 AccessibilityModalDialogInIframeClosed) {
950 RunTest(FILE_PATH_LITERAL("modal-dialog-in-iframe-closed.html"));
953 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
954 AccessibilityModalDialogInIframeOpened) {
955 RunTest(FILE_PATH_LITERAL("modal-dialog-in-iframe-opened.html"));
958 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
959 AccessibilityModalDialogStack) {
960 RunTest(FILE_PATH_LITERAL("modal-dialog-stack.html"));
963 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityNavigation) {
964 RunTest(FILE_PATH_LITERAL("navigation.html"));
967 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityNoscript) {
968 RunTest(FILE_PATH_LITERAL("noscript.html"));
971 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityOl) {
972 RunTest(FILE_PATH_LITERAL("ol.html"));
975 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityObject) {
976 RunTest(FILE_PATH_LITERAL("object.html"));
979 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
980 AccessibilityOptionindatalist) {
981 RunTest(FILE_PATH_LITERAL("option-in-datalist.html"));
984 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityOutput) {
985 RunTest(FILE_PATH_LITERAL("output.html"));
988 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityP) {
989 RunTest(FILE_PATH_LITERAL("p.html"));
992 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityParam) {
993 RunTest(FILE_PATH_LITERAL("param.html"));
996 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityPre) {
997 RunTest(FILE_PATH_LITERAL("pre.html"));
1000 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityProgress) {
1001 RunTest(FILE_PATH_LITERAL("progress.html"));
1004 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityQ) {
1005 RunTest(FILE_PATH_LITERAL("q.html"));
1008 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityRuby) {
1009 RunTest(FILE_PATH_LITERAL("ruby.html"));
1012 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityS) {
1013 RunTest(FILE_PATH_LITERAL("s.html"));
1016 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilitySamp) {
1017 RunTest(FILE_PATH_LITERAL("samp.html"));
1020 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilitySection) {
1021 RunTest(FILE_PATH_LITERAL("section.html"));
1024 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilitySelect) {
1025 RunTest(FILE_PATH_LITERAL("select.html"));
1028 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilitySource) {
1029 RunTest(FILE_PATH_LITERAL("source.html"));
1032 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilitySpan) {
1033 RunTest(FILE_PATH_LITERAL("span.html"));
1036 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilitySub) {
1037 RunTest(FILE_PATH_LITERAL("sub.html"));
1040 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilitySummary) {
1041 RunTest(FILE_PATH_LITERAL("summary.html"));
1044 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilitySvg) {
1045 RunTest(FILE_PATH_LITERAL("svg.html"));
1048 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityTab) {
1049 RunTest(FILE_PATH_LITERAL("tab.html"));
1052 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityTableSimple) {
1053 RunTest(FILE_PATH_LITERAL("table-simple.html"));
1056 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
1057 AccessibilityTableThRowHeader) {
1058 RunTest(FILE_PATH_LITERAL("table-th-rowheader.html"));
1061 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
1062 AccessibilityTableTbodyTfoot) {
1063 RunTest(FILE_PATH_LITERAL("table-thead-tbody-tfoot.html"));
1066 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityTableSpans) {
1067 RunTest(FILE_PATH_LITERAL("table-spans.html"));
1070 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityTextArea) {
1071 RunTest(FILE_PATH_LITERAL("textarea.html"));
1074 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityTime) {
1075 RunTest(FILE_PATH_LITERAL("time.html"));
1078 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityTitle) {
1079 RunTest(FILE_PATH_LITERAL("title.html"));
1082 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityTransition) {
1083 RunTest(FILE_PATH_LITERAL("transition.html"));
1086 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityUl) {
1087 RunTest(FILE_PATH_LITERAL("ul.html"));
1090 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityVar) {
1091 RunTest(FILE_PATH_LITERAL("var.html"));
1094 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) {
1095 RunTest(FILE_PATH_LITERAL("wbr.html"));
1098 } // namespace content