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

Unified Diff: LayoutTests/webaudio/realtimeanalyser-fft-sizing.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/realtimeanalyser-fft-sizing.html
diff --git a/LayoutTests/webaudio/realtimeanalyser-fft-sizing.html b/LayoutTests/webaudio/realtimeanalyser-fft-sizing.html
index b7f42561fadb8cff3397bb451fe0732c7e2585fc..797e5cd83259e82dabb23336685b026e36044d46 100644
--- a/LayoutTests/webaudio/realtimeanalyser-fft-sizing.html
+++ b/LayoutTests/webaudio/realtimeanalyser-fft-sizing.html
@@ -3,6 +3,7 @@
<html>
<head>
<script src="../resources/js-test.js"></script>
+<script src="resources/compatibility.js"></script>
<script src="resources/audio-testing.js"></script>
</head>
@@ -19,7 +20,7 @@ if (window.testRunner) {
}
var doTest = function(fftSize, illegal) {
- var c = new webkitOfflineAudioContext(1, 1000, 44100);
+ var c = new OfflineAudioContext(1, 1000, 44100);
var a = c.createAnalyser();
try {
a.fftSize = fftSize;
@@ -48,7 +49,7 @@ for (var i = 2; i <= 0x20000; i *= 2) {
if (window.testRunner)
testRunner.notifyDone();
-testPassed("webkitAudioContext survived multiple invalid FFT array resizings.");
+testPassed("AudioContext survived multiple invalid FFT array resizings.");
</script>
</body>
« no previous file with comments | « LayoutTests/webaudio/realtimeanalyser-fft-scaling.html ('k') | LayoutTests/webaudio/realtimeanalyser-fft-sizing-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698