| Index: LayoutTests/fast/speech/input-ontextinput-event.html
|
| diff --git a/LayoutTests/fast/speech/input-ontextinput-event.html b/LayoutTests/fast/speech/input-ontextinput-event.html
|
| deleted file mode 100644
|
| index 77717634de96e4ecf5e9c3dbe5e0f364bfb3978b..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/fast/speech/input-ontextinput-event.html
|
| +++ /dev/null
|
| @@ -1,42 +0,0 @@
|
| -<!DOCTYPE html>
|
| -<html>
|
| -<head>
|
| -<script src="../../resources/js-test.js"></script>
|
| -</head>
|
| -<body>
|
| -<script type="text/javascript">
|
| -description('Tests for the ontextInput event with <input type="text" speech>.');
|
| -
|
| -function onTextInput() {
|
| - shouldBeEqualToString('document.getElementById("speechInput").value', '');
|
| - shouldBeEqualToString('window.event.data', 'Green eggs and ham');
|
| -
|
| - // Set to undefined to make this test fail if it's implemented, so it can be properly set to the correct value once it's available.
|
| - shouldBe('window.event.inputMethod', 'undefined');
|
| -
|
| - finishJSTest();
|
| -}
|
| -
|
| -function run() {
|
| - if (window.testRunner && window.eventSender) {
|
| - testRunner.addMockSpeechInputResult('Green eggs and ham', 0.8, '');
|
| - testRunner.addMockSpeechInputResult('Green x and ham', 0.5, '');
|
| -
|
| - // Clicking the speech button should fill in mock speech-recognized text.
|
| - var input = document.getElementById('speechInput');
|
| - input.addEventListener("textInput", onTextInput, false);
|
| -
|
| - var x = input.offsetLeft + input.offsetWidth - 4;
|
| - var y = input.offsetTop + input.offsetHeight / 2;
|
| - eventSender.mouseMoveTo(x, y);
|
| - eventSender.mouseDown();
|
| - eventSender.mouseUp();
|
| - }
|
| -}
|
| -
|
| -window.onload = run;
|
| -window.jsTestIsAsync = true;
|
| -</script>
|
| -<input id='speechInput' x-webkit-speech>
|
| -</body>
|
| -</html>
|
|
|