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

Unified Diff: LayoutTests/webaudio/audionode-connect-order.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/audionode-connect-order.html
diff --git a/LayoutTests/webaudio/audionode-connect-order.html b/LayoutTests/webaudio/audionode-connect-order.html
index c2c77d3c10ac6e8fc0ff500ba3a2c73ded2dbc78..bfe80cea6f4dbd6dc503957a7deddb9b2f59a863 100644
--- a/LayoutTests/webaudio/audionode-connect-order.html
+++ b/LayoutTests/webaudio/audionode-connect-order.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>
</head>
@@ -40,7 +41,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 = createSinWaveBuffer(context, renderLengthSeconds, 880);
var bufferSource = context.createBufferSource();
« no previous file with comments | « LayoutTests/webaudio/audionode-channel-rules.html ('k') | LayoutTests/webaudio/audioparam-connect-audioratesignal.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698