| 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 detune: { | 129 detune: { |
| 130 minValue: -mostPositiveFloat, | 130 minValue: -mostPositiveFloat, |
| 131 maxValue: mostPositiveFloat | 131 maxValue: mostPositiveFloat |
| 132 } | 132 } |
| 133 } | 133 } |
| 134 }, { | 134 }, { |
| 135 creator: "createOscillator", | 135 creator: "createOscillator", |
| 136 args: [], | 136 args: [], |
| 137 limits: { | 137 limits: { |
| 138 frequency: { | 138 frequency: { |
| 139 minValue: 0, | 139 minValue: -sampleRate / 2, |
| 140 maxValue: sampleRate / 2 | 140 maxValue: sampleRate / 2 |
| 141 }, | 141 }, |
| 142 detune: { | 142 detune: { |
| 143 minValue: -mostPositiveFloat, | 143 minValue: -mostPositiveFloat, |
| 144 maxValue: mostPositiveFloat | 144 maxValue: mostPositiveFloat |
| 145 } | 145 } |
| 146 } | 146 } |
| 147 }, { | 147 }, { |
| 148 creator: "createPanner", | 148 creator: "createPanner", |
| 149 args: [], | 149 args: [], |
| (...skipping 306 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 |