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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/DynamicsCompressor/dynamicscompressor-clear-internal-state.html

Issue 2895963003: Apply layout-test-tidy to LayoutTests/webaudio (Closed)
Patch Set: Created 3 years, 7 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 <html> 2 <html>
3 <head> 3 <head>
4 <title>Validate Reduction Value of DynamicsComporessor after Disabling</titl e> 4 <title>
5 Validate Reduction Value of DynamicsComporessor after Disabling
6 </title>
5 <script src="../../resources/testharness.js"></script> 7 <script src="../../resources/testharness.js"></script>
6 <script src="../../resources/testharnessreport.js"></script> 8 <script src="../../resources/testharnessreport.js"></script>
7 <script src="../resources/audit-util.js"></script> 9 <script src="../resources/audit-util.js"></script>
8 <script src="../resources/audit.js"></script> 10 <script src="../resources/audit.js"></script>
9 </head> 11 </head>
10
11 <body> 12 <body>
12 <script> 13 <script id="layout-test-code">
13 let audit = Audit.createTaskRunner(); 14 let audit = Audit.createTaskRunner();
14 let context; 15 let context;
15 let buffer; 16 let buffer;
16 let source; 17 let source;
17 let compressor; 18 let compressor;
18 19
19 let sampleRate = 44100; 20 let sampleRate = 44100;
20 let testDurationSamples = 44100; 21 let testDurationSamples = 44100;
21 22
22 audit.define( 23 audit.define(
(...skipping 25 matching lines...) Expand all
48 // Check that the reduction value is 0.0. 49 // Check that the reduction value is 0.0.
49 should(compressor.reduction, 'compressor.reduction').beEqualTo(0); 50 should(compressor.reduction, 'compressor.reduction').beEqualTo(0);
50 task.done(); 51 task.done();
51 }); 52 });
52 }); 53 });
53 54
54 audit.run(); 55 audit.run();
55 </script> 56 </script>
56 </body> 57 </body>
57 </html> 58 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698