OLD | NEW |
1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../../resources/js-test.js"></script> | 4 <script src="../../../resources/js-test.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <script> | 7 <script> |
8 description("Accessing SpeechRecognition on a detached window should not crash."
); | 8 description("Accessing SpeechRecognition on a detached window should not crash."
); |
9 | 9 |
10 window.jsTestIsAsync = true; | 10 window.jsTestIsAsync = true; |
(...skipping 24 matching lines...) Expand all Loading... |
35 shouldBeUndefined("recognition.abort()"); | 35 shouldBeUndefined("recognition.abort()"); |
36 finishJSTest(); | 36 finishJSTest(); |
37 } | 37 } |
38 } | 38 } |
39 | 39 |
40 w = window.open('../../../resources/window-postmessage-open-close.html'); | 40 w = window.open('../../../resources/window-postmessage-open-close.html'); |
41 window.addEventListener("message", processMessage, false); | 41 window.addEventListener("message", processMessage, false); |
42 </script> | 42 </script> |
43 </body> | 43 </body> |
44 </html> | 44 </html> |
OLD | NEW |