Index: LayoutTests/webaudio/distance-exponential.html |
diff --git a/LayoutTests/webaudio/distance-exponential.html b/LayoutTests/webaudio/distance-exponential.html |
index a9f5a935925d3b21b7e4295ad0de12559df79e64..9e1bdd1cb9d1b5698c99dde4a90b301a7ec80d5c 100644 |
--- a/LayoutTests/webaudio/distance-exponential.html |
+++ b/LayoutTests/webaudio/distance-exponential.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/js-test.js"></script> |
<script src="resources/distance-model-testing.js"></script> |
@@ -22,7 +23,7 @@ |
window.jsTestIsAsync = true; |
// Create offline audio context. |
- context = new webkitOfflineAudioContext(2, sampleRate * renderLengthSeconds, sampleRate); |
+ context = new OfflineAudioContext(2, sampleRate * renderLengthSeconds, sampleRate); |
// Temp panner node so we can get the EXPONENTIAL_DISTANCE value. |
var tempPanner = context.createPanner(); |