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

Unified Diff: LayoutTests/webaudio/oscillator-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
« no previous file with comments | « LayoutTests/webaudio/oscillator-basic.html ('k') | LayoutTests/webaudio/panner-equalpower.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/webaudio/oscillator-ended.html
diff --git a/LayoutTests/webaudio/oscillator-ended.html b/LayoutTests/webaudio/oscillator-ended.html
index 19fdc1a46a30786cecb909a2e45368701df5c649..66f80b95dc0e328f6d5aa535b9057e5d069072a7 100644
--- a/LayoutTests/webaudio/oscillator-ended.html
+++ b/LayoutTests/webaudio/oscillator-ended.html
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<head>
<script src="../resources/js-test.js"></script>
+ <script src="resources/compatibility.js"></script>
<script src="resources/audio-testing.js"></script>
<script src="resources/audiobuffersource-testing.js"></script>
<script>
@@ -16,7 +17,7 @@
var sampleRate = 44100.0;
var lengthInSeconds = 0.1;
- context = new webkitOfflineAudioContext(1, sampleRate * lengthInSeconds, sampleRate);
+ context = new OfflineAudioContext(1, sampleRate * lengthInSeconds, sampleRate);
osc = context.createOscillator();
osc.type = "sine";
osc.connect(context.destination);
« no previous file with comments | « LayoutTests/webaudio/oscillator-basic.html ('k') | LayoutTests/webaudio/panner-equalpower.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698