| 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)
|
|
|