Fix CvoxBrailleUtilUnitTest.TextFieldSelection
commit90e3b587f2001eaffbd13e83ab9d18ed778dbc6e
authordmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 24 Jul 2014 18:58:28 +0000 (24 18:58 +0000)
committerdmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 24 Jul 2014 18:58:28 +0000 (24 18:58 +0000)
treeaa22a26b0879c991251093558908385164a5ff3b
parent85905ede054e3c3a799dd898d7dddfe269acf245
Fix CvoxBrailleUtilUnitTest.TextFieldSelection

It was assuming that modifying selectionStart/selectionEnd on an input
element focused the element, but Blink just changed to remove that
behavior.

Fixed by explicitly focusing the element.

BUG=397212,393504
R=asvitkine@chromium.org
TBR=dtseng

Review URL: https://codereview.chromium.org/418053004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285344 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/resources/chromeos/chromevox/common/braille_util_test.js