OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../fast/js/resources/js-test-pre.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <p id="description"></p> | |
8 <div id="console"></div> | |
9 <script> | 7 <script> |
10 worker = startWorker("resources/random-values-types.js"); | 8 description("Tests the OfflineAudioContext constructor"); |
| 9 |
| 10 // Make sure we don't crash when giving 0 as number of frames. |
| 11 shouldThrow("new webkitOfflineAudioContext(1, 0, 44100)"); |
11 </script> | 12 </script> |
12 <script src="../fast/js/resources/js-test-post.js"></script> | 13 <script src="../fast/js/resources/js-test-post.js"></script> |
13 </body> | 14 </body> |
14 </html> | 15 </html> |
OLD | NEW |