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

Issue 11823026: Adding some new DumpAccessibilityTree tests, tweaking DumpAccessibilityTree helpers and fixing a bug (Closed)

Created:
7 years, 11 months ago by aboxhall
Modified:
7 years, 11 months ago
Reviewers:
jamesr, dmazzoni
CC:
chromium-reviews, hashimoto+watch_chromium.org, aboxhall+watch_chromium.org, yoshiki+watch_chromium.org, jam, yuzo+watch_chromium.org, davidbarr+watch_chromium.org, joi+watch-content_chromium.org, sail+watch_chromium.org, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, ctguil+watch_chromium.org, zork+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

- New tests for address, aria-autocomplete, aria-invalid, ARIA menuitemradio, ARIA progressbar, ARIA toolbar, bdo, br, input type="button" (in a menu), input type="image" (in a menu), select (with NO multiple attribute) and wbr - Tweaks to dump_accessibility_tree_helper_win.cc to print out min and max values and use the public API to get the current value - Tweaks to dump_accessibility_tree_helper_mac.mm to print out the minimum and maximum values, valueDescription and invalid state - Tweaks to browser_accessibility_cocoa.{mm,h} to add an invalid() method - Fix a bug in accessibility_node_serializer.cc where minimum and maximum values were getting swapped. BUG=168805 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=176769

Patch Set 1 #

Patch Set 2 : Rebaseline tests after sync to master #

Patch Set 3 : Add address and selected; tweak helper_win again #

Patch Set 4 : Use StringPrintf for int values #

Patch Set 5 : Check return value of get_*value, tweak tests and add expectations #

Patch Set 6 : Reinstate use of StringPrintf (don't know why it reverted) #

Patch Set 7 : Fix up mac expectations #

Patch Set 8 : Iterating on tests #

Patch Set 9 : Tweaking windows test expectations again #

Patch Set 10 : Now with all tests #

Patch Set 11 : Change EXPECTs to ASSERTs for test-breaking conditions; remove spurious 's' #

Patch Set 12 : Add new test files and expectations #

Patch Set 13 : Add necessary skip markers and bugs #

Total comments: 6

Patch Set 14 : Address comments #

Patch Set 15 : Skip address on Windows #

Patch Set 16 : More addressing comments #

Patch Set 17 : Fix value -> valueNow in WIN-ALLOWs #

Patch Set 18 : Fix valueNow -> currentValue #

Unified diffs Side-by-side diffs Delta from patch set Stats (+396 lines, -14 lines) Patch
M content/browser/accessibility/browser_accessibility_cocoa.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_cocoa.mm View 1 2 3 4 5 6 2 chunks +13 lines, -0 lines 0 comments Download
M content/browser/accessibility/dump_accessibility_tree_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 6 chunks +56 lines, -2 lines 0 comments Download
M content/browser/accessibility/dump_accessibility_tree_helper_mac.mm View 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/accessibility/dump_accessibility_tree_helper_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +10 lines, -1 line 0 comments Download
M content/renderer/accessibility_node_serializer.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -2 lines 0 comments Download
A content/test/data/accessibility/address.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +11 lines, -0 lines 0 comments Download
A content/test/data/accessibility/address-expected-mac.txt View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
A content/test/data/accessibility/address-expected-win.txt View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +5 lines, -0 lines 0 comments Download
A content/test/data/accessibility/aria-autocomplete.html View 1 2 3 4 5 6 7 1 chunk +11 lines, -0 lines 0 comments Download
A content/test/data/accessibility/aria-autocomplete-expected-mac.txt View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
A content/test/data/accessibility/aria-autocomplete-expected-win.txt View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +9 lines, -0 lines 0 comments Download
A content/test/data/accessibility/aria-invalid.html View 1 2 3 4 5 6 7 1 chunk +15 lines, -0 lines 0 comments Download
A content/test/data/accessibility/aria-invalid-expected-mac.txt View 1 1 chunk +13 lines, -0 lines 0 comments Download
A content/test/data/accessibility/aria-invalid-expected-win.txt View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +14 lines, -0 lines 0 comments Download
A content/test/data/accessibility/aria-menuitemradio.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +16 lines, -0 lines 0 comments Download
A content/test/data/accessibility/aria-menuitemradio-expected-mac.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +9 lines, -0 lines 0 comments Download
A content/test/data/accessibility/aria-menuitemradio-expected-win.txt View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +7 lines, -0 lines 0 comments Download
A content/test/data/accessibility/aria-progressbar.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +22 lines, -0 lines 0 comments Download
A content/test/data/accessibility/aria-progressbar-expected-mac.txt View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
A content/test/data/accessibility/aria-progressbar-expected-win.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +5 lines, -0 lines 0 comments Download
A content/test/data/accessibility/bdo.html View 1 chunk +10 lines, -0 lines 0 comments Download
A content/test/data/accessibility/bdo-expected-mac.txt View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download
A content/test/data/accessibility/bdo-expected-win.txt View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download
A + content/test/data/accessibility/br.html View 1 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -5 lines 0 comments Download
A content/test/data/accessibility/br-expected-mac.txt View 1 1 chunk +4 lines, -0 lines 0 comments Download
A content/test/data/accessibility/br-expected-win.txt View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
A content/test/data/accessibility/input-button-in-menu.html View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +11 lines, -0 lines 0 comments Download
A content/test/data/accessibility/input-button-in-menu-expected-mac.txt View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
A content/test/data/accessibility/input-button-in-menu-expected-win.txt View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +6 lines, -0 lines 0 comments Download
A content/test/data/accessibility/input-image-button-in-menu.html View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +11 lines, -0 lines 0 comments Download
A content/test/data/accessibility/input-image-button-in-menu-expected-mac.txt View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
A content/test/data/accessibility/input-image-button-in-menu-expected-win.txt View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M content/test/data/accessibility/input-range.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +2 lines, -1 line 0 comments Download
M content/test/data/accessibility/input-range-expected-win.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +3 lines, -3 lines 0 comments Download
A content/test/data/accessibility/select.html View 1 2 3 4 5 6 7 8 1 chunk +25 lines, -0 lines 0 comments Download
A content/test/data/accessibility/select-expected-mac.txt View 1 2 3 4 5 6 1 chunk +17 lines, -0 lines 0 comments Download
A content/test/data/accessibility/select-expected-win.txt View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +18 lines, -0 lines 0 comments Download
A content/test/data/accessibility/toolbar.html View 1 2 3 4 5 6 7 8 1 chunk +9 lines, -0 lines 0 comments Download
A content/test/data/accessibility/toolbar-expected-mac.txt View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
A content/test/data/accessibility/toolbar-expected-win.txt View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
A content/test/data/accessibility/wbr.html View 1 chunk +5 lines, -0 lines 0 comments Download
A content/test/data/accessibility/wbr-expected-mac.txt View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download
A content/test/data/accessibility/wbr-expected-win.txt View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
aboxhall
7 years, 11 months ago (2013-01-11 23:20:54 UTC) #1
dmazzoni
Great! lgtm with nits; please feel free to submit once this passes trybots. https://codereview.chromium.org/11823026/diff/31001/content/browser/accessibility/dump_accessibility_tree_helper_win.cc File ...
7 years, 11 months ago (2013-01-12 00:01:32 UTC) #2
aboxhall
https://codereview.chromium.org/11823026/diff/31001/content/browser/accessibility/dump_accessibility_tree_helper_win.cc File content/browser/accessibility/dump_accessibility_tree_helper_win.cc (right): https://codereview.chromium.org/11823026/diff/31001/content/browser/accessibility/dump_accessibility_tree_helper_win.cc#newcode72 content/browser/accessibility/dump_accessibility_tree_helper_win.cc:72: Add(false, StringPrintf(L"value=%.2f", V_R8(&value))); On 2013/01/12 00:01:32, Dominic Mazzoni wrote: ...
7 years, 11 months ago (2013-01-12 02:41:46 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aboxhall@chromium.org/11823026/44002
7 years, 11 months ago (2013-01-13 02:18:07 UTC) #4
commit-bot: I haz the power
Presubmit check for 11823026-44002 failed and returned exit status 1. Running presubmit commit checks ...
7 years, 11 months ago (2013-01-13 02:18:28 UTC) #5
aboxhall
jamesr, would you be able to review the changes to content/renderer/?
7 years, 11 months ago (2013-01-14 17:39:47 UTC) #6
jamesr
content/renderer lgtm
7 years, 11 months ago (2013-01-14 21:08:48 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aboxhall@chromium.org/11823026/44002
7 years, 11 months ago (2013-01-14 21:10:49 UTC) #8
commit-bot: I haz the power
7 years, 11 months ago (2013-01-15 00:44:49 UTC) #9
Message was sent while issue was closed.
Change committed as 176769

Powered by Google App Engine
This is Rietveld 408576698