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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/osc-low-freq.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 <title>Test Custom Oscillator at Very Low Frequency</title> 4 <title>Test Custom Oscillator at Very Low Frequency</title>
5 <script src="../resources/js-test.js"></script> 5 <script src="../resources/js-test.js"></script>
6 <script src="resources/compatibility.js"></script> 6 <script src="resources/compatibility.js"></script>
7 <script src="resources/audit-util.js"></script>
7 <script src="resources/audio-testing.js"></script> 8 <script src="resources/audio-testing.js"></script>
8 </head> 9 </head>
9 10
10 <body> 11 <body>
11 <script> 12 <script>
12 description("Test Custom Oscillator at Very Low Frequency"); 13 description("Test Custom Oscillator at Very Low Frequency");
13 window.jsTestIsAsync = true; 14 window.jsTestIsAsync = true;
14 15
15 // Create a custom oscillator and verify that the parts of a periodic wave that should be 16 // Create a custom oscillator and verify that the parts of a periodic wave that should be
16 // ignored really are ignored. 17 // ignored really are ignored.
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 context.startRendering().then(function (buffer) { 81 context.startRendering().then(function (buffer) {
81 checkCosineResult(buffer, desiredFrequencyHz, sampleRate); 82 checkCosineResult(buffer, desiredFrequencyHz, sampleRate);
82 }).then(finishJSTest); 83 }).then(finishJSTest);
83 }; 84 };
84 85
85 runTest(); 86 runTest();
86 successfullyParsed = true; 87 successfullyParsed = true;
87 </script> 88 </script>
88 </body> 89 </body>
89 </html> 90 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698