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 10 matching lines...) Expand all Loading... |
21 shouldBe("new webkitSpeechRecognitionEvent('eventType', { bubbles: true }).bubbl
es", "true"); | 21 shouldBe("new webkitSpeechRecognitionEvent('eventType', { bubbles: true }).bubbl
es", "true"); |
22 | 22 |
23 // Test passing cancelable in the initializer. | 23 // Test passing cancelable in the initializer. |
24 shouldBe("new webkitSpeechRecognitionEvent('eventType', { cancelable: false }).c
ancelable", "false"); | 24 shouldBe("new webkitSpeechRecognitionEvent('eventType', { cancelable: false }).c
ancelable", "false"); |
25 shouldBe("new webkitSpeechRecognitionEvent('eventType', { cancelable: true }).ca
ncelable", "true"); | 25 shouldBe("new webkitSpeechRecognitionEvent('eventType', { cancelable: true }).ca
ncelable", "true"); |
26 | 26 |
27 // Test passing resultIndex in the initializer. | 27 // Test passing resultIndex in the initializer. |
28 shouldBe("new webkitSpeechRecognitionEvent('eventType', { resultIndex: 42 }).res
ultIndex", "42"); | 28 shouldBe("new webkitSpeechRecognitionEvent('eventType', { resultIndex: 42 }).res
ultIndex", "42"); |
29 | 29 |
30 </script> | 30 </script> |
31 <script src="../../js/resource/js-test-post.js"></script> | |
32 </body> | 31 </body> |
33 </html> | 32 </html> |
34 | 33 |
OLD | NEW |