| 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 <script src="resources/compatibility.js"></script> | 4 <script src="resources/compatibility.js"></script> |
| 5 <script src="resources/audio-testing.js"></script> | 5 <script src="resources/audio-testing.js"></script> |
| 6 <script src="../resources/js-test.js"></script> | 6 <script src="../resources/js-test.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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 shouldBeEqualToNumber("script.channelCount", 3); | 241 shouldBeEqualToNumber("script.channelCount", 3); |
| 242 shouldBeEqualToString("script.channelCountMode", "explicit"); | 242 shouldBeEqualToString("script.channelCountMode", "explicit"); |
| 243 // Cannot change the channelCount or mode to anything else | 243 // Cannot change the channelCount or mode to anything else |
| 244 shouldNotThrow("script.channelCount = 3"); | 244 shouldNotThrow("script.channelCount = 3"); |
| 245 shouldThrow("script.channelCount = 1"); | 245 shouldThrow("script.channelCount = 1"); |
| 246 shouldThrow("script.channelCount = 7"); | 246 shouldThrow("script.channelCount = 7"); |
| 247 shouldNotThrow("script.channelCountMode = 'explicit'"); | 247 shouldNotThrow("script.channelCountMode = 'explicit'"); |
| 248 shouldThrow("script.channelCountMode = 'max'"); | 248 shouldThrow("script.channelCountMode = 'max'"); |
| 249 shouldThrow("script.channelCountMode = 'clamped-max'"); | 249 shouldThrow("script.channelCountMode = 'clamped-max'"); |
| 250 shouldNotThrow("script.channelCountMode = 'junk'"); | 250 shouldNotThrow("script.channelCountMode = 'junk'"); |
| 251 |
| 252 // noteOn and noteOff don't exist anymore |
| 253 shouldBeUndefined("osc.noteOn"); |
| 254 shouldBeUndefined("osc.noteOff"); |
| 255 shouldBeUndefined("source.noteOn"); |
| 256 shouldBeUndefined("source.noteOff"); |
| 251 } | 257 } |
| 252 | 258 |
| 253 runTest(); | 259 runTest(); |
| 254 successfullyParsed = true; | 260 successfullyParsed = true; |
| 255 | 261 |
| 256 </script> | 262 </script> |
| 257 </body> | 263 </body> |
| 258 </html> | 264 </html> |
| OLD | NEW |