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

Unified Diff: LayoutTests/webaudio/dynamicscompressor-simple.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/dynamicscompressor-basic.html ('k') | LayoutTests/webaudio/gain.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/webaudio/dynamicscompressor-simple.html
diff --git a/LayoutTests/webaudio/dynamicscompressor-simple.html b/LayoutTests/webaudio/dynamicscompressor-simple.html
index b4000d21e8b656ee9a898138347f1a3c2abf05f8..827c01caf94f5b85920a200cd260ef94774867d1 100644
--- a/LayoutTests/webaudio/dynamicscompressor-simple.html
+++ b/LayoutTests/webaudio/dynamicscompressor-simple.html
@@ -2,6 +2,7 @@
<html>
<head>
<script src="../resources/js-test.js"></script>
+ <script src="resources/compatibility.js"></script>
<script type="text/javascript" src="resources/audio-testing.js"></script>
</head>
@@ -53,7 +54,7 @@
window.jsTestIsAsync = true;
- context = new webkitOfflineAudioContext(1, sampleRate * lengthInSeconds, sampleRate);
+ context = new OfflineAudioContext(1, sampleRate * lengthInSeconds, sampleRate);
// Connect an oscillator to a gain node to the compressor. The
// oscillator frequency is set to a high value for the (original)
// emphasis to kick in. The gain is a little extra boost to get the
« no previous file with comments | « LayoutTests/webaudio/dynamicscompressor-basic.html ('k') | LayoutTests/webaudio/gain.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698