This cl is the minimal change to actually perform the flip to ChromeVox Next
including passing SpokenFeedbackTest modifications. One test I couldn't get to
pass; I spent a lot of time fiddling with these tests and they seem more brittle
now that small changes in output formatting cause hard to debug breaks in the
tests especially pattern matching expectations. I don't want these tests to be a
roadblock to changes but also do find them useful. Thoughts welcome on that and
on this cl.
https://codereview.chromium.org/756713003/diff/40001/chrome/browser/chromeos/...
File chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc
(right):
https://codereview.chromium.org/756713003/diff/40001/chrome/browser/chromeos/...
chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc:267:
"about:blank about:blank*Toolbar toolbar Reload Button"));
On 2014/11/29 08:03:59, dmazzoni wrote:
> Why is about:blank there twice? How about the shortest possible string that
> applies to this specific test, maybe:
>
> "*Toolbar toolbar Reload Button".
>
about:blank is there twice because the ancestry 'enter' rule sees two window
with that $name; we should clean up the window names in the desktop tree a bit.
I like having the names there so we can see the exact output. It feels brittle
to me probably because this was a big change which we hopefully won't do much of
moving forward.
https://codereview.chromium.org/756713003/diff/40001/chrome/browser/chromeos/...
chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc:341: if
(MatchPattern(utterance, "*Bluetooth* Button"))
On 2014/11/29 08:03:59, dmazzoni wrote:
> BTW, are you sure you want to remove this comma between the name and the role?
> Maybe it'd be better to leave the comma there.
It depends. Commas between name role and state seems ok but does introduce
pauses where we may not need them. Maybe a good question for UX studies?
https://codereview.chromium.org/756713003/diff/40001/chrome/browser/chromeos/...
chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc:540:
"about:blank about:blank*Toolbar toolbar Reload Button"));
On 2014/11/29 08:03:59, dmazzoni wrote:
> same as above
Ditto.
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/4764)
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/4791)
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/5023)
Issue 756713003: Switch in box ChromeVox to use new background page.
(Closed)
Created 6 years ago by David Tseng
Modified 6 years ago
Reviewers: dmazzoni, Peter Lundblad
Base URL: https://chromium.googlesource.com/chromium/src.git@enable_next_on_trunk
Comments: 6