OLD | NEW |
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="../../js/resources/js-test-pre.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 |
(...skipping 13 matching lines...) Expand all Loading... |
24 shouldBe("new webkitSpeechRecognitionError('eventType', { cancelable: false }).c
ancelable", "false"); | 24 shouldBe("new webkitSpeechRecognitionError('eventType', { cancelable: false }).c
ancelable", "false"); |
25 shouldBe("new webkitSpeechRecognitionError('eventType', { cancelable: true }).ca
ncelable", "true"); | 25 shouldBe("new webkitSpeechRecognitionError('eventType', { cancelable: true }).ca
ncelable", "true"); |
26 | 26 |
27 // Test passing code in the initializer. | 27 // Test passing code in the initializer. |
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 <script src="../../js/resource/js-test-post.js"></script> | |
35 </body> | 34 </body> |
36 </html> | 35 </html> |
37 | 36 |
38 | 37 |
OLD | NEW |