Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: LayoutTests/fast/speech/speech-input-result-list-not-enough-arguments.html

Issue 264973003: Remove layout tests for the legacy x-webkit-speech API (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/speech/speech-input-result-list-not-enough-arguments.html
diff --git a/LayoutTests/fast/speech/speech-input-result-list-not-enough-arguments.html b/LayoutTests/fast/speech/speech-input-result-list-not-enough-arguments.html
deleted file mode 100644
index 696a4caea9c28beda5d36cbc3c5810ff1439fc91..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/speech/speech-input-result-list-not-enough-arguments.html
+++ /dev/null
@@ -1,36 +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 SpeechInputResultList\' behavior with too few arguments.');
-
-var speechInputCreatedByScript = false;
-
-function onWebkitSpeechChange() {
- shouldThrow('window.event.results.item()');
- finishJSTest();
-}
-
-function run() {
- if (!window.testRunner || !window.eventSender)
- return;
-
- testRunner.addMockSpeechInputResult('Pictures of the moon', 1.0, '');
- var input = document.getElementById('speechInput');
- input.addEventListener('webkitspeechchange', onWebkitSpeechChange);
- var x = input.offsetLeft + input.offsetWidth - 8;
- 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>

Powered by Google App Engine
This is Rietveld 408576698