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 <script src="resources/audio-testing.js"></script> | 5 <script src="resources/audio-testing.js"></script> |
6 </head> | 6 </head> |
7 <body> | 7 <body> |
8 <script> | 8 <script> |
9 description("Basic tests for AudioBuffer."); | 9 description("Basic tests for AudioBuffer."); |
10 | 10 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 | 44 |
45 try { | 45 try { |
46 buffer.getChannelData(buffer.numberOfChannels); | 46 buffer.getChannelData(buffer.numberOfChannels); |
47 testFailed("Exception should be thrown when index is not less than numberOfC
hannels."); | 47 testFailed("Exception should be thrown when index is not less than numberOfC
hannels."); |
48 } catch(e) { | 48 } catch(e) { |
49 testPassed("Exception has been thrown correctly when index is not less than
numberOfChannels."); | 49 testPassed("Exception has been thrown correctly when index is not less than
numberOfChannels."); |
50 } | 50 } |
51 | 51 |
52 </script> | 52 </script> |
53 | 53 |
54 <script src="../fast/js/resources/js-test-post.js"></script> | |
55 </body> | 54 </body> |
56 </html> | 55 </html> |
OLD | NEW |