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

Side by Side Diff: LayoutTests/fast/speech/scripted/start-exception.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('Test getting an exception when calling start() in the Speech JavaSc ript API'); 8 description('Test getting an exception when calling start() in the Speech JavaSc ript API');
9 9
10 function run() { 10 function run() {
11 // Check availability of constructors. 11 // Check availability of constructors.
12 shouldBeTrue("'webkitSpeechRecognition' in self"); 12 shouldBeTrue("'webkitSpeechRecognition' in self");
13 shouldBeFalse("webkitSpeechRecognition == null"); 13 shouldBeFalse("webkitSpeechRecognition == null");
14 14
(...skipping 28 matching lines...) Expand all
43 shouldNotThrow("r.start()"); 43 shouldNotThrow("r.start()");
44 shouldThrow("r.start()", '"InvalidStateError: Failed to execute \'start\' on \'SpeechRecognition\': recognition has already started."'); 44 shouldThrow("r.start()", '"InvalidStateError: Failed to execute \'start\' on \'SpeechRecognition\': recognition has already started."');
45 } 45 }
46 46
47 window.onload = run; 47 window.onload = run;
48 window.jsTestIsAsync = true; 48 window.jsTestIsAsync = true;
49 </script> 49 </script>
50 </body> 50 </body>
51 </html> 51 </html>
52 52
OLDNEW
« no previous file with comments | « LayoutTests/fast/speech/scripted/speechrecognition-errors.html ('k') | LayoutTests/fast/speech/speech-input-scripting.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698