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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/WaveShaper/waveshaper-oversample-2x.html

Issue 2599873003: Remove compatibility.js from WebAudio tests (Closed)
Patch Set: Rebasing Created 3 years, 11 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 2
3 <html> 3 <html>
4 <head> 4 <head>
5 <script src="../../resources/js-test.js"></script> 5 <script src="../../resources/js-test.js"></script>
6 <script src="../resources/compatibility.js"></script>
7 <script src="../resources/audit-util.js"></script> 6 <script src="../resources/audit-util.js"></script>
8 <script src="../resources/audio-testing.js"></script> 7 <script src="../resources/audio-testing.js"></script>
9 <script type="text/javascript" src="../resources/mix-testing.js"></script> 8 <script type="text/javascript" src="../resources/mix-testing.js"></script>
10 <script type="text/javascript" src="../resources/waveshaper-testing.js"></script > 9 <script type="text/javascript" src="../resources/waveshaper-testing.js"></script >
11 </head> 10 </head>
12 11
13 <body> 12 <body>
14 13
15 <div id="description"></div> 14 <div id="description"></div>
16 <div id="console"></div> 15 <div id="console"></div>
17 16
18 <script> 17 <script>
19 description("Tests 2x WaveShaperNode oversampling."); 18 description("Tests 2x WaveShaperNode oversampling.");
20 19
21 var testParams = { 20 var testParams = {
22 "sampleRate": 44100, 21 "sampleRate": 44100,
23 "oversample": "2x", 22 "oversample": "2x",
24 23
25 // Should generate harmonics at 9000, 18000, 27000, 36000 24 // Should generate harmonics at 9000, 18000, 27000, 36000
26 // The last two should be filtered out with the 2x oversampling. 25 // The last two should be filtered out with the 2x oversampling.
27 "fundamentalFrequency": 9000, 26 "fundamentalFrequency": 9000,
28 "acceptableAliasingThresholdDecibels": -75.3 27 "acceptableAliasingThresholdDecibels": -75.3
29 }; 28 };
30 runWaveShaperOversamplingTest(testParams); 29 runWaveShaperOversamplingTest(testParams);
31 30
32 </script> 31 </script>
33 32
34 </body> 33 </body>
35 </html> 34 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698