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

Side by Side Diff: LayoutTests/fast/speech/input-onspeechchange-event.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 the onspeechchange event with &lt;input type="text" speec h>.'); 8 description('Tests for the onspeechchange event with &lt;input type="text" speec h>.');
9 9
10 var results; 10 var results;
11 function onSpeechChange(event) { 11 function onSpeechChange(event) {
12 results = event.results; 12 results = event.results;
13 shouldBeEqualToString('document.getElementById("speechInput").value', 'Green eggs and ham'); 13 shouldBeEqualToString('document.getElementById("speechInput").value', 'Green eggs and ham');
14 shouldEvaluateTo('results.length', 3); 14 shouldEvaluateTo('results.length', 3);
(...skipping 22 matching lines...) Expand all
37 eventSender.mouseUp(); 37 eventSender.mouseUp();
38 } 38 }
39 } 39 }
40 40
41 window.onload = run; 41 window.onload = run;
42 window.jsTestIsAsync = true; 42 window.jsTestIsAsync = true;
43 </script> 43 </script>
44 <input id='speechInput' x-webkit-speech onwebkitspeechchange="onSpeechChange(eve nt)"> 44 <input id='speechInput' x-webkit-speech onwebkitspeechchange="onSpeechChange(eve nt)">
45 </body> 45 </body>
46 </html> 46 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/speech/change-focus.html ('k') | LayoutTests/fast/speech/input-ontextinput-event.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698