| 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 3c81576c4f71f4f130683e6f4051927e08634a2c..f96e85e4036818a08ff57caaa7168aa985a24f85 100644
|
| --- a/third_party/WebKit/LayoutTests/webaudio/resources/audit.js
|
| +++ b/third_party/WebKit/LayoutTests/webaudio/resources/audit.js
|
| @@ -887,6 +887,23 @@ window.Audit = (function () {
|
| return this._assert(passed, passDetail, failDetail);
|
| }
|
|
|
| + /**
|
| + * A temporary escape hat for printing an in-task message. The description
|
| + * for the |actual| is required to get the message printed properly.
|
| + *
|
| + * TODO(hongchan): remove this method when the transition from the old Audit
|
| + * to the new Audit is completed.
|
| + * @example
|
| + * should(true, 'The message is').message('truthful!', 'false!');
|
| + *
|
| + * @result
|
| + * "PASS The message is truthful!"
|
| + */
|
| + message(passDetail, failDetail) {
|
| + return this._assert(this._actual,
|
| + '${actual} ' + passDetail,
|
| + '${actual} ' + failDetail);
|
| + }
|
| }
|
|
|
|
|
|
|