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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/constructor/stereopanner.html

Issue 2768983002: Fix duplicate test names in WebAudio tests (Closed)
Patch Set: Created 3 years, 9 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
Index: third_party/WebKit/LayoutTests/webaudio/constructor/stereopanner.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/constructor/stereopanner.html b/third_party/WebKit/LayoutTests/webaudio/constructor/stereopanner.html
index cd81beb51af3dc270c1798d0450b903fdf317c02..c2144b0d97738cdf0c05b1f0bd4f60f975ec8ab3 100644
--- a/third_party/WebKit/LayoutTests/webaudio/constructor/stereopanner.html
+++ b/third_party/WebKit/LayoutTests/webaudio/constructor/stereopanner.html
@@ -49,13 +49,13 @@
var node;
var success = true;
- success = Should("node = new StereoPannerNode(context)", function () {
+ success = Should("node0 = new StereoPannerNode(context)", function () {
node = new StereoPannerNode(context);
}).notThrow();
- success = Should("node instanceof StereoPannerNode", node instanceof StereoPannerNode)
+ success = Should("node0 instanceof StereoPannerNode", node instanceof StereoPannerNode)
.beEqualTo(true) && success;
- success = Should("node.pan.value", node.pan.value)
+ success = Should("node0.pan.value", node.pan.value)
.beEqualTo(0) && success;
Should("new StereoPannerNode(context)", success)
@@ -200,14 +200,14 @@
pan: 0.75,
};
- success = Should("node = new StereoPannerNode(, " + JSON.stringify(options) + ")",
+ success = Should("node1 = new StereoPannerNode(, " + JSON.stringify(options) + ")",
function () {
node = new StereoPannerNode(context, options);
}).notThrow();
- success = Should("node instanceof StereoPannerNode", node instanceof StereoPannerNode)
+ success = Should("node1 instanceof StereoPannerNode", node instanceof StereoPannerNode)
.beEqualTo(true) && success;
- success = Should("node.pan.value", node.pan.value)
+ success = Should("node1.pan.value", node.pan.value)
.beEqualTo(options.pan) && success;
Should("new StereoPannerNode() with options", success)

Powered by Google App Engine
This is Rietveld 408576698