diff options
author | satish@chromium.org <satish@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-01 10:10:47 +0000 |
---|---|---|
committer | satish@chromium.org <satish@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-01 10:10:47 +0000 |
commit | 0b33827e43af373fc43be34f2e8fbde4028d52f6 (patch) | |
tree | 83b51087cd3f197af4fe0c6f0c7720e0dced29e2 /chrome/test/data/speech | |
parent | 75715fba300fe975a156c155aaa2f4d6a0581a3b (diff) | |
download | chromium_src-0b33827e43af373fc43be34f2e8fbde4028d52f6.zip chromium_src-0b33827e43af373fc43be34f2e8fbde4028d52f6.tar.gz chromium_src-0b33827e43af373fc43be34f2e8fbde4028d52f6.tar.bz2 |
Update test data files in preparation to renaming the @webkitspeech attribute.
In webkit patch https://bugs.webkit.org/show_bug.cgi?id=46873 I'm renaming the
input element's @webkitspeech attribute to @x-webkit-speech. This chromium CL updates
the relevant test files with both the old and new attribute names so that they
won't break while the webkit change is being submitted.
I'm also adding an extra event handler for 'onwebkitspeechchange'. This event will be added to webkit shortly and I'm including it now to allow webkit rolls to go without issues. The old attribute and event handler will be removed after the webkit changes are rolled into DEPS.
BUG=53598
TEST=browser_tests --gtest_filter=SpeechInputBrowserTest.*
Review URL: http://codereview.chromium.org/3539006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61161 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/data/speech')
-rw-r--r-- | chrome/test/data/speech/basic_recognition.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/test/data/speech/basic_recognition.html b/chrome/test/data/speech/basic_recognition.html index 5fd18e4..bb5295a 100644 --- a/chrome/test/data/speech/basic_recognition.html +++ b/chrome/test/data/speech/basic_recognition.html @@ -22,7 +22,8 @@ </script> </head> <body onLoad="run()"> - <input id='inputField' speech webkitspeech + <input id='inputField' webkitspeech x-webkit-speech + onwebkitspeechchange="onspeechresult(this.value);" onchange="onspeechresult(this.value);"> <br> <div id="status">FAIL</div> |