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

Unified Diff: LayoutTests/webaudio/resources/oscillator-testing.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/oscillator-testing.js
diff --git a/LayoutTests/webaudio/resources/oscillator-testing.js b/LayoutTests/webaudio/resources/oscillator-testing.js
index 158306aacd50d4ce060cda5e73794e336fd91041..ae01db8131b16418d5af9a788a2f5e64f72d2fe8 100644
--- a/LayoutTests/webaudio/resources/oscillator-testing.js
+++ b/LayoutTests/webaudio/resources/oscillator-testing.js
@@ -27,7 +27,7 @@ var OSC = {
function generateExponentialOscillatorSweep(oscillatorType) {
// Create offline audio context.
- context = new webkitOfflineAudioContext(1, sampleRate * lengthInSeconds, sampleRate);
+ context = new OfflineAudioContext(1, sampleRate * lengthInSeconds, sampleRate);
var osc = context.createOscillator();
if (oscillatorType == OSC.CUSTOM) {
« no previous file with comments | « LayoutTests/webaudio/resources/compatibility.js ('k') | LayoutTests/webaudio/resources/scriptprocessornode-testing.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698