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

Unified Diff: LayoutTests/webaudio/mediastreamaudiodestinationnode.html

Issue 18629003: MediaStreamAudioDestinationNode should inherit AudioNode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix typo in comment 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..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)
« 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