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

Unified Diff: LayoutTests/webaudio/audiobuffersource-playbackState.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-playbackState.html
diff --git a/LayoutTests/webaudio/audiobuffersource-playbackState.html b/LayoutTests/webaudio/audiobuffersource-playbackState.html
index 6486f4d0725794023109a8b94906b35cf9145d0e..a5b50dea9ee37ca90cbaf06f0148986b4a0bc049 100644
--- a/LayoutTests/webaudio/audiobuffersource-playbackState.html
+++ b/LayoutTests/webaudio/audiobuffersource-playbackState.html
@@ -3,6 +3,7 @@
<head>
<script src="resources/audio-testing.js"></script>
<script src="../resources/js-test.js"></script>
+<script src="resources/compatibility.js"></script>
</head>
<body>
@@ -105,7 +106,7 @@ function runTest()
window.jsTestIsAsync = true;
// Create offline audio context, rendering for renderTime seconds.
- context = new webkitOfflineAudioContext(2, timeToSampleFrame(renderTime, sampleRate), sampleRate);
+ context = new OfflineAudioContext(2, timeToSampleFrame(renderTime, sampleRate), sampleRate);
// This is only used so we can access the playback state constants.
var bufferSource = context.createBufferSource();
« no previous file with comments | « LayoutTests/webaudio/audiobuffersource-multi-channels.html ('k') | LayoutTests/webaudio/audiobuffersource-playbackrate.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698