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

Unified Diff: LayoutTests/webaudio/delaynode.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/delaynode.html
diff --git a/LayoutTests/webaudio/delaynode.html b/LayoutTests/webaudio/delaynode.html
index a62b75fc22677c3fc9722d4229c10c20d4ee1efe..c069e03a2f20b1f3e50e142022817450be5c11ad 100644
--- a/LayoutTests/webaudio/delaynode.html
+++ b/LayoutTests/webaudio/delaynode.html
@@ -3,6 +3,7 @@
<html>
<head>
<script src="../resources/js-test.js"></script>
+<script src="resources/compatibility.js"></script>
<script src="resources/audio-testing.js"></script>
<script src="resources/delay-testing.js"></script>
</head>
@@ -24,7 +25,7 @@ function runTest() {
window.jsTestIsAsync = true;
// Create offline audio context.
- var context = new webkitOfflineAudioContext(1, sampleRate * renderLengthSeconds, sampleRate);
+ var context = new OfflineAudioContext(1, sampleRate * renderLengthSeconds, sampleRate);
var toneBuffer = createToneBuffer(context, 20, 20 * toneLengthSeconds, sampleRate); // 20Hz tone
var bufferSource = context.createBufferSource();
« no previous file with comments | « LayoutTests/webaudio/decode-audio-data-basic.html ('k') | LayoutTests/webaudio/delaynode-max-default-delay.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698