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 <script src="resources/compatibility.js"></script> |
5 </head> | 6 </head> |
6 <body> | 7 <body> |
7 <script> | 8 <script> |
8 description("Tests the OfflineAudioContext constructor"); | 9 description("Tests the OfflineAudioContext constructor"); |
9 | 10 |
10 // Make sure we don't crash when giving 0 as number of frames. | 11 // Make sure we don't crash when giving 0 as number of frames. |
11 shouldThrow("new webkitOfflineAudioContext(1, 0, 44100)"); | 12 shouldThrow("new OfflineAudioContext(1, 0, 44100)"); |
12 </script> | 13 </script> |
13 </body> | 14 </body> |
14 </html> | 15 </html> |
OLD | NEW |