Index: LayoutTests/webaudio/oscillator-basic.html |
diff --git a/LayoutTests/webaudio/oscillator-basic.html b/LayoutTests/webaudio/oscillator-basic.html |
index 6e7f4daa29cadfcdcd95d1f6c9df9a2ffc52f851..2414fd183d5a75de0405b8a7ce2b4e0cccdb3198 100644 |
--- a/LayoutTests/webaudio/oscillator-basic.html |
+++ b/LayoutTests/webaudio/oscillator-basic.html |
@@ -5,6 +5,7 @@ Create an oscillator of each type and verify that the type is set correctly. |
--> |
<html> |
<head> |
+<script src="resources/compatibility.js"></script> |
<script type="text/javascript" src="resources/audio-testing.js"></script> |
<script type="text/javascript" src="../resources/js-test.js"></script> |
</head> |
@@ -35,7 +36,7 @@ function runTest() |
window.jsTestIsAsync = true; |
// Create offline audio context. |
- var context = new webkitOfflineAudioContext(2, sampleRate * renderLengthSeconds, sampleRate); |
+ var context = new OfflineAudioContext(2, sampleRate * renderLengthSeconds, sampleRate); |
var osc = context.createOscillator(); |
// Set each possible oscillator type (except CUSTOM) and verify that the type is correct. |