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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/AudioNode/channel-mode-interp-basic.html

Issue 2581463002: Refactor WebAudio test directory (Closed)
Patch Set: Use correct path for wav result files Created 3 years, 12 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 Setting of channelCountMode and channelInterpretation</title> 4 <title>Test Setting of channelCountMode and channelInterpretation</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 // Fairly arbitrary sample rate and number of frames, except the number of 13 // Fairly arbitrary sample rate and number of frames, except the number of
14 // frames should be more than a few render quantums. 14 // frames should be more than a few render quantums.
15 var sampleRate = 16000; 15 var sampleRate = 16000;
16 var renderFrames = 10 * 128; 16 var renderFrames = 10 * 128;
17 17
18 var audit = Audit.createTaskRunner(); 18 var audit = Audit.createTaskRunner();
(...skipping 30 matching lines...) Expand all
49 // After rendering, the value should have been changed. 49 // After rendering, the value should have been changed.
50 Should("After rendering node.channelCountMode", 50 Should("After rendering node.channelCountMode",
51 node.channelCountMode) 51 node.channelCountMode)
52 .beEqualTo("explicit"); 52 .beEqualTo("explicit");
53 }).then(taskDone); 53 }).then(taskDone);
54 }); 54 });
55 audit.runTasks(); 55 audit.runTasks();
56 </script> 56 </script>
57 </body> 57 </body>
58 </html> 58 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698