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

Unified Diff: LayoutTests/webaudio/note-grain-on-timing.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/note-grain-on-timing.html
diff --git a/LayoutTests/webaudio/note-grain-on-timing.html b/LayoutTests/webaudio/note-grain-on-timing.html
index c96ca9701398ae37136db3b33e3f70a5bf604afd..543f8b9ecef6d8907b36d268b166da0c3b410d3f 100644
--- a/LayoutTests/webaudio/note-grain-on-timing.html
+++ b/LayoutTests/webaudio/note-grain-on-timing.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>
@@ -44,7 +45,7 @@
window.jsTestIsAsync = true;
// Create offline audio context.
- context = new webkitOfflineAudioContext(2, sampleRate * renderTime, sampleRate);
+ context = new OfflineAudioContext(2, sampleRate * renderTime, sampleRate);
squarePulseBuffer = createSignalBuffer(context, function (k) { return 1 });
« no previous file with comments | « LayoutTests/webaudio/note-grain-on-play.html ('k') | LayoutTests/webaudio/offlineaudiocontext-constructor.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698