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

Side by Side Diff: LayoutTests/fast/speech/input-text-speechstart.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../js/resources/js-test-pre.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script type="text/javascript"> 7 <script type="text/javascript">
8 description('Tests for triggering speech directly in a &lt;input type="text" spe ech>.'); 8 description('Tests for triggering speech directly in a &lt;input type="text" spe ech>.');
9 9
10 function startSpeechInput(id) { 10 function startSpeechInput(id) {
11 // Test that we can trigger speech with a method call to the input 11 // Test that we can trigger speech with a method call to the input
12 // element, so the user agent could toggle speech via a keypress, 12 // element, so the user agent could toggle speech via a keypress,
13 // for example. Select is required in order to ensure that the result 13 // for example. Select is required in order to ensure that the result
14 // will be set in input during the generated TextInput event. 14 // will be set in input during the generated TextInput event.
(...skipping 13 matching lines...) Expand all
28 startSpeechInput("speechInput"); 28 startSpeechInput("speechInput");
29 } 29 }
30 } 30 }
31 31
32 window.onload = run; 32 window.onload = run;
33 window.jsTestIsAsync = true; 33 window.jsTestIsAsync = true;
34 </script> 34 </script>
35 <input id='speechInput' x-webkit-speech onwebkitspeechchange="onWebkitSpeechChan ge()"> 35 <input id='speechInput' x-webkit-speech onwebkitspeechchange="onWebkitSpeechChan ge()">
36 </body> 36 </body>
37 </html> 37 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698