|
Allow filters in accessibility tests to specify which attributes to check.
With this change, a DumpAccessibilityTree test can specify filters to
control which attributes are printed. This keeps each test expectation file
small and readable, while making it easy to test for all sorts of attributes,
including obscure ones.
Each platform will have a few attributes that print by default, like the
role and name. HTML files add rules of this form to override the defaults:
@MAC-DENY:subrole*
@MAC-DENY:value*
@MAC-ALLOW:description*
You can also specify @MAC-ALLOW:* or @WIN-ALLOW:* if you want to dump everything - helpful
during development sometimes.
BUG= 124314
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149510
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+448 lines, -234 lines) |
Patch |
 |
M |
content/browser/accessibility/browser_accessibility_win.h
|
View
|
1
|
1 chunk |
+8 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/accessibility/dump_accessibility_tree_browsertest.cc
|
View
|
1
2
3
4
5
6
|
5 chunks |
+161 lines, -101 lines |
0 comments
|
Download
|
 |
M |
content/browser/accessibility/dump_accessibility_tree_helper.h
|
View
|
1
2
|
4 chunks |
+35 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/accessibility/dump_accessibility_tree_helper.cc
|
View
|
1
2
|
2 chunks |
+47 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/accessibility/dump_accessibility_tree_helper_mac.mm
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+33 lines, -16 lines |
0 comments
|
Download
|
 |
M |
content/browser/accessibility/dump_accessibility_tree_helper_win.cc
|
View
|
1
2
3
|
2 chunks |
+49 lines, -18 lines |
0 comments
|
Download
|
 |
M |
content/common/accessibility_node_data.cc
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/test/accessibility_test_utils_win.h
|
View
|
1
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/test/accessibility_test_utils_win.cc
|
View
|
1
|
1 chunk |
+22 lines, -24 lines |
0 comments
|
Download
|
 |
M |
content/test/data/accessibility/a.html
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/test/data/accessibility/a-expected-win.txt
|
View
|
1
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/test/data/accessibility/aria-application.html
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/test/data/accessibility/aria-application-expected-mac.txt
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/test/data/accessibility/aria-application-expected-win.txt
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/test/data/accessibility/contenteditable-descendants.html
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/test/data/accessibility/contenteditable-descendants-expected-win.txt
|
View
|
1
2
|
1 chunk |
+21 lines, -21 lines |
0 comments
|
Download
|
 |
M |
content/test/data/accessibility/footer.html
|
View
|
1
2
3
4
5
9
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/test/data/accessibility/footer-expected-mac.txt
|
View
|
1
2
3
4
5
9
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/test/data/accessibility/footer-expected-win.txt
|
View
|
1
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/test/data/accessibility/list-markers-expected-mac.txt
|
View
|
1
2
3
4
5
|
1 chunk |
+17 lines, -17 lines |
0 comments
|
Download
|
 |
M |
content/test/data/accessibility/ul-expected-mac.txt
|
View
|
1
2
3
4
5
|
1 chunk |
+11 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/test/data/accessibility/ul-expected-win.txt
|
View
|
1
|
1 chunk |
+11 lines, -11 lines |
0 comments
|
Download
|
Total messages: 11 (0 generated)
|