| Index: LayoutTests/fast/speech/bubble-position.html
|
| diff --git a/LayoutTests/fast/speech/bubble-position.html b/LayoutTests/fast/speech/bubble-position.html
|
| deleted file mode 100644
|
| index 40c7f10382717c411b2554fbf15e968c9d9d4d61..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/fast/speech/bubble-position.html
|
| +++ /dev/null
|
| @@ -1,54 +0,0 @@
|
| -<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
| -<html>
|
| -<head>
|
| -<script src="../../resources/js-test.js"></script>
|
| -</head>
|
| -<body>
|
| -<script type="text/javascript">
|
| -description('Tests for speech button click with <input type="text" speech>.');
|
| -
|
| -function onSpeechChange() {
|
| - // Since we requested dumpRect, the rect comes back as the speech result.
|
| - var rect = input.value.split(',');
|
| - var x = parseInt(rect[0]);
|
| - var y = parseInt(rect[1]);
|
| -
|
| - // Check that the rect is inside the iframe.
|
| - if (x >= iframe.offsetLeft && x <= iframe.offsetLeft + iframe.offsetWidth
|
| - && y >= iframe.offsetTop && y <= iframe.offsetTop + iframe.offsetHeight)
|
| - testPassed("rect is inside the iframe");
|
| - else
|
| - testFailed("FAIL: rect was outside the iframe. Actual rect.x: " + x + ", rect.y: " + y);
|
| -
|
| - finishJSTest();
|
| -}
|
| -
|
| -function run() {
|
| - window.iframe = document.getElementById('iframe');
|
| - window.input = iframe.contentDocument.createElement('input');
|
| - input.setAttribute('x-webkit-speech', '');
|
| - input.onwebkitspeechchange = onSpeechChange;
|
| - iframe.contentDocument.getElementsByTagName('body')[0].appendChild(input);
|
| -
|
| - if (window.testRunner && window.eventSender) {
|
| - testRunner.setMockSpeechInputDumpRect(true);
|
| -
|
| - debug('Clicking the speech button.');
|
| - var x = input.offsetLeft + input.offsetWidth - 4;
|
| - var y = input.offsetTop + input.offsetHeight / 2;
|
| - x += iframe.offsetLeft;
|
| - y += iframe.offsetTop;
|
| -
|
| - eventSender.mouseMoveTo(x, y);
|
| - eventSender.mouseDown();
|
| - eventSender.mouseUp();
|
| - }
|
| -}
|
| -
|
| -window.onload = run;
|
| -window.jsTestIsAsync = true;
|
| -</script>
|
| -<iframe id="iframe">
|
| -</body>
|
| -</html>
|
| -
|
|
|