| Index: third_party/WebKit/LayoutTests/webaudio/constructor/audionodeoptions.js
|
| diff --git a/third_party/WebKit/LayoutTests/webaudio/constructor/audionodeoptions.js b/third_party/WebKit/LayoutTests/webaudio/constructor/audionodeoptions.js
|
| index 1db057cbef91dc41363673123e16349e01ae24ea..083a286af5e2afa715e2dd2ff9644b46cd994c08 100644
|
| --- a/third_party/WebKit/LayoutTests/webaudio/constructor/audionodeoptions.js
|
| +++ b/third_party/WebKit/LayoutTests/webaudio/constructor/audionodeoptions.js
|
| @@ -73,9 +73,11 @@ function testAudioNodeOptions(should, context, nodeName, expectedNodeOptions) {
|
| channelCountMode: testChannelCountMode
|
| }));
|
| },
|
| - 'new ' + nodeName + '(c, {channelCountMode: "' + testChannelCountMode + '"}')
|
| + 'new ' + nodeName + '(c, {channelCountMode: "' + testChannelCountMode +
|
| + '"}')
|
| .notThrow();
|
| - should(node.channelCountMode, 'node.channelCountMode').beEqualTo(testChannelCountMode);
|
| + should(node.channelCountMode, 'node.channelCountMode')
|
| + .beEqualTo(testChannelCountMode);
|
|
|
| if (expectedNodeOptions.channelCountMode &&
|
| expectedNodeOptions.channelCountMode.isFixed) {
|
| @@ -85,7 +87,8 @@ function testAudioNodeOptions(should, context, nodeName, expectedNodeOptions) {
|
| 'clamped-max': 'explicit',
|
| 'explicit': 'max'
|
| };
|
| - testChannelCountMode = testChannelCountModeMap[expectedNodeOptions.channelCountMode.value];
|
| + testChannelCountMode =
|
| + testChannelCountModeMap[expectedNodeOptions.channelCountMode.value];
|
| should(
|
| () => {
|
| node = new window[nodeName](
|
| @@ -94,7 +97,8 @@ function testAudioNodeOptions(should, context, nodeName, expectedNodeOptions) {
|
| {}, expectedNodeOptions.additionalOptions,
|
| {channelCountMode: testChannelCountMode}));
|
| },
|
| - 'new ' + nodeName + '(c, {channelCountMode: "' + testChannelCountMode + '"}')
|
| + 'new ' + nodeName + '(c, {channelCountMode: "' + testChannelCountMode +
|
| + '"}')
|
| .throw(expectedNodeOptions.channelCountMode.errorType);
|
| } else {
|
| // Mode is not fixed. Verify that we can set the mode to all valid
|
|
|