| Index: third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-exceptional-values.html
|
| diff --git a/third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-exceptional-values.html b/third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-exceptional-values.html
|
| index a406e05e8c86de641286f1c27250764e73f9e07a..b14debde32e0d43af1ad5b59e9f163f62a0ce3f1 100644
|
| --- a/third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-exceptional-values.html
|
| +++ b/third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-exceptional-values.html
|
| @@ -106,7 +106,13 @@
|
| 'gain.gain.setValueCurveAtTime(curve, 1, ' + duration + ')')
|
| .throw();
|
| }
|
| -
|
| + // Non-finite curve values should signal an error.
|
| + for (curve of [[1, 2, Infinity, 3], [1, NaN, 2, 3]]) {
|
| + should(
|
| + () => gain.gain.setValueCurveAtTime(curve, 1, 1),
|
| + 'gain.gain.setValueCurveAtTime([' + curve + '], 1, 1)')
|
| + .throw();
|
| + }
|
| task.done();
|
| });
|
|
|
|
|