| 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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 }, | 166 }, |
| 167 orientationY: { | 167 orientationY: { |
| 168 minValue: -mostPositiveFloat, | 168 minValue: -mostPositiveFloat, |
| 169 maxValue: mostPositiveFloat, | 169 maxValue: mostPositiveFloat, |
| 170 }, | 170 }, |
| 171 orientationZ: { | 171 orientationZ: { |
| 172 minValue: -mostPositiveFloat, | 172 minValue: -mostPositiveFloat, |
| 173 maxValue: mostPositiveFloat, | 173 maxValue: mostPositiveFloat, |
| 174 } | 174 } |
| 175 }, | 175 }, |
| 176 }, { |
| 177 creator: "createConstantSource", |
| 178 args: [], |
| 179 limits: { |
| 180 offset: { |
| 181 minValue: -mostPositiveFloat, |
| 182 maxValue: mostPositiveFloat |
| 183 } |
| 184 } |
| 176 }, | 185 }, |
| 177 // These nodes don't have AudioParams, but we want to test them anyway. A
ny arguments for the | 186 // These nodes don't have AudioParams, but we want to test them anyway. A
ny arguments for the |
| 178 // constructor are pretty much arbitrary; they just need to be valid. | 187 // constructor are pretty much arbitrary; they just need to be valid. |
| 179 { | 188 { |
| 180 creator: "createBuffer", | 189 creator: "createBuffer", |
| 181 args: [1, 1, sampleRate], | 190 args: [1, 1, sampleRate], |
| 182 }, { | 191 }, { |
| 183 creator: "createIIRFilter", | 192 creator: "createIIRFilter", |
| 184 args: [[1,2],[3,4]] | 193 args: [[1,2],[3,4]] |
| 185 }, { | 194 }, { |
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 457 } else { | 466 } else { |
| 458 if (limits) | 467 if (limits) |
| 459 testFailed(nodeName + " has no AudioParams but test expected " + lim
its + ".\n"); | 468 testFailed(nodeName + " has no AudioParams but test expected " + lim
its + ".\n"); |
| 460 else | 469 else |
| 461 testPassed(nodeName + " has no AudioParams as expected.\n"); | 470 testPassed(nodeName + " has no AudioParams as expected.\n"); |
| 462 } | 471 } |
| 463 } | 472 } |
| 464 </script> | 473 </script> |
| 465 </body> | 474 </body> |
| 466 </html> | 475 </html> |
| OLD | NEW |