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

Side by Side Diff: LayoutTests/fast/events/constructors/speech-recognition-error-constructor.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> 1 <!DOCTYPE html>
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 <p id="description"></p> 7 <p id="description"></p>
8 <div id="console"></div> 8 <div id="console"></div>
9 <script> 9 <script>
10 10
11 description("This tests the constructor for the SpeechRecognitionError DOM class ."); 11 description("This tests the constructor for the SpeechRecognitionError DOM class .");
12 12
13 // Test constructor without initializer. 13 // Test constructor without initializer.
14 shouldBe("new webkitSpeechRecognitionError('eventType').bubbles", "false"); 14 shouldBe("new webkitSpeechRecognitionError('eventType').bubbles", "false");
(...skipping 13 matching lines...) Expand all
28 shouldBeEqualToString("new webkitSpeechRecognitionError('eventType', { error: 'b ar' }).error", "bar"); 28 shouldBeEqualToString("new webkitSpeechRecognitionError('eventType', { error: 'b ar' }).error", "bar");
29 29
30 // Test passing message in the initializer. 30 // Test passing message in the initializer.
31 shouldBeEqualToString("new webkitSpeechRecognitionError('eventType', { message: 'foo' }).message", "foo"); 31 shouldBeEqualToString("new webkitSpeechRecognitionError('eventType', { message: 'foo' }).message", "foo");
32 32
33 </script> 33 </script>
34 </body> 34 </body>
35 </html> 35 </html>
36 36
37 37
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698