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

Unified Diff: LayoutTests/webaudio/mediastreamaudiodestinationnode.html

Issue 18629003: MediaStreamAudioDestinationNode should inherit AudioNode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix layout test Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/webaudio/mediastreamaudiodestinationnode-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « no previous file | LayoutTests/webaudio/mediastreamaudiodestinationnode-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698