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

Issue 790943002: Add DumpAccessibilityEvents test framework. (Closed)

Created:
6 years ago by dmazzoni
Modified:
6 years ago
Reviewers:
David Tseng
CC:
chromium-reviews, plundblad+watch_chromium.org, aboxhall+watch_chromium.org, jam, yuzo+watch_chromium.org, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, shreeramk
Base URL:
https://chromium.googlesource.com/chromium/src.git@dump_acc_events_1
Project:
chromium
Visibility:
Public.

Description

Add DumpAccessibilityEvents test framework. Currently works on Windows only, but designed to be cross-platform with just a bit of effort. BUG=440579 Committed: https://crrev.com/8531606ec6e5294559a8dd1bd04cbbcb63514dee Cr-Commit-Position: refs/heads/master@{#308844}

Patch Set 1 #

Total comments: 31

Patch Set 2 : Address feedback #

Patch Set 3 : Rebase #

Patch Set 4 : Fix compile errors #

Patch Set 5 : Rebase #

Patch Set 6 : Rebase, run tests on win only #

Patch Set 7 : Fix compile errors #

Unified diffs Side-by-side diffs Delta from patch set Stats (+608 lines, -54 lines) Patch
A content/browser/accessibility/accessibility_event_recorder.h View 1 2 3 4 5 6 1 chunk +52 lines, -0 lines 0 comments Download
A content/browser/accessibility/accessibility_event_recorder.cc View 1 1 chunk +26 lines, -0 lines 0 comments Download
A content/browser/accessibility/accessibility_event_recorder_win.cc View 1 1 chunk +178 lines, -0 lines 0 comments Download
M content/browser/accessibility/accessibility_tree_formatter.h View 1 4 chunks +28 lines, -19 lines 0 comments Download
M content/browser/accessibility/accessibility_tree_formatter.cc View 5 chunks +18 lines, -11 lines 0 comments Download
M content/browser/accessibility/accessibility_tree_formatter_android.cc View 1 2 3 4 5 6 4 chunks +11 lines, -3 lines 0 comments Download
M content/browser/accessibility/accessibility_tree_formatter_mac.mm View 4 chunks +10 lines, -3 lines 0 comments Download
M content/browser/accessibility/accessibility_tree_formatter_utils_win.h View 1 chunk +4 lines, -1 line 0 comments Download
M content/browser/accessibility/accessibility_tree_formatter_utils_win.cc View 1 2 3 4 5 4 chunks +89 lines, -14 lines 0 comments Download
M content/browser/accessibility/accessibility_tree_formatter_win.cc View 4 chunks +10 lines, -3 lines 0 comments Download
M content/browser/accessibility/dump_accessibility_browsertest_base.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A content/browser/accessibility/dump_accessibility_events_browsertest.cc View 1 2 3 4 5 1 chunk +149 lines, -0 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
A content/test/data/accessibility/events-checked-state-changed.html View 1 chunk +11 lines, -0 lines 0 comments Download
A content/test/data/accessibility/events-checked-state-changed-expected-win.txt View 1 chunk +1 line, -0 lines 0 comments Download
A content/test/data/accessibility/events-input-type-text-value-changed.html View 1 chunk +15 lines, -0 lines 0 comments Download
A content/test/data/accessibility/events-input-type-text-value-changed-expected-win.txt View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 12 (2 generated)
dmazzoni
6 years ago (2014-12-09 23:36:52 UTC) #2
dmazzoni
6 years ago (2014-12-10 00:39:18 UTC) #3
dmazzoni
Friendly ping
6 years ago (2014-12-16 07:21:26 UTC) #4
David Tseng
https://codereview.chromium.org/790943002/diff/1/content/browser/accessibility/accessibility_event_recorder.cc File content/browser/accessibility/accessibility_event_recorder.cc (right): https://codereview.chromium.org/790943002/diff/1/content/browser/accessibility/accessibility_event_recorder.cc#newcode1 content/browser/accessibility/accessibility_event_recorder.cc:1: // Copyright (c) 2014 The Chromium Authors. All rights ...
6 years ago (2014-12-16 16:53:05 UTC) #5
dmazzoni
Please don't forget to also review https://codereview.chromium.org/787813006/ that this change depends on. I split it ...
6 years ago (2014-12-16 23:26:32 UTC) #6
David Tseng
lgtm
6 years ago (2014-12-17 15:41:35 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/790943002/120001
6 years ago (2014-12-17 18:39:17 UTC) #9
commit-bot: I haz the power
Committed patchset #7 (id:120001)
6 years ago (2014-12-17 19:49:11 UTC) #10
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/8531606ec6e5294559a8dd1bd04cbbcb63514dee Cr-Commit-Position: refs/heads/master@{#308844}
6 years ago (2014-12-17 19:50:08 UTC) #11
Cait (Slow)
6 years ago (2014-12-17 21:50:28 UTC) #12
Message was sent while issue was closed.
A revert of this CL (patchset #7 id:120001) has been created in
https://codereview.chromium.org/811213002/ by caitkp@chromium.org.

The reason for reverting is: Failing on Win7 x64 bots:

http://build.chromium.org/p/chromium.win/builders/Win%207%20Tests%20x64%20%28...

DumpAccessibilityEventsTest.AccessibilityEventsCheckedStateChanged (run #1):
[ RUN      ] DumpAccessibilityEventsTest.AccessibilityEventsCheckedStateChanged
[3528:3920:1217/131127:60955425:FATAL:accessibility_event_recorder_win.cc(147)]
Check failed: SUCCEEDED(hr). Failure accessing accessible object from hwnd
0000000016F90210 obj_id=-4 child_id=-1004

DumpAccessibilityEventsTest.AccessibilityEventsCheckedStateChanged (run #2):
[ RUN      ] DumpAccessibilityEventsTest.AccessibilityEventsCheckedStateChanged
[3048:3524:1217/131600:61228380:FATAL:accessibility_event_recorder_win.cc(147)]
Check failed: SUCCEEDED(hr). Failure accessing accessible object from hwnd
000000001E4B01E8 obj_id=-4 child_id=-1004

DumpAccessibilityEventsTest.AccessibilityEventsCheckedStateChanged (run #3):
[ RUN      ] DumpAccessibilityEventsTest.AccessibilityEventsCheckedStateChanged
[2984:1592:1217/131601:61229628:FATAL:accessibility_event_recorder_win.cc(147)]
Check failed: SUCCEEDED(hr). Failure accessing accessible object from hwnd
000000001663021A obj_id=-4 child_id=-1004

DumpAccessibilityEventsTest.AccessibilityEventsCheckedStateChanged (run #4):
[ RUN      ] DumpAccessibilityEventsTest.AccessibilityEventsCheckedStateChanged
[3628:408:1217/131602:61230049:FATAL:accessibility_event_recorder_win.cc(147)]
Check failed: SUCCEEDED(hr). Failure accessing accessible object from hwnd
0000000009890254 obj_id=-4 child_id=-1004.

Powered by Google App Engine
This is Rietveld 408576698