Index: chrome/test/data/speech/enable_speech_input_switch_test.html |
diff --git a/chrome/test/data/speech/enable_speech_input_switch_test.html b/chrome/test/data/speech/enable_speech_input_switch_test.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9524c7c97b145a9e331ae146cdfb43d108c4a71f |
--- /dev/null |
+++ b/chrome/test/data/speech/enable_speech_input_switch_test.html |
@@ -0,0 +1,22 @@ |
+<html> |
+ <head> |
+ <title>SpeechInputEnableSwitchTest</title> |
+ <script type="text/javascript"> |
+ function run() { |
+ var inputField = document.getElementById('inputField'); |
+ if (inputField.speech) { |
+ document.getElementById('status').innerHTML = 'FAIL'; |
+ document.location = '#fail'; |
+ } else { |
+ document.getElementById('status').innerHTML = 'PASS'; |
+ document.location = '#pass'; |
+ } |
+ } |
+ </script> |
+ </head> |
+ <body onload="run()"> |
+ <input id='inputField' speech><br> |
+ <div id="status">Running...</div> |
+ </body> |
+</html> |
+ |