| Index: third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-setValueCurve-exceptions-expected.txt
|
| diff --git a/third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-setValueCurve-exceptions-expected.txt b/third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-setValueCurve-exceptions-expected.txt
|
| index a81361422dcb28b9ee158e374680a910fac065a9..29ee26821e93c09d921bb7f30fbb06309b442075 100644
|
| --- a/third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-setValueCurve-exceptions-expected.txt
|
| +++ b/third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-setValueCurve-exceptions-expected.txt
|
| @@ -1,41 +1,48 @@
|
| -CONSOLE WARNING: line 119: Delay.delayTime.setValueCurveAtTime value 5 outside nominal range [0, 1]; value will be clamped.
|
| +CONSOLE WARNING: line 129: Delay.delayTime.setValueCurveAtTime value 5 outside nominal range [0, 1]; value will be clamped.
|
| This is a testharness.js-based test.
|
| -PASS setValueCurveAtTime(curve, 0.0125, 0.0125) did not throw an exception.
|
| -PASS setValueAtTime(1, 0.018750000000000003) threw NotSupportedError: Failed to execute 'setValueAtTime' on 'AudioParam': setValueAtTime(1, 0.01875) overlaps setValueCurveAtTime(..., 0.0125, 0.0125).
|
| -PASS linearRampToValueAtTime(1, 0.018750000000000003) threw NotSupportedError: Failed to execute 'linearRampToValueAtTime' on 'AudioParam': linearRampToValueAtTime(1, 0.01875) overlaps setValueCurveAtTime(..., 0.0125, 0.0125).
|
| -PASS exponentialRampToValueAtTime(1, 0.018750000000000003) threw NotSupportedError: Failed to execute 'exponentialRampToValueAtTime' on 'AudioParam': exponentialRampToValue(1, 0.01875) overlaps setValueCurveAtTime(..., 0.0125, 0.0125).
|
| -PASS setTargetAtTime(1, 0.018750000000000003, 1) threw NotSupportedError: Failed to execute 'setTargetAtTime' on 'AudioParam': setTargetAtTime(1, 0.01875, 1) overlaps setValueCurveAtTime(..., 0.0125, 0.0125).
|
| -PASS setValueAtTime(1, 0.026250000000000002) did not throw an exception.
|
| -PASS Automation functions overlapping an existing setValueCurveAtTime correctly signaled errors.
|
| -PASS linearRampToValueAtTime(1, 0.0125) did not throw an exception.
|
| -PASS exponentialRampToValueAtTime(1, 0.025) did not throw an exception.
|
| -PASS setTargetAtTime(1, 0.037500000000000006, 0.1) did not throw an exception.
|
| -PASS setValueCurveAtTime(curve, 0.05, 0.1) did not throw an exception.
|
| -PASS setValueCurveAtTime(curve, 0.00625, 0.01) threw NotSupportedError: Failed to execute 'setValueCurveAtTime' on 'AudioParam': setValueCurveAtTime(..., 0.00625, 0.01) overlaps linearRampToValueAtTime(1, 0.0125).
|
| -PASS setValueCurveAtTime(curve, 0.018750000000000003, 0.01) threw NotSupportedError: Failed to execute 'setValueCurveAtTime' on 'AudioParam': setValueCurveAtTime(..., 0.01875, 0.01) overlaps exponentialRampToValue(1, 0.025).
|
| -PASS setValueCurveAtTime(curve, 0.03125, 0.01) threw NotSupportedError: Failed to execute 'setValueCurveAtTime' on 'AudioParam': setValueCurveAtTime(..., 0.03125, 0.01) overlaps setTargetAtTime(1, 0.03750000000000001, 0.1).
|
| -PASS setValueCurveAtTime(curve, 0.043750000000000004, 0.01) threw NotSupportedError: Failed to execute 'setValueCurveAtTime' on 'AudioParam': setValueAtTime(0, 0.05375000000000001) overlaps setValueCurveAtTime(..., 0.05, 0.1).
|
| -PASS setValueCurveAtTime([NaN, NaN], 0.043750000000000004, 0.01) threw TypeError: Failed to execute 'setValueCurveAtTime' on 'AudioParam': The provided float value for the curve at element 0 is non-finite: NaN.
|
| -PASS setValueCurveAtTime([1, Infinity], 0.043750000000000004, 0.01) threw TypeError: Failed to execute 'setValueCurveAtTime' on 'AudioParam': The provided float value for the curve at element 1 is non-finite: Infinity.
|
| -PASS delayTime.setValueCurveAtTime([1, 5], 0.043750000000000004, 0.01) did not throw an exception.
|
| -PASS delayTime.setValueCurveAtTime([1, 5, Infinity], 0.043750000000000004, 0.01) threw TypeError: Failed to execute 'setValueCurveAtTime' on 'AudioParam': The provided float value for the curve at element 2 is non-finite: Infinity.
|
| -PASS setValueCurveAtTime(curve, 0.031415926535897934, 0.01) threw NotSupportedError: Failed to execute 'setValueCurveAtTime' on 'AudioParam': setValueCurveAtTime(..., 0.03141592653589793, 0.01) overlaps setTargetAtTime(1, 0.03750000000000001, 0.1).
|
| -PASS setValueCurve overlapping existing automation functions correctly signaled errors.
|
| -PASS Handled setValueCurve exception so output contains only the constant 1.
|
| -PASS setValueCurveAtTime correctly not inserted into timeline.
|
| -PASS setValueAtTime(1, 0) did not throw an exception.
|
| -PASS linearRampToValueAtTime(0, 0.0025) did not throw an exception.
|
| -PASS setValueCurveAtTime(..., 0.0025, 0.0025) did not throw an exception.
|
| -PASS exponentialRampToValueAtTime(1, 0.0075) did not throw an exception.
|
| -PASS setValueCurveAtTime(..., 0.0075, 0.0025) did not throw an exception.
|
| -PASS setValueCurveAtTime(..., 0.01, 0.0025) did not throw an exception.
|
| -PASS setValueAtTime(0, 0.0125) did not throw an exception.
|
| -PASS setValueCurveAtTime(..., 0.0125, 0.0025) did not throw an exception.
|
| -PASS setTargetAtTime(1, 0.015000000000000001, 1) did not throw an exception.
|
| -PASS setValueCurve with adjoining automation functions allowed as expected.
|
| -PASS setValueCurveAtTime([], 0, 0.01) threw InvalidStateError: Failed to execute 'setValueCurveAtTime' on 'AudioParam': The curve length provided (0) is less than the minimum bound (2)..
|
| -PASS setValueCurveAtTime([1], 0, 0.01) threw InvalidStateError: Failed to execute 'setValueCurveAtTime' on 'AudioParam': The curve length provided (1) is less than the minimum bound (2)..
|
| -PASS setValueCurveAtTime([1,2], 0, 0.01) did not throw an exception.
|
| -PASS Exceptions for curve length correctly handled.
|
| +PASS # AUDIT TASK RUNNER STARTED.
|
| +PASS > [setValueCurve]
|
| +PASS setValueCurveAtTime(curve, 0.0125, 0.0125) did not throw an exception.
|
| +PASS setValueAtTime(1, 0.018750000000000003) threw NotSupportedError: "Failed to execute 'setValueAtTime' on 'AudioParam': setValueAtTime(1, 0.01875) overlaps setValueCurveAtTime(..., 0.0125, 0.0125)".
|
| +PASS linearRampToValueAtTime(1, 0.018750000000000003) threw NotSupportedError: "Failed to execute 'linearRampToValueAtTime' on 'AudioParam': linearRampToValueAtTime(1, 0.01875) overlaps setValueCurveAtTime(..., 0.0125, 0.0125)".
|
| +PASS exponentialRampToValueAtTime(1, 0.018750000000000003) threw NotSupportedError: "Failed to execute 'exponentialRampToValueAtTime' on 'AudioParam': exponentialRampToValue(1, 0.01875) overlaps setValueCurveAtTime(..., 0.0125, 0.0125)".
|
| +PASS setTargetAtTime(1, 0.018750000000000003, 1) threw NotSupportedError: "Failed to execute 'setTargetAtTime' on 'AudioParam': setTargetAtTime(1, 0.01875, 1) overlaps setValueCurveAtTime(..., 0.0125, 0.0125)".
|
| +PASS setValueAtTime(1, 0.026250000000000002) did not throw an exception.
|
| +PASS < [setValueCurve] All assertions passed. (total 6 assertions)
|
| +PASS > [automations]
|
| +PASS linearRampToValueAtTime(1, 0.0125) did not throw an exception.
|
| +PASS exponentialRampToValueAtTime(1, 0.025) did not throw an exception.
|
| +PASS setTargetAtTime(1, 0.037500000000000006, 0.1) did not throw an exception.
|
| +PASS setValueCurveAtTime(curve, 0.05, 0.1) did not throw an exception.
|
| +PASS setValueCurveAtTime(curve, 0.00625, 0.01) threw NotSupportedError: "Failed to execute 'setValueCurveAtTime' on 'AudioParam': setValueCurveAtTime(..., 0.00625, 0.01) overlaps linearRampToValueAtTime(1, 0.0125)".
|
| +PASS setValueCurveAtTime(curve, 0.018750000000000003, 0.01) threw NotSupportedError: "Failed to execute 'setValueCurveAtTime' on 'AudioParam': setValueCurveAtTime(..., 0.01875, 0.01) overlaps exponentialRampToValue(1, 0.025)".
|
| +PASS setValueCurveAtTime(curve, 0.03125, 0.01) threw NotSupportedError: "Failed to execute 'setValueCurveAtTime' on 'AudioParam': setValueCurveAtTime(..., 0.03125, 0.01) overlaps setTargetAtTime(1, 0.03750000000000001, 0.1)".
|
| +PASS setValueCurveAtTime(curve, 0.043750000000000004, 0.01) threw NotSupportedError: "Failed to execute 'setValueCurveAtTime' on 'AudioParam': setValueAtTime(0, 0.05375000000000001) overlaps setValueCurveAtTime(..., 0.05, 0.1)".
|
| +PASS setValueCurveAtTime([NaN, NaN], 0.043750000000000004, 0.01) threw TypeError: "Failed to execute 'setValueCurveAtTime' on 'AudioParam': The provided float value for the curve at element 0 is non-finite: NaN".
|
| +PASS setValueCurveAtTime([1, Infinity], 0.043750000000000004, 0.01) threw TypeError: "Failed to execute 'setValueCurveAtTime' on 'AudioParam': The provided float value for the curve at element 1 is non-finite: Infinity".
|
| +PASS delayTime.setValueCurveAtTime([1, 5], 0.043750000000000004, 0.01) did not throw an exception.
|
| +PASS delayTime.setValueCurveAtTime([1, 5, Infinity], 0.043750000000000004, 0.01) threw TypeError: "Failed to execute 'setValueCurveAtTime' on 'AudioParam': The provided float value for the curve at element 2 is non-finite: Infinity".
|
| +PASS setValueCurveAtTime(curve, 0.031415926535897934, 0.01) threw NotSupportedError: "Failed to execute 'setValueCurveAtTime' on 'AudioParam': setValueCurveAtTime(..., 0.03141592653589793, 0.01) overlaps setTargetAtTime(1, 0.03750000000000001, 0.1)".
|
| +PASS < [automations] All assertions passed. (total 13 assertions)
|
| +PASS > [catch-exception]
|
| +PASS Handled setValueCurve exception so output contains only the constant 1.
|
| +PASS < [catch-exception] All assertions passed. (total 1 assertions)
|
| +PASS > [start-end]
|
| +PASS setValueAtTime(1, 0) did not throw an exception.
|
| +PASS linearRampToValueAtTime(0, 0.0025) did not throw an exception.
|
| +PASS setValueCurveAtTime(..., 0.0025, 0.0025) did not throw an exception.
|
| +PASS exponentialRampToValueAtTime(1, 0.0075) did not throw an exception.
|
| +PASS setValueCurveAtTime(..., 0.0075, 0.0025) did not throw an exception.
|
| +PASS setValueCurveAtTime(..., 0.01, 0.0025) did not throw an exception.
|
| +PASS setValueAtTime(0, 0.0125) did not throw an exception.
|
| +PASS setValueCurveAtTime(..., 0.0125, 0.0025) did not throw an exception.
|
| +PASS setTargetAtTime(1, 0.015000000000000001, 1) did not throw an exception.
|
| +PASS < [start-end] All assertions passed. (total 9 assertions)
|
| +PASS > [curve lengths]
|
| +PASS setValueCurveAtTime([], 0, 0.01) threw InvalidStateError: "Failed to execute 'setValueCurveAtTime' on 'AudioParam': The curve length provided (0) is less than the minimum bound (2).".
|
| +PASS setValueCurveAtTime([1], 0, 0.01) threw InvalidStateError: "Failed to execute 'setValueCurveAtTime' on 'AudioParam': The curve length provided (1) is less than the minimum bound (2).".
|
| +PASS setValueCurveAtTime([1,2], 0, 0.01) did not throw an exception.
|
| +PASS < [curve lengths] All assertions passed. (total 3 assertions)
|
| +PASS # AUDIT TASK RUNNER FINISHED: 5 tasks ran successfully.
|
| Harness: the test ran to completion.
|
|
|
|
|