| OLD | NEW |
| 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <link rel="stylesheet" href="../fast/js/resources/js-test-style.css"/> | 4 <link rel="stylesheet" href="../fast/js/resources/js-test-style.css"/> |
| 5 <script src="resources/audio-testing.js"></script> | 5 <script src="resources/audio-testing.js"></script> |
| 6 <script src="../fast/js/resources/js-test-pre.js"></script> | 6 <script src="../fast/js/resources/js-test-pre.js"></script> |
| 7 <script src="resources/biquad-testing.js"></script> | 7 <script src="resources/biquad-testing.js"></script> |
| 8 </head> | 8 </head> |
| 9 | 9 |
| 10 <body> | 10 <body> |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 // OfflineAudioContext | 110 // OfflineAudioContext |
| 111 // Invalid number of channels (unspecified error) | 111 // Invalid number of channels (unspecified error) |
| 112 shouldThrow("new webkitOfflineAudioContext(99, 100, context.sampleRate)"); | 112 shouldThrow("new webkitOfflineAudioContext(99, 100, context.sampleRate)"); |
| 113 // Invalid sample rate. (unspecified error) | 113 // Invalid sample rate. (unspecified error) |
| 114 shouldThrow("new webkitOfflineAudioContext(1, 100, 1)"); | 114 shouldThrow("new webkitOfflineAudioContext(1, 100, 1)"); |
| 115 shouldThrow("new webkitOfflineAudioContext(1, 100, 1e6)"); | 115 shouldThrow("new webkitOfflineAudioContext(1, 100, 1e6)"); |
| 116 | 116 |
| 117 // WaveShaper types | 117 // WaveShaper types |
| 118 node = context.createWaveShaper(); | 118 node = context.createWaveShaper(); |
| 119 shouldThrow("node.oversample = '9x'"); | 119 shouldThrow("node.oversample = '9x'"); |
| 120 |
| 121 // Start/stop for AudioBufferSourceNodes |
| 122 buffer = context.createBuffer(1,1, context.sampleRate); |
| 123 shouldNotThrow("source = context.createBufferSource()"); |
| 124 source.buffer = buffer; |
| 125 shouldNotThrow("source.start()"); |
| 126 shouldNotThrow("source.stop()"); |
| 127 |
| 128 // Start/stop for OscillatorNodes |
| 129 shouldNotThrow("source = context.createOscillator()"); |
| 130 shouldNotThrow("source.start()"); |
| 131 shouldNotThrow("source.stop()"); |
| 120 } | 132 } |
| 121 | 133 |
| 122 runTest(); | 134 runTest(); |
| 123 successfullyParsed = true; | 135 successfullyParsed = true; |
| 124 | 136 |
| 125 </script> | 137 </script> |
| 126 <script src="../fast/js/resources/js-test-post.js"></script> | 138 <script src="../fast/js/resources/js-test-post.js"></script> |
| 127 </body> | 139 </body> |
| 128 </html> | 140 </html> |
| OLD | NEW |