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/audionode-channel-rules.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/audionode.html ('k') | LayoutTests/webaudio/audionode-connect-order.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/webaudio/audionode-channel-rules.html
diff --git a/LayoutTests/webaudio/audionode-channel-rules.html b/LayoutTests/webaudio/audionode-channel-rules.html
index 768ac3b6ac3890e0349254f2f9420c1a2d17a83b..7dcce636591b8f81e9fcc5907ebcb4af333ce582 100644
--- a/LayoutTests/webaudio/audionode-channel-rules.html
+++ b/LayoutTests/webaudio/audionode-channel-rules.html
@@ -3,6 +3,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>
@@ -282,7 +283,7 @@ function runTest() {
// Create 8-channel offline audio context.
// Each test will render 8 sample-frames starting at sample-frame position testNumber * 8.
var totalFrameLength = numberOfTests * singleTestFrameLength;
- context = new webkitOfflineAudioContext(renderNumberOfChannels, totalFrameLength, sampleRate);
+ context = new OfflineAudioContext(renderNumberOfChannels, totalFrameLength, sampleRate);
// Set destination to discrete mixing.
context.destination.channelCount = renderNumberOfChannels;
« no previous file with comments | « LayoutTests/webaudio/audionode.html ('k') | LayoutTests/webaudio/audionode-connect-order.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698