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

Unified Diff: LayoutTests/webaudio/resources/audio-codec-test.js

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
Index: LayoutTests/webaudio/resources/audio-codec-test.js
diff --git a/LayoutTests/webaudio/resources/audio-codec-test.js b/LayoutTests/webaudio/resources/audio-codec-test.js
index e4148aae3fb0262cb9f8be4e2dd16699ecb80e64..9393a315db29e01d4d25cf8283f65eb7ba6c75e6 100644
--- a/LayoutTests/webaudio/resources/audio-codec-test.js
+++ b/LayoutTests/webaudio/resources/audio-codec-test.js
@@ -14,7 +14,7 @@ function runDecodingTest(url, optionalSampleRate)
var sampleRate = (typeof optionalSampleRate === "undefined") ? defaultSampleRate : optionalSampleRate;
// Create offline audio context.
- context = new webkitOfflineAudioContext(1, sampleRate * lengthInSeconds, sampleRate);
+ context = new OfflineAudioContext(1, sampleRate * lengthInSeconds, sampleRate);
bufferLoader = new BufferLoader(
context,
« no previous file with comments | « LayoutTests/webaudio/realtimeanalyser-float-data.html ('k') | LayoutTests/webaudio/resources/audioparam-testing.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698