Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / webaudio / gain-basic.html
index d5734e5..4d47970 100644 (file)
@@ -6,7 +6,7 @@ Verifies GainNode attributes and their type.
 
 <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>
@@ -24,7 +24,7 @@ function runTest() {
     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.");