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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/ConstantSource/constant-source-basic.html

Issue 2581463002: Refactor WebAudio test directory (Closed)
Patch Set: Use correct path for wav result files 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>Basic ConstantSourceNode Tests</title> 4 <title>Basic ConstantSourceNode Tests</title>
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/audio-testing.js"></script> 8 <script src="../resources/audio-testing.js"></script>
9 </head> 9 </head>
10 10
11 <body> 11 <body>
12 <script> 12 <script>
13 var context = new AudioContext(); 13 var context = new AudioContext();
14 14
15 var audit = Audit.createTaskRunner(); 15 var audit = Audit.createTaskRunner();
16 16
17 audit.defineTask("createConstantSource()", function (taskDone) { 17 audit.defineTask("createConstantSource()", function (taskDone) {
18 var node; 18 var node;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 success = Should("node.offset.maxValue", node.offset.maxValue) 80 success = Should("node.offset.maxValue", node.offset.maxValue)
81 .beEqualTo(Math.fround(3.4028235e38)) && success; 81 .beEqualTo(Math.fround(3.4028235e38)) && success;
82 82
83 return success; 83 return success;
84 } 84 }
85 85
86 audit.runTasks(); 86 audit.runTasks();
87 </script> 87 </script>
88 </body> 88 </body>
89 </html> 89 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698