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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-setValueCurve-end.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 <html> 2 <html>
3 <head> 3 <head>
4 <title>Test Automation Following setValueCurveAtTime Automations</title> 4 <title>Test Automation Following setValueCurveAtTime Automations</title>
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 src="../resources/audio-param.js"></script> 8 <script src="../resources/audio-param.js"></script>
10 </head> 9 </head>
11 10
12 <body> 11 <body>
13 <script> 12 <script>
14 description("Test Automation Following setValueCurveAtTime Automations"); 13 description("Test Automation Following setValueCurveAtTime Automations");
15 window.jsTestIsAsync = true; 14 window.jsTestIsAsync = true;
16 15
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 function exponentialRampValue(t, t0, v0, t1, v1) { 150 function exponentialRampValue(t, t0, v0, t1, v1) {
152 return v0 * Math.pow(v1 / v0, (t - t0) / (t1 - t0)); 151 return v0 * Math.pow(v1 / v0, (t - t0) / (t1 - t0));
153 } 152 }
154 153
155 function setTargetValue(t, t0, v0, v1, timeConstant) { 154 function setTargetValue(t, t0, v0, v1, timeConstant) {
156 return v1 + (v0 - v1) * Math.exp(-(t - t0) / timeConstant) 155 return v1 + (v0 - v1) * Math.exp(-(t - t0) / timeConstant)
157 } 156 }
158 </script> 157 </script>
159 </body> 158 </body>
160 </html> 159 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698