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

Unified Diff: LayoutTests/webaudio/convolution-mono-mono.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
Index: LayoutTests/webaudio/convolution-mono-mono.html
diff --git a/LayoutTests/webaudio/convolution-mono-mono.html b/LayoutTests/webaudio/convolution-mono-mono.html
index 5c2858a69f74dee3c92d827ec8d5958edf759a14..8f4cc79afe468326e5fed2a914b9bffd485a0b98 100644
--- a/LayoutTests/webaudio/convolution-mono-mono.html
+++ b/LayoutTests/webaudio/convolution-mono-mono.html
@@ -2,6 +2,7 @@
<html>
<head>
+<script src="resources/compatibility.js"></script>
<script type="text/javascript" src="resources/audio-testing.js"></script>
<script src="../resources/js-test.js"></script>
<script src="resources/convolution-testing.js"></script>
@@ -34,7 +35,7 @@ function runTest() {
window.jsTestIsAsync = true;
// Create offline audio context.
- var context = new webkitOfflineAudioContext(2, sampleRate * renderLengthSeconds, sampleRate);
+ var context = new OfflineAudioContext(2, sampleRate * renderLengthSeconds, sampleRate);
var squarePulse = createSquarePulseBuffer(context, pulseLengthFrames);
var trianglePulse = createTrianglePulseBuffer(context, 2 * pulseLengthFrames);
« no previous file with comments | « LayoutTests/webaudio/biquadfilternode-basic.html ('k') | LayoutTests/webaudio/convolver-setBuffer-null.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698