Index: LayoutTests/webaudio/note-grain-on-play.html |
diff --git a/LayoutTests/webaudio/note-grain-on-play.html b/LayoutTests/webaudio/note-grain-on-play.html |
index 702641549ab079fe0dea63001aea5d367d90b71c..6f6c3d9c34ae63c6c62266c0269347b80005a2ed 100644 |
--- a/LayoutTests/webaudio/note-grain-on-play.html |
+++ b/LayoutTests/webaudio/note-grain-on-play.html |
@@ -1,6 +1,7 @@ |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
<html> |
<head> |
+ <script src="resources/compatibility.js"></script> |
<script src="resources/audio-testing.js"></script> |
<script src="resources/note-grain-on-testing.js"></script> |
<script src="../resources/js-test.js"></script> |
@@ -107,7 +108,7 @@ |
window.jsTestIsAsync = true; |
// Create offline audio context. |
- context = new webkitOfflineAudioContext(2, sampleRate * renderTime, sampleRate); |
+ context = new OfflineAudioContext(2, sampleRate * renderTime, sampleRate); |
// Create a linear ramp for testing noteGrainOn. |
linearRampBuffer = createSignalBuffer(context, |