Index: LayoutTests/webaudio/oscillator-basic.html |
diff --git a/LayoutTests/webaudio/oscillator-basic.html b/LayoutTests/webaudio/oscillator-basic.html |
index 020ab733ef1ad414be1f845a693160df2c48977e..f8bc55874cd30cb9c839656d75f33f565ea57dc0 100644 |
--- a/LayoutTests/webaudio/oscillator-basic.html |
+++ b/LayoutTests/webaudio/oscillator-basic.html |
@@ -62,10 +62,10 @@ function runTest() |
// Now set a custom oscillator |
var coeffA = new Float32Array([0, 1, 0.5]); |
var coeffB = new Float32Array([0, 0, 0]); |
- var wavetable = context.createWaveTable(coeffA, coeffB); |
- osc.setWaveTable(wavetable); |
+ var wave = context.createPeriodicWave(coeffA, coeffB); |
+ osc.setPeriodicWave(wave); |
if (osc.type == "custom") |
- testPassed("Oscillator correctly set to CUSTOM type using setWaveTable."); |
+ testPassed("Oscillator correctly set to CUSTOM type using setPeriodicWave."); |
else |
testFailed("Oscillator set to CUSTOM type, but returns " + oscTypes[osc.type].name + " type."); |