OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 | 2 |
3 <!-- | 3 <!-- |
4 Verifies GainNode attributes and their type. | 4 Verifies GainNode attributes and their type. |
5 --> | 5 --> |
6 | 6 |
7 <html> | 7 <html> |
8 <head> | 8 <head> |
9 <script src="../fast/js/resources/js-test-pre.js"></script> | 9 <script src="../fast/js/resources/js-test-pre.js"></script> |
10 <script type="text/javascript" src="resources/audio-testing.js"></script> | 10 <script type="text/javascript" src="resources/audio-testing.js"></script> |
(...skipping 16 matching lines...) Expand all Loading... |
27 var gainNode = context.createGainNode(); | 27 var gainNode = context.createGainNode(); |
28 | 28 |
29 if (gainNode.gain.toString().indexOf("AudioParam") > -1) | 29 if (gainNode.gain.toString().indexOf("AudioParam") > -1) |
30 testPassed("gain is of AudioParam type."); | 30 testPassed("gain is of AudioParam type."); |
31 else | 31 else |
32 testFailed("gain is not of AudioParam type."); | 32 testFailed("gain is not of AudioParam type."); |
33 } | 33 } |
34 | 34 |
35 runTest(); | 35 runTest(); |
36 </script> | 36 </script> |
37 <script src="../fast/js/resources/js-test-post.js"></script> | |
38 | 37 |
39 </body> | 38 </body> |
40 </html> | 39 </html> |
OLD | NEW |