Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(242)

Unified Diff: LayoutTests/webaudio/distance-linear.html

Issue 208943004: Update WebAudio layout tests to use unprefixed AudioContext. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add console.log to compatibility.js Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/webaudio/distance-inverse.html ('k') | LayoutTests/webaudio/dom-exceptions.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/webaudio/distance-linear.html
diff --git a/LayoutTests/webaudio/distance-linear.html b/LayoutTests/webaudio/distance-linear.html
index b83cf56d1d31b3235ddd0f0ee4c74b3894984df6..5e2548e60d30bf7ec921189d932c57ccae32437d 100644
--- a/LayoutTests/webaudio/distance-linear.html
+++ b/LayoutTests/webaudio/distance-linear.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);
// Create temp panner to get LINEAR_DISTANCE value for testing.
var pannerModel = context.createPanner();
« no previous file with comments | « LayoutTests/webaudio/distance-inverse.html ('k') | LayoutTests/webaudio/dom-exceptions.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698