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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/realtimeanalyser-freq-data.html

Issue 2567713002: Separating layout test utilities into audit-util.js (Closed)
Patch Set: Created 4 years 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 unified diff | Download patch
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../resources/js-test.js"></script> 4 <script src="../resources/js-test.js"></script>
5 <script src="resources/compatibility.js"></script> 5 <script src="resources/compatibility.js"></script>
6 <script src="resources/audit-util.js"></script>
6 <script src="resources/audio-testing.js"></script> 7 <script src="resources/audio-testing.js"></script>
7 <script src="resources/realtimeanalyser-testing.js"></script> 8 <script src="resources/realtimeanalyser-testing.js"></script>
8 <script src="resources/fft.js"></script> 9 <script src="resources/fft.js"></script>
9 <title>Test Analyser getFloatFrequencyData and getByteFrequencyData, No Smoo thing</title> 10 <title>Test Analyser getFloatFrequencyData and getByteFrequencyData, No Smoo thing</title>
10 </head> 11 </head>
11 12
12 <body> 13 <body>
13 <script> 14 <script>
14 description("Test AnalyserNode getFloatFrequencyData and getByteFrequencyD ata, no Smoothing"); 15 description("Test AnalyserNode getFloatFrequencyData and getByteFrequencyD ata, no Smoothing");
15 window.jsTestIsAsync = true; 16 window.jsTestIsAsync = true;
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 basicTestsPassed = Should(analyser.fftSize + "-point byte FFT", byteFr eqData) 206 basicTestsPassed = Should(analyser.fftSize + "-point byte FFT", byteFr eqData)
206 .beCloseToArray(expectedByteData, 0) && basicTestsPassed; 207 .beCloseToArray(expectedByteData, 0) && basicTestsPassed;
207 208
208 }).then(context.resume.bind(context)); 209 }).then(context.resume.bind(context));
209 210
210 return context.startRendering(); 211 return context.startRendering();
211 } 212 }
212 </script> 213 </script>
213 </body> 214 </body>
214 </html> 215 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698