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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/constructor/mediastreamaudiodestination.html

Issue 2842213002: MediaStreamAudioDestination channelCountMode is "explicit" (Closed)
Patch Set: Update test Created 3 years, 7 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/webaudio/MediaStreamAudioDestinationNode.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>Test Constructor: MediaStreamAudioDestinationNode</title> 4 <title>Test Constructor: MediaStreamAudioDestinationNode</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/audit.js"></script> 8 <script src="../resources/audit.js"></script>
9 <script src="audionodeoptions.js"></script> 9 <script src="audionodeoptions.js"></script>
10 </head> 10 </head>
(...skipping 16 matching lines...) Expand all
27 }); 27 });
28 28
29 audit.define('default constructor', (task, should) => { 29 audit.define('default constructor', (task, should) => {
30 let prefix = 'node0'; 30 let prefix = 'node0';
31 let node = testDefaultConstructor( 31 let node = testDefaultConstructor(
32 should, 'MediaStreamAudioDestinationNode', context, { 32 should, 'MediaStreamAudioDestinationNode', context, {
33 prefix: prefix, 33 prefix: prefix,
34 numberOfInputs: 1, 34 numberOfInputs: 1,
35 numberOfOutputs: 1, 35 numberOfOutputs: 1,
36 channelCount: 2, 36 channelCount: 2,
37 channelCountMode: 'max', 37 channelCountMode: 'explicit',
38 channelInterpretation: 'speakers' 38 channelInterpretation: 'speakers'
39 }); 39 });
40 40
41 testDefaultAttributes(should, node, prefix, []); 41 testDefaultAttributes(should, node, prefix, []);
42 42
43 task.done(); 43 task.done();
44 }); 44 });
45 45
46 audit.define('test AudioNodeOptions', (task, should) => { 46 audit.define('test AudioNodeOptions', (task, should) => {
47 testAudioNodeOptions( 47 testAudioNodeOptions(
48 should, context, 'MediaStreamAudioDestinationNode', { 48 should, context, 'MediaStreamAudioDestinationNode', {
49 channelCount: { 49 channelCount: {
50 // An arbitrary but valid, non-default count for this node. 50 // An arbitrary but valid, non-default count for this node.
51 value: 7 51 value: 7
52 } 52 }
53 }); 53 });
54 task.done(); 54 task.done();
55 }); 55 });
56 56
57 audit.run(); 57 audit.run();
58 </script> 58 </script>
59 </body> 59 </body>
60 </html> 60 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/webaudio/MediaStreamAudioDestinationNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698