<html>
<head>
-<script src="../fast/js/resources/js-test-pre.js"></script>
+<script src="../resources/js-test.js"></script>
<script type="text/javascript" src="resources/audio-testing.js"></script>
</head>
var context = new webkitAudioContext();
// Create gain node.
- var gainNode = context.createGainNode();
+ var gainNode = context.createGain();
if (gainNode.gain.toString().indexOf("AudioParam") > -1)
testPassed("gain is of AudioParam type.");