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

Side by Side Diff: LayoutTests/webaudio/pannernode-basic.html

Issue 176873003: Remove type of panningModelType "soundfield". (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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 | Source/bindings/v8/custom/V8PannerNodeCustom.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 <script src="../resources/js-test.js"></script> 4 <script src="../resources/js-test.js"></script>
5 <script src="resources/audio-testing.js"></script> 5 <script src="resources/audio-testing.js"></script>
6 </head> 6 </head>
7 7
8 <body> 8 <body>
9 <div id="description"></div> 9 <div id="description"></div>
10 <div id="console"></div> 10 <div id="console"></div>
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 testFailed("PannerNode should default to 'HRTF' panningModel."); 107 testFailed("PannerNode should default to 'HRTF' panningModel.");
108 108
109 if (panner.distanceModel === "inverse") 109 if (panner.distanceModel === "inverse")
110 testPassed("PannerNode defaults to 'inverse' distanceModel."); 110 testPassed("PannerNode defaults to 'inverse' distanceModel.");
111 else 111 else
112 testFailed("PannerNode should default to 'inverse' distanceModel."); 112 testFailed("PannerNode should default to 'inverse' distanceModel.");
113 113
114 // Check that the .panningModel attribute can be set to all legal values. 114 // Check that the .panningModel attribute can be set to all legal values.
115 var panningModels = [{value: "equalpower", integerValue: panner.EQUALPOWER}, 115 var panningModels = [{value: "equalpower", integerValue: panner.EQUALPOWER},
116 {value: "HRTF", integerValue: panner.HRTF}, 116 {value: "HRTF", integerValue: panner.HRTF},
117 // FIXME: enable "soundfield" once feature is implement ed: https://bugs.webkit.org/show_bug.cgi?id=77367
118 // {value: "soundfield", integerValue: panner.SOUNDFIEL D}
119 ]; 117 ];
120 118
121 for (var i = 0; i < panningModels.length; ++i) { 119 for (var i = 0; i < panningModels.length; ++i) {
122 try { 120 try {
123 panner.panningModel = panningModels[i].value; 121 panner.panningModel = panningModels[i].value;
124 if (panner.panningModel === panningModels[i].value) { 122 if (panner.panningModel === panningModels[i].value) {
125 var message = "panningModel: '" + panningModels[i].value + "' is settable."; 123 var message = "panningModel: '" + panningModels[i].value + "' is settable.";
126 testPassed(message); 124 testPassed(message);
127 } else { 125 } else {
128 var message = "panningModel: '" + panningModels[i].value + "' wa s not correctly set."; 126 var message = "panningModel: '" + panningModels[i].value + "' wa s not correctly set.";
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 196
199 finishJSTest(); 197 finishJSTest();
200 } 198 }
201 199
202 runTest(); 200 runTest();
203 201
204 </script> 202 </script>
205 203
206 </body> 204 </body>
207 </html> 205 </html>
OLDNEW
« no previous file with comments | « no previous file | Source/bindings/v8/custom/V8PannerNodeCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698