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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/mediastreamaudiodestinationnode.html

Issue 1464673002: Support multichannel audio stream more than 2 in MediaStreamDestinationNode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed intdentation Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/webaudio/mediastreamaudiodestinationnode.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/mediastreamaudiodestinationnode.html b/third_party/WebKit/LayoutTests/webaudio/mediastreamaudiodestinationnode.html
index 6822fba9e619b1383ac4cd3b5bec229e3a85488a..26f8e6af8d8dc1b42742318d3b85a59e1c5a470d 100644
--- a/third_party/WebKit/LayoutTests/webaudio/mediastreamaudiodestinationnode.html
+++ b/third_party/WebKit/LayoutTests/webaudio/mediastreamaudiodestinationnode.html
@@ -29,6 +29,11 @@ function runTest() {
// MediaStreamAudioDestinationNode should inherit AudioNode.
shouldBe('mediaStreamDestination.__proto__.__proto__', 'AudioNode.prototype');
+ // Check the channel count boundary of 8.
+ Should('Setting the channel count beyond 8', function () {
+ mediaStreamDestination.channelCount = 9;
+ }).throw('IndexSizeError');
+
// Check number of inputs and outputs.
if (mediaStreamDestination.numberOfInputs == 1)
testPassed("Destination AudioNode has one input.");

Powered by Google App Engine
This is Rietveld 408576698