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

Unified Diff: LayoutTests/webaudio/distance-exponential.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/delaynode-scheduling.html ('k') | LayoutTests/webaudio/distance-inverse.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « LayoutTests/webaudio/delaynode-scheduling.html ('k') | LayoutTests/webaudio/distance-inverse.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698