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

Issue 1295213003: Make cvox2 output feedback more robust when focusing a text field. (Closed)

Created:
5 years, 4 months ago by dmazzoni
Modified:
5 years, 3 months ago
CC:
chromium-reviews, oshima+watch_chromium.org, plundblad+watch_chromium.org, aboxhall+watch_chromium.org, nektar+watch_chromium.org, yuzo+watch_chromium.org, je_julie, arv+watch_chromium.org, dtseng+watch_chromium.org, dmazzoni+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@plundblad_fix
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make cvox2 output feedback more robust when focusing a text field. To make feedback robust and make the test reliable: 1. Construct the editable text handler on focus, not just on text changed. 2. Add an event queue, like on classic - that way we don't have a focus event immediately followed by an event that selects some of the text. 3. Stop MockTTS from skipping over "extra" speech once it's matched the first matching utterance - otherwise a test can't assert that only the expected speech is generated and not anything else 4. Force ChromeVox Next on in cvox2 tests, otherwise we're getting mixed feedback from Classic sometimes, introducing flakiness. BUG=none

Patch Set 1 #

Total comments: 26
Unified diffs Side-by-side diffs Delta from patch set Stats (+153 lines, -16 lines) Patch
M chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js View 7 chunks +101 lines, -13 lines 16 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs View 2 chunks +28 lines, -0 lines 6 comments Download
M chrome/browser/resources/chromeos/chromevox/testing/mock_tts.js View 3 chunks +24 lines, -3 lines 4 comments Download

Depends on Patchset:

Messages

Total messages: 6 (1 generated)
dmazzoni
I wanted to get this in before landing earcon changes, because without it I was ...
5 years, 4 months ago (2015-08-19 16:13:22 UTC) #2
David Tseng
https://codereview.chromium.org/1295213003/diff/1/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js File chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js (right): https://codereview.chromium.org/1295213003/diff/1/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js#newcode83 chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js:83: this.EVENT_QUEUE_DELAY_MS = 10; nit: make private. https://codereview.chromium.org/1295213003/diff/1/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js#newcode427 chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js:427: * ...
5 years, 4 months ago (2015-08-19 17:19:25 UTC) #3
Peter Lundblad
Hi, A few suggestions below. FYI, I am working on a combine mock speech and ...
5 years, 4 months ago (2015-08-20 08:30:06 UTC) #4
David Tseng
https://codereview.chromium.org/1295213003/diff/1/chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs File chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs (right): https://codereview.chromium.org/1295213003/diff/1/chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs#newcode26 chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs:26: global.backgroundObj.forceChromeVoxNextActive(); On 2015/08/20 08:30:06, Peter Lundblad wrote: > ChromeVoxE2ETest.runWithTab ...
5 years, 4 months ago (2015-08-20 17:52:47 UTC) #5
dmazzoni
5 years, 3 months ago (2015-08-26 05:54:29 UTC) #6

Powered by Google App Engine
This is Rietveld 408576698