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

Unified Diff: LayoutTests/webaudio/note-grain-on-play.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/mixing.html ('k') | LayoutTests/webaudio/note-grain-on-timing.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/webaudio/note-grain-on-play.html
diff --git a/LayoutTests/webaudio/note-grain-on-play.html b/LayoutTests/webaudio/note-grain-on-play.html
index 702641549ab079fe0dea63001aea5d367d90b71c..6f6c3d9c34ae63c6c62266c0269347b80005a2ed 100644
--- a/LayoutTests/webaudio/note-grain-on-play.html
+++ b/LayoutTests/webaudio/note-grain-on-play.html
@@ -1,6 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
+ <script src="resources/compatibility.js"></script>
<script src="resources/audio-testing.js"></script>
<script src="resources/note-grain-on-testing.js"></script>
<script src="../resources/js-test.js"></script>
@@ -107,7 +108,7 @@
window.jsTestIsAsync = true;
// Create offline audio context.
- context = new webkitOfflineAudioContext(2, sampleRate * renderTime, sampleRate);
+ context = new OfflineAudioContext(2, sampleRate * renderTime, sampleRate);
// Create a linear ramp for testing noteGrainOn.
linearRampBuffer = createSignalBuffer(context,
« no previous file with comments | « LayoutTests/webaudio/mixing.html ('k') | LayoutTests/webaudio/note-grain-on-timing.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698