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

Unified Diff: LayoutTests/webaudio/audiobuffersource-ended.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-ended.html
diff --git a/LayoutTests/webaudio/audiobuffersource-ended.html b/LayoutTests/webaudio/audiobuffersource-ended.html
index 6a500b2c8aa8ec7167876915977c31c2350ce20d..3b0d8130d8d27329f7ed6ac26413850123d8fa2a 100644
--- a/LayoutTests/webaudio/audiobuffersource-ended.html
+++ b/LayoutTests/webaudio/audiobuffersource-ended.html
@@ -2,6 +2,7 @@
<head>
<script src="../resources/js-test.js"></script>
<script src="resources/audio-testing.js"></script>
+ <script src="resources/compatibility.js"></script>
<script src="resources/audiobuffersource-testing.js"></script>
<script>
var context;
@@ -16,7 +17,7 @@
var sampleRate = 44100.0;
var numberOfFrames = 32;
- context = new webkitOfflineAudioContext(1, numberOfFrames, sampleRate);
+ context = new OfflineAudioContext(1, numberOfFrames, sampleRate);
source = context.createBufferSource();
source.buffer = createTestBuffer(context, numberOfFrames);
source.connect(context.destination);
« no previous file with comments | « LayoutTests/webaudio/audiobuffersource-channels.html ('k') | LayoutTests/webaudio/audiobuffersource-loop-comprehensive.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698