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

Unified Diff: LayoutTests/webaudio/oscillator-basic.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/oscillator-basic.html
diff --git a/LayoutTests/webaudio/oscillator-basic.html b/LayoutTests/webaudio/oscillator-basic.html
index 6e7f4daa29cadfcdcd95d1f6c9df9a2ffc52f851..2414fd183d5a75de0405b8a7ce2b4e0cccdb3198 100644
--- a/LayoutTests/webaudio/oscillator-basic.html
+++ b/LayoutTests/webaudio/oscillator-basic.html
@@ -5,6 +5,7 @@ Create an oscillator of each type and verify that the type is set correctly.
-->
<html>
<head>
+<script src="resources/compatibility.js"></script>
<script type="text/javascript" src="resources/audio-testing.js"></script>
<script type="text/javascript" src="../resources/js-test.js"></script>
</head>
@@ -35,7 +36,7 @@ function runTest()
window.jsTestIsAsync = true;
// Create offline audio context.
- var context = new webkitOfflineAudioContext(2, sampleRate * renderLengthSeconds, sampleRate);
+ var context = new OfflineAudioContext(2, sampleRate * renderLengthSeconds, sampleRate);
var osc = context.createOscillator();
// Set each possible oscillator type (except CUSTOM) and verify that the type is correct.
« no previous file with comments | « LayoutTests/webaudio/offlineaudiocontext-constructor-expected.txt ('k') | LayoutTests/webaudio/oscillator-ended.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698