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

Unified Diff: LayoutTests/webaudio/audioparam-connect-audioratesignal.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/audioparam-connect-audioratesignal.html
diff --git a/LayoutTests/webaudio/audioparam-connect-audioratesignal.html b/LayoutTests/webaudio/audioparam-connect-audioratesignal.html
index 2a3dfbd04d68d64ef781e83df514b65f25206f79..f2619593f7a21251ed7b442bf562a59eb10fa6be 100644
--- a/LayoutTests/webaudio/audioparam-connect-audioratesignal.html
+++ b/LayoutTests/webaudio/audioparam-connect-audioratesignal.html
@@ -11,6 +11,7 @@ Thus it's easy to check that the resultant signal should be equal to the gain-sc
<html>
<head>
+<script src="resources/compatibility.js"></script>
<script src="resources/audio-testing.js"></script>
<script src="../resources/js-test.js"></script>
@@ -68,7 +69,7 @@ function runTest() {
var sampleFrameLength = sampleRate * lengthInSeconds;
// Create offline audio context.
- context = new webkitOfflineAudioContext(1, sampleFrameLength, sampleRate);
+ context = new OfflineAudioContext(1, sampleFrameLength, sampleRate);
// Create buffer used by the source which will have its gain controlled.
constantOneBuffer = createConstantBuffer(context, sampleFrameLength, 1);
« no previous file with comments | « LayoutTests/webaudio/audionode-connect-order.html ('k') | LayoutTests/webaudio/audioparam-exponentialRampToValueAtTime.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698