| Index: third_party/WebKit/LayoutTests/webaudio/resources/audit.js
|
| diff --git a/third_party/WebKit/LayoutTests/webaudio/resources/audit.js b/third_party/WebKit/LayoutTests/webaudio/resources/audit.js
|
| index f96e85e4036818a08ff57caaa7168aa985a24f85..7e732952a3968ed6ea2c9586d92c71a9b353ce83 100644
|
| --- a/third_party/WebKit/LayoutTests/webaudio/resources/audit.js
|
| +++ b/third_party/WebKit/LayoutTests/webaudio/resources/audit.js
|
| @@ -951,6 +951,10 @@ window.Audit = (function () {
|
|
|
| // Start the assertion chain.
|
| should (actual, actualDescription) {
|
| + // If no argument is given, we cannot proceed. Halt.
|
| + if (arguments.length === 0)
|
| + _throwException('Task.should:: requires at least 1 argument.');
|
| +
|
| return new Should(this, actual, actualDescription);
|
| }
|
|
|
|
|