| 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 MediaStreamSource because we're using an offline |
| 214 // context. |
| 214 ]; | 215 ]; |
| 215 | 216 |
| 216 // Create the context so we can use it in the following test. | 217 // Create the context so we can use it in the following test. |
| 217 audit.defineTask("initialize", function (done) { | 218 audit.defineTask("initialize", function (done) { |
| 218 // Just any context so that we can create the nodes. | 219 // Just any context so that we can create the nodes. |
| 219 context = new OfflineAudioContext(1, 1, sampleRate); | 220 context = new OfflineAudioContext(1, 1, sampleRate); |
| 220 done(); | 221 done(); |
| 221 }); | 222 }); |
| 222 | 223 |
| 223 // Create a task for each entry in testConfigs | 224 // Create a task for each entry in testConfigs |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 456 } else { | 457 } else { |
| 457 if (limits) | 458 if (limits) |
| 458 testFailed(nodeName + " has no AudioParams but test expected " + lim
its + ".\n"); | 459 testFailed(nodeName + " has no AudioParams but test expected " + lim
its + ".\n"); |
| 459 else | 460 else |
| 460 testPassed(nodeName + " has no AudioParams as expected.\n"); | 461 testPassed(nodeName + " has no AudioParams as expected.\n"); |
| 461 } | 462 } |
| 462 } | 463 } |
| 463 </script> | 464 </script> |
| 464 </body> | 465 </body> |
| 465 </html> | 466 </html> |
| OLD | NEW |