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

Unified Diff: LayoutTests/webaudio/audiochannelmerger-stereo.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/audiochannelmerger-basic.html ('k') | LayoutTests/webaudio/audiochannelsplitter.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/webaudio/audiochannelmerger-stereo.html
diff --git a/LayoutTests/webaudio/audiochannelmerger-stereo.html b/LayoutTests/webaudio/audiochannelmerger-stereo.html
index e480903175a0ac95508cc70123f7b0c200deb58a..4736b25c057dda875d87e5028785b0316d64fc1c 100644
--- a/LayoutTests/webaudio/audiochannelmerger-stereo.html
+++ b/LayoutTests/webaudio/audiochannelmerger-stereo.html
@@ -7,6 +7,7 @@ Tests that that we can merge two mono streams into a stereo stream.
<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>
<script type="text/javascript" src="resources/buffer-loader.js"></script>
</head>
@@ -78,7 +79,7 @@ function runTest() {
window.jsTestIsAsync = true;
// Create stereo offline audio context.
- context = new webkitOfflineAudioContext(2, lengthInSampleFrames, sampleRate);
+ context = new OfflineAudioContext(2, lengthInSampleFrames, sampleRate);
// Create two mono buffers, one having all -1 values, the other all +1.
buffer1 = createBufferWithDCOffset(lengthInSampleFrames, sampleRate, -1);
« no previous file with comments | « LayoutTests/webaudio/audiochannelmerger-basic.html ('k') | LayoutTests/webaudio/audiochannelsplitter.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698