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

Unified Diff: LayoutTests/webaudio/audiobuffersource-loop-comprehensive.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/audiobuffersource-loop-comprehensive.html
diff --git a/LayoutTests/webaudio/audiobuffersource-loop-comprehensive.html b/LayoutTests/webaudio/audiobuffersource-loop-comprehensive.html
index 9ad99dfeaee33355ab22fa527162ffcb31f75049..ecfc1b90be0367d560cd8b0be3b2c990ea7855a7 100644
--- a/LayoutTests/webaudio/audiobuffersource-loop-comprehensive.html
+++ b/LayoutTests/webaudio/audiobuffersource-loop-comprehensive.html
@@ -3,6 +3,7 @@
<html>
<head>
<script src="resources/audio-testing.js"></script>
+<script src="resources/compatibility.js"></script>
<script src="resources/audiobuffersource-testing.js"></script>
<script src="../resources/js-test.js"></script>
</head>
@@ -96,7 +97,7 @@ function runTest() {
window.jsTestIsAsync = true;
// Create offline audio context.
- var context = new webkitOfflineAudioContext(1, totalRenderLengthFrames, sampleRate);
+ var context = new OfflineAudioContext(1, totalRenderLengthFrames, sampleRate);
buffer = createTestBuffer(context, bufferFrameLength);
for (var i = 0; i < tests.length; ++i)
« no previous file with comments | « LayoutTests/webaudio/audiobuffersource-ended.html ('k') | LayoutTests/webaudio/audiobuffersource-loop-points.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698