| Index: LayoutTests/webaudio/mediastreamaudiodestinationnode.html
|
| diff --git a/LayoutTests/webaudio/mediastreamaudiodestinationnode.html b/LayoutTests/webaudio/mediastreamaudiodestinationnode.html
|
| index 88ba84e15d809bbb001cd9770ba2e13ca1814093..fbf15506de53d2cf8776bd06a457a9e02edd1620 100644
|
| --- a/LayoutTests/webaudio/mediastreamaudiodestinationnode.html
|
| +++ b/LayoutTests/webaudio/mediastreamaudiodestinationnode.html
|
| @@ -13,7 +13,8 @@
|
| <script>
|
| description("Basic tests for MediaStreamAudioDestinationNode API.");
|
|
|
| -var context = 0;
|
| +var context;
|
| +var mediaStreamDestination;
|
|
|
| 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)
|
|
|