Index: LayoutTests/webaudio/mediastreamaudiodestinationnode.html |
diff --git a/LayoutTests/webaudio/mediastreamaudiodestinationnode.html b/LayoutTests/webaudio/mediastreamaudiodestinationnode.html |
index 88ba84e15d809bbb001cd9770ba2e13ca1814093..60c9484281818f847379e7d94aa0ad49d18aa91f 100644 |
--- a/LayoutTests/webaudio/mediastreamaudiodestinationnode.html |
+++ b/LayoutTests/webaudio/mediastreamaudiodestinationnode.html |
@@ -14,6 +14,7 @@ |
description("Basic tests for MediaStreamAudioDestinationNode API."); |
var context = 0; |
+var mediaStreamDestination = 0; |
arv (Not doing code reviews)
2013/07/08 21:35:43
why 0?
do-not-use
2013/07/09 06:37:28
For consistency with the line above but this is no
|
function runTest() { |
if (window.testRunner) { |
@@ -22,7 +23,10 @@ function runTest() { |
context = new webkitAudioContext(); |
- var mediaStreamDestination = context.createMediaStreamDestination(); |
+ mediaStreamDestination = context.createMediaStreamDestination(); |
+ |
+ // MediaStreamAudioDestinationNode should inherit AudioNode. |
+ shouldBe('mediaStreamDestination.__proto__.__proto__', 'AudioNode.prototype'); |
// Check number of inputs and outputs. |
if (mediaStreamDestination.numberOfInputs == 1) |