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

Issue 490443002: Add test for ChromeVox keyboard commands. (Closed)

Created:
6 years, 4 months ago by dmazzoni
Modified:
6 years, 3 months ago
Reviewers:
David Tseng, sky
CC:
chromium-reviews, ben+aura_chromium.org, oshima+watch_chromium.org, plundblad+watch_chromium.org, aboxhall+watch_chromium.org, yuzo+watch_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, kalyank, sadrul, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, nkostylev+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Add test for ChromeVox keyboard commands. This is just a couple of quick sanity checks to prevent future regressions like the one in the linked bug. It tests both a Search+Shift shortcut and the corresponding Prefix Key shortcut. Adds support for sending the meta modifier key in aura/x11 tests. BUG=404470 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=291547 Committed: https://chromium.googlesource.com/chromium/src/+/8cab2737f1cb6e6011b0946f6bef5027868602c0 Committed: https://crrev.com/91703961c10dfa0f452999ed7cb87945ea817362 Cr-Commit-Position: refs/heads/master@{#293687} Committed: https://crrev.com/15ea141544fedaf306c94890b5be19b7c5df885a Cr-Commit-Position: refs/heads/master@{#296074}

Patch Set 1 #

Total comments: 5

Patch Set 2 : ASSERT_NO_FATAL_FAILURE #

Total comments: 4

Patch Set 3 : Add another test involving selection #

Patch Set 4 : NULL window #

Patch Set 5 : Rebase #

Patch Set 6 : Get rid of outdated DCHECKs for command modifier #

Patch Set 7 : Add ozone support #

Patch Set 8 : Disable test on ozone for now #

Patch Set 9 : Rebase #

Patch Set 10 : Just for debugging #

Patch Set 11 : Rebase #

Patch Set 12 : Fix idea #

Patch Set 13 : More debugging for trybots #

Patch Set 14 : webkitHidden might be the issue? #

Patch Set 15 : Test filter again #

Patch Set 16 : Real fix that works #

Total comments: 2

Patch Set 17 : Add debugging back #

Patch Set 18 : Fix flakiness #

Patch Set 19 : Selection is causing other issues, skip that part of test for now #

Patch Set 20 : Just 2 of 3 tests for now #

Patch Set 21 : No changes to ui_controls_factory_aurax11 needed. #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -55 lines) Patch
M chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 9 chunks +128 lines, -53 lines 4 comments Download
M ui/aura/test/ui_controls_factory_ozone.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +10 lines, -2 lines 1 comment Download

Messages

Total messages: 41 (3 generated)
dmazzoni
6 years, 4 months ago (2014-08-19 07:27:42 UTC) #1
sky
https://codereview.chromium.org/490443002/diff/1/chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc File chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc (right): https://codereview.chromium.org/490443002/diff/1/chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc#newcode70 chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc:70: void SendKeyPressWithControl(ui::KeyboardCode key) { You need to wrap calls ...
6 years, 4 months ago (2014-08-19 16:27:13 UTC) #2
dmazzoni
https://codereview.chromium.org/490443002/diff/1/chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc File chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc (right): https://codereview.chromium.org/490443002/diff/1/chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc#newcode70 chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc:70: void SendKeyPressWithControl(ui::KeyboardCode key) { On 2014/08/19 16:27:13, sky wrote: ...
6 years, 4 months ago (2014-08-19 16:53:55 UTC) #3
David Tseng
lgtm The title doesn't seem to capture the actual fix being made to the x11 ...
6 years, 4 months ago (2014-08-19 17:48:38 UTC) #4
sky
https://codereview.chromium.org/490443002/diff/1/chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc File chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc (right): https://codereview.chromium.org/490443002/diff/1/chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc#newcode72 chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc:72: ash::Shell::GetInstance()->GetPrimaryRootWindow(); On 2014/08/19 16:53:55, dmazzoni wrote: > On 2014/08/19 ...
6 years, 4 months ago (2014-08-19 19:47:55 UTC) #5
dmazzoni
On 2014/08/19 17:48:38, David Tseng wrote: > The title doesn't seem to capture the actual ...
6 years, 4 months ago (2014-08-19 20:14:48 UTC) #6
dmazzoni
https://codereview.chromium.org/490443002/diff/20001/chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc File chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc (right): https://codereview.chromium.org/490443002/diff/20001/chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc#newcode294 chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc:294: } On 2014/08/19 17:48:38, David Tseng wrote: > Want ...
6 years, 4 months ago (2014-08-19 20:16:53 UTC) #7
dmazzoni
On 2014/08/19 19:47:55, sky wrote: > If you're saying the window doesn't matter, then should ...
6 years, 4 months ago (2014-08-19 20:17:45 UTC) #8
sky
I don't think NULL works everywhere.
6 years, 4 months ago (2014-08-19 21:56:44 UTC) #9
dmazzoni
It works for all of these tests. SendKeyPressNotifyWhenDone in ui_controls_factory_aurax11.cc ignores |window|. Maybe I don't ...
6 years, 4 months ago (2014-08-19 22:24:33 UTC) #10
dmazzoni
@sky note that the test is Chrome OS only - so NULL should be fine, ...
6 years, 4 months ago (2014-08-21 21:27:20 UTC) #11
sky
Sorry for the run around, LGTM
6 years, 4 months ago (2014-08-21 21:47:46 UTC) #12
dmazzoni
The CQ bit was checked by dmazzoni@chromium.org
6 years, 4 months ago (2014-08-21 21:55:04 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/490443002/80001
6 years, 4 months ago (2014-08-21 21:57:28 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-21 23:11:07 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-21 23:40:10 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_swarming/builds/6788)
6 years, 4 months ago (2014-08-21 23:40:11 UTC) #17
dmazzoni
The CQ bit was checked by dmazzoni@chromium.org
6 years, 4 months ago (2014-08-22 21:42:28 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/490443002/100001
6 years, 4 months ago (2014-08-22 21:44:09 UTC) #19
commit-bot: I haz the power
Committed patchset #6 (100001) as 291547
6 years, 4 months ago (2014-08-22 23:11:28 UTC) #20
agable
A revert of this CL (patchset #6) has been created in https://codereview.chromium.org/500833002/ by agable@chromium.org. The ...
6 years, 4 months ago (2014-08-23 20:49:36 UTC) #21
dmazzoni
This was reverted due to a failure on ozone only. I made a similar fix ...
6 years, 3 months ago (2014-09-03 22:01:12 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/490443002/120001
6 years, 3 months ago (2014-09-03 23:23:06 UTC) #24
commit-bot: I haz the power
Committed patchset #7 (id:120001) as 8cab2737f1cb6e6011b0946f6bef5027868602c0
6 years, 3 months ago (2014-09-04 00:24:14 UTC) #25
Vadim Sh.
On 2014/09/04 00:24:14, I haz the power (commit-bot) wrote: > Committed patchset #7 (id:120001) as ...
6 years, 3 months ago (2014-09-04 01:55:44 UTC) #26
Vadim Sh.
A revert of this CL (patchset #7 id:120001) has been created in https://codereview.chromium.org/535283004/ by vadimsh@chromium.org. ...
6 years, 3 months ago (2014-09-04 02:00:08 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/490443002/140001
6 years, 3 months ago (2014-09-08 05:30:54 UTC) #29
commit-bot: I haz the power
Committed patchset #8 (id:140001) as ad123c3ac76fadc625a9dff66960743d0df253ba
6 years, 3 months ago (2014-09-08 07:24:31 UTC) #30
arv (Not doing code reviews)
A revert of this CL (patchset #8 id:140001) has been created in https://codereview.chromium.org/550183002/ by arv@chromium.org. ...
6 years, 3 months ago (2014-09-08 14:15:30 UTC) #31
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/3299e1cf26232b831441987ae90d442b21ab6def Cr-Commit-Position: refs/heads/master@{#293234}
6 years, 3 months ago (2014-09-10 03:28:59 UTC) #32
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/91703961c10dfa0f452999ed7cb87945ea817362 Cr-Commit-Position: refs/heads/master@{#293687}
6 years, 3 months ago (2014-09-10 03:45:08 UTC) #33
David Tseng
Looks like the latest patchset still fails? https://codereview.chromium.org/490443002/diff/300001/ui/aura/test/ui_controls_factory_aurax11.cc File ui/aura/test/ui_controls_factory_aurax11.cc (right): https://codereview.chromium.org/490443002/diff/300001/ui/aura/test/ui_controls_factory_aurax11.cc#newcode95 ui/aura/test/ui_controls_factory_aurax11.cc:95: UnmaskAndSetKeycodeThenSend(&xevent, Mod4Mask, ...
6 years, 3 months ago (2014-09-19 22:37:05 UTC) #34
dmazzoni
All trybots pass now. I pulled out one of the three tests into a separate ...
6 years, 3 months ago (2014-09-22 06:04:04 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/490443002/390004
6 years, 3 months ago (2014-09-22 21:26:16 UTC) #37
David Tseng
lgtm https://codereview.chromium.org/490443002/diff/390004/chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc File chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc (right): https://codereview.chromium.org/490443002/diff/390004/chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc#newcode111 chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc:111: // the page loading and the ChromeVox extension ...
6 years, 3 months ago (2014-09-22 21:52:21 UTC) #38
commit-bot: I haz the power
Committed patchset #21 (id:390004) as a586f6cd22a074945b9c7241134f6bfbfb857393
6 years, 3 months ago (2014-09-22 22:36:24 UTC) #39
commit-bot: I haz the power
Patchset 21 (id:??) landed as https://crrev.com/15ea141544fedaf306c94890b5be19b7c5df885a Cr-Commit-Position: refs/heads/master@{#296074}
6 years, 3 months ago (2014-09-22 22:36:57 UTC) #40
jam
6 years, 3 months ago (2014-09-25 02:10:03 UTC) #41
Message was sent while issue was closed.
A revert of this CL (patchset #21 id:390004) has been created in
https://codereview.chromium.org/603823002/ by jam@chromium.org.

The reason for reverting is: flakes, see
http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%2...

failures:
TestAsNormalAndGuestUser/SpokenFeedbackTest.ChromeVoxPrefixKey/0
TestAsNormalAndGuestUser/SpokenFeedbackTest.ChromeVoxPrefixKey/1
TestAsNormalAndGuestUser/SpokenFeedbackTest.ChromeVoxShiftSearch/1
TestAsNormalAndGuestUser/SpokenFeedbackTest.ChromeVoxShiftSearch/0
LoggedInSpokenFeedbackTest.AddBookmark.

Powered by Google App Engine
This is Rietveld 408576698