Chromium Code Reviews| 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 <script src="resources/compatibility.js"></script> |
| 6 <script src="resources/audio-testing.js"></script> | 6 <script src="resources/audio-testing.js"></script> |
| 7 <title>Test AudioParam Nominal Range Values</title> | 7 <title>Test AudioParam Nominal Range Values</title> |
| 8 </head> | 8 </head> |
| 9 | 9 |
| 10 <body> | 10 <body> |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 203 }, { | 203 }, { |
| 204 creator: "createChannelMerger", | 204 creator: "createChannelMerger", |
| 205 args: [], | 205 args: [], |
| 206 }, { | 206 }, { |
| 207 creator: "createMediaElementSource", | 207 creator: "createMediaElementSource", |
| 208 args: [new Audio()] | 208 args: [new Audio()] |
| 209 },{ | 209 },{ |
| 210 creator: "createMediaStreamDestination", | 210 creator: "createMediaStreamDestination", |
| 211 args: [] | 211 args: [] |
| 212 } | 212 } |
| 213 // Can't currently test MediaStreamSource | 213 // Can't currently test because we're using an offline context. |
|
hongchan
2016/09/01 20:39:44
... test MediaStreamSource because...
| |
| 214 ]; | 214 ]; |
| 215 | 215 |
| 216 // Create the context so we can use it in the following test. | 216 // Create the context so we can use it in the following test. |
| 217 audit.defineTask("initialize", function (done) { | 217 audit.defineTask("initialize", function (done) { |
| 218 // Just any context so that we can create the nodes. | 218 // Just any context so that we can create the nodes. |
| 219 context = new OfflineAudioContext(1, 1, sampleRate); | 219 context = new OfflineAudioContext(1, 1, sampleRate); |
| 220 done(); | 220 done(); |
| 221 }); | 221 }); |
| 222 | 222 |
| 223 // Create a task for each entry in testConfigs | 223 // Create a task for each entry in testConfigs |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 456 } else { | 456 } else { |
| 457 if (limits) | 457 if (limits) |
| 458 testFailed(nodeName + " has no AudioParams but test expected " + lim its + ".\n"); | 458 testFailed(nodeName + " has no AudioParams but test expected " + lim its + ".\n"); |
| 459 else | 459 else |
| 460 testPassed(nodeName + " has no AudioParams as expected.\n"); | 460 testPassed(nodeName + " has no AudioParams as expected.\n"); |
| 461 } | 461 } |
| 462 } | 462 } |
| 463 </script> | 463 </script> |
| 464 </body> | 464 </body> |
| 465 </html> | 465 </html> |
| OLD | NEW |