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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/audioparam-nominal-range.html

Issue 2134813002: Implement ConstantSourceNode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 2 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 <script src="../resources/js-test.js"></script> 4 <script src="../resources/js-test.js"></script>
5 <script src="resources/compatibility.js"></script> 5 <script src="resources/compatibility.js"></script>
6 <script src="resources/audio-testing.js"></script> 6 <script src="resources/audio-testing.js"></script>
7 <title>Test AudioParam Nominal Range Values</title> 7 <title>Test AudioParam Nominal Range Values</title>
8 </head> 8 </head>
9 9
10 <body> 10 <body>
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 }, 166 },
167 orientationY: { 167 orientationY: {
168 minValue: -mostPositiveFloat, 168 minValue: -mostPositiveFloat,
169 maxValue: mostPositiveFloat, 169 maxValue: mostPositiveFloat,
170 }, 170 },
171 orientationZ: { 171 orientationZ: {
172 minValue: -mostPositiveFloat, 172 minValue: -mostPositiveFloat,
173 maxValue: mostPositiveFloat, 173 maxValue: mostPositiveFloat,
174 } 174 }
175 }, 175 },
176 }, {
177 creator: "createConstantSource",
178 args: [],
179 limits: {
180 offset: {
181 minValue: -mostPositiveFloat,
182 maxValue: mostPositiveFloat
183 }
184 }
176 }, 185 },
177 // These nodes don't have AudioParams, but we want to test them anyway. A ny arguments for the 186 // These nodes don't have AudioParams, but we want to test them anyway. A ny arguments for the
178 // constructor are pretty much arbitrary; they just need to be valid. 187 // constructor are pretty much arbitrary; they just need to be valid.
179 { 188 {
180 creator: "createBuffer", 189 creator: "createBuffer",
181 args: [1, 1, sampleRate], 190 args: [1, 1, sampleRate],
182 }, { 191 }, {
183 creator: "createIIRFilter", 192 creator: "createIIRFilter",
184 args: [[1,2],[3,4]] 193 args: [[1,2],[3,4]]
185 }, { 194 }, {
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 } else { 466 } else {
458 if (limits) 467 if (limits)
459 testFailed(nodeName + " has no AudioParams but test expected " + lim its + ".\n"); 468 testFailed(nodeName + " has no AudioParams but test expected " + lim its + ".\n");
460 else 469 else
461 testPassed(nodeName + " has no AudioParams as expected.\n"); 470 testPassed(nodeName + " has no AudioParams as expected.\n");
462 } 471 }
463 } 472 }
464 </script> 473 </script>
465 </body> 474 </body>
466 </html> 475 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698