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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/DynamicsCompressor/dynamicscompressor-basic.html

Issue 2804103002: Throw when testharness::done() is called by layout test code (Closed)
Patch Set: Created 3 years, 8 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/testharness.js"></script> 5 <script src="../../resources/testharness.js"></script>
6 <script src="../../resources/testharnessreport.js"></script> 6 <script src="../../resources/testharnessreport.js"></script>
7 <script src="../resources/audit-util.js"></script> 7 <script src="../resources/audit-util.js"></script>
8 <script src="../resources/audit.js"></script> 8 <script src="../resources/audit.js"></script>
9 </head> 9 </head>
10 10
(...skipping 19 matching lines...) Expand all
30 .beEqualTo(12); 30 .beEqualTo(12);
31 should(compressor.attack.value, "compressor.attack.value") 31 should(compressor.attack.value, "compressor.attack.value")
32 .beEqualTo(Math.fround(0.003)); 32 .beEqualTo(Math.fround(0.003));
33 should(compressor.release.value, "compressor.release.value") 33 should(compressor.release.value, "compressor.release.value")
34 .beEqualTo(0.25); 34 .beEqualTo(0.25);
35 should(typeof compressor.reduction, "typeof compressor.reduction") 35 should(typeof compressor.reduction, "typeof compressor.reduction")
36 .beEqualTo("number"); 36 .beEqualTo("number");
37 should(compressor.reduction, "compressor.reduction") 37 should(compressor.reduction, "compressor.reduction")
38 .beEqualTo(0); 38 .beEqualTo(0);
39 39
40 done(); 40 task.done();
41 }); 41 });
42 42
43 audit.run(); 43 audit.run();
44 44
45 </script> 45 </script>
46 46
47 </body> 47 </body>
48 </html> 48 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698