| OLD | NEW |
| 1 CONSOLE WARNING: line 121: Delay.delayTime.setValueCurveAtTime value 5 outside n
ominal range [0, 1]; value will be clamped. | 1 CONSOLE WARNING: line 119: Delay.delayTime.setValueCurveAtTime value 5 outside n
ominal range [0, 1]; value will be clamped. |
| 2 Test Exceptions from setValueCurveAtTime | 2 This is a testharness.js-based test. |
| 3 PASS setValueCurveAtTime(curve, 0.0125, 0.0125) did not throw an exception. |
| 4 PASS setValueAtTime(1, 0.018750000000000003) threw NotSupportedError: Failed to
execute 'setValueAtTime' on 'AudioParam': setValueAtTime(1, 0.01875) overlaps se
tValueCurveAtTime(..., 0.0125, 0.0125). |
| 5 PASS linearRampToValueAtTime(1, 0.018750000000000003) threw NotSupportedError: F
ailed to execute 'linearRampToValueAtTime' on 'AudioParam': linearRampToValueAtT
ime(1, 0.01875) overlaps setValueCurveAtTime(..., 0.0125, 0.0125). |
| 6 PASS exponentialRampToValueAtTime(1, 0.018750000000000003) threw NotSupportedErr
or: Failed to execute 'exponentialRampToValueAtTime' on 'AudioParam': exponentia
lRampToValue(1, 0.01875) overlaps setValueCurveAtTime(..., 0.0125, 0.0125). |
| 7 PASS setTargetAtTime(1, 0.018750000000000003, 1) threw NotSupportedError: Failed
to execute 'setTargetAtTime' on 'AudioParam': setTargetAtTime(1, 0.01875, 1) ov
erlaps setValueCurveAtTime(..., 0.0125, 0.0125). |
| 8 PASS setValueAtTime(1, 0.026250000000000002) did not throw an exception. |
| 9 PASS Automation functions overlapping an existing setValueCurveAtTime correctly
signaled errors. |
| 10 PASS linearRampToValueAtTime(1, 0.0125) did not throw an exception. |
| 11 PASS exponentialRampToValueAtTime(1, 0.025) did not throw an exception. |
| 12 PASS setTargetAtTime(1, 0.037500000000000006, 0.1) did not throw an exception. |
| 13 PASS setValueCurveAtTime(curve, 0.05, 0.1) did not throw an exception. |
| 14 PASS setValueCurveAtTime(curve, 0.00625, 0.01) threw NotSupportedError: Failed t
o execute 'setValueCurveAtTime' on 'AudioParam': setValueCurveAtTime(..., 0.0062
5, 0.01) overlaps linearRampToValueAtTime(1, 0.0125). |
| 15 PASS setValueCurveAtTime(curve, 0.018750000000000003, 0.01) threw NotSupportedEr
ror: Failed to execute 'setValueCurveAtTime' on 'AudioParam': setValueCurveAtTim
e(..., 0.01875, 0.01) overlaps exponentialRampToValue(1, 0.025). |
| 16 PASS setValueCurveAtTime(curve, 0.03125, 0.01) threw NotSupportedError: Failed t
o execute 'setValueCurveAtTime' on 'AudioParam': setValueCurveAtTime(..., 0.0312
5, 0.01) overlaps setTargetAtTime(1, 0.03750000000000001, 0.1). |
| 17 PASS setValueCurveAtTime(curve, 0.043750000000000004, 0.01) threw NotSupportedEr
ror: Failed to execute 'setValueCurveAtTime' on 'AudioParam': setValueAtTime(0,
0.05375000000000001) overlaps setValueCurveAtTime(..., 0.05, 0.1). |
| 18 PASS setValueCurveAtTime([NaN, NaN], 0.043750000000000004, 0.01) threw TypeError
: Failed to execute 'setValueCurveAtTime' on 'AudioParam': The provided float va
lue for the curve at element 0 is non-finite: NaN. |
| 19 PASS setValueCurveAtTime([1, Infinity], 0.043750000000000004, 0.01) threw TypeEr
ror: Failed to execute 'setValueCurveAtTime' on 'AudioParam': The provided float
value for the curve at element 1 is non-finite: Infinity. |
| 20 PASS delayTime.setValueCurveAtTime([1, 5], 0.043750000000000004, 0.01) did not t
hrow an exception. |
| 21 PASS delayTime.setValueCurveAtTime([1, 5, Infinity], 0.043750000000000004, 0.01)
threw TypeError: Failed to execute 'setValueCurveAtTime' on 'AudioParam': The p
rovided float value for the curve at element 2 is non-finite: Infinity. |
| 22 PASS setValueCurveAtTime(curve, 0.031415926535897934, 0.01) threw NotSupportedEr
ror: Failed to execute 'setValueCurveAtTime' on 'AudioParam': setValueCurveAtTim
e(..., 0.03141592653589793, 0.01) overlaps setTargetAtTime(1, 0.0375000000000000
1, 0.1). |
| 23 PASS setValueCurve overlapping existing automation functions correctly signaled
errors. |
| 24 PASS Handled setValueCurve exception so output contains only the constant 1. |
| 25 PASS setValueCurveAtTime correctly not inserted into timeline. |
| 26 PASS setValueAtTime(1, 0) did not throw an exception. |
| 27 PASS linearRampToValueAtTime(0, 0.0025) did not throw an exception. |
| 28 PASS setValueCurveAtTime(..., 0.0025, 0.0025) did not throw an exception. |
| 29 PASS exponentialRampToValueAtTime(1, 0.0075) did not throw an exception. |
| 30 PASS setValueCurveAtTime(..., 0.0075, 0.0025) did not throw an exception. |
| 31 PASS setValueCurveAtTime(..., 0.01, 0.0025) did not throw an exception. |
| 32 PASS setValueAtTime(0, 0.0125) did not throw an exception. |
| 33 PASS setValueCurveAtTime(..., 0.0125, 0.0025) did not throw an exception. |
| 34 PASS setTargetAtTime(1, 0.015000000000000001, 1) did not throw an exception. |
| 35 PASS setValueCurve with adjoining automation functions allowed as expected. |
| 36 PASS setValueCurveAtTime([], 0, 0.01) threw InvalidStateError: Failed to execute
'setValueCurveAtTime' on 'AudioParam': The curve length provided (0) is less th
an the minimum bound (2).. |
| 37 PASS setValueCurveAtTime([1], 0, 0.01) threw InvalidStateError: Failed to execut
e 'setValueCurveAtTime' on 'AudioParam': The curve length provided (1) is less t
han the minimum bound (2).. |
| 38 PASS setValueCurveAtTime([1,2], 0, 0.01) did not throw an exception. |
| 39 PASS Exceptions for curve length correctly handled. |
| 40 Harness: the test ran to completion. |
| 3 | 41 |
| 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 5 | |
| 6 | |
| 7 PASS setValueCurveAtTime(curve, 0.0125, 0.0125) did not throw an exception. | |
| 8 PASS setValueAtTime(1, 0.018750000000000003) threw NotSupportedError: Failed to
execute 'setValueAtTime' on 'AudioParam': setValueAtTime(1, 0.01875) overlaps se
tValueCurveAtTime(..., 0.0125, 0.0125). | |
| 9 PASS linearRampToValueAtTime(1, 0.018750000000000003) threw NotSupportedError: F
ailed to execute 'linearRampToValueAtTime' on 'AudioParam': linearRampToValueAtT
ime(1, 0.01875) overlaps setValueCurveAtTime(..., 0.0125, 0.0125). | |
| 10 PASS exponentialRampToValueAtTime(1, 0.018750000000000003) threw NotSupportedErr
or: Failed to execute 'exponentialRampToValueAtTime' on 'AudioParam': exponentia
lRampToValue(1, 0.01875) overlaps setValueCurveAtTime(..., 0.0125, 0.0125). | |
| 11 PASS setTargetAtTime(1, 0.018750000000000003, 1) threw NotSupportedError: Failed
to execute 'setTargetAtTime' on 'AudioParam': setTargetAtTime(1, 0.01875, 1) ov
erlaps setValueCurveAtTime(..., 0.0125, 0.0125). | |
| 12 PASS setValueAtTime(1, 0.026250000000000002) did not throw an exception. | |
| 13 PASS Automation functions overlapping an existing setValueCurveAtTime correctly
signaled errors. | |
| 14 | |
| 15 PASS linearRampToValueAtTime(1, 0.0125) did not throw an exception. | |
| 16 PASS exponentialRampToValueAtTime(1, 0.025) did not throw an exception. | |
| 17 PASS setTargetAtTime(1, 0.037500000000000006, 0.1) did not throw an exception. | |
| 18 PASS setValueCurveAtTime(curve, 0.05, 0.1) did not throw an exception. | |
| 19 PASS setValueCurveAtTime(curve, 0.00625, 0.01) threw NotSupportedError: Failed t
o execute 'setValueCurveAtTime' on 'AudioParam': setValueCurveAtTime(..., 0.0062
5, 0.01) overlaps linearRampToValueAtTime(1, 0.0125). | |
| 20 PASS setValueCurveAtTime(curve, 0.018750000000000003, 0.01) threw NotSupportedEr
ror: Failed to execute 'setValueCurveAtTime' on 'AudioParam': setValueCurveAtTim
e(..., 0.01875, 0.01) overlaps exponentialRampToValue(1, 0.025). | |
| 21 PASS setValueCurveAtTime(curve, 0.03125, 0.01) threw NotSupportedError: Failed t
o execute 'setValueCurveAtTime' on 'AudioParam': setValueCurveAtTime(..., 0.0312
5, 0.01) overlaps setTargetAtTime(1, 0.03750000000000001, 0.1). | |
| 22 PASS setValueCurveAtTime(curve, 0.043750000000000004, 0.01) threw NotSupportedEr
ror: Failed to execute 'setValueCurveAtTime' on 'AudioParam': setValueAtTime(0,
0.05375000000000001) overlaps setValueCurveAtTime(..., 0.05, 0.1). | |
| 23 PASS setValueCurveAtTime([NaN, NaN], 0.043750000000000004, 0.01) threw TypeError
: Failed to execute 'setValueCurveAtTime' on 'AudioParam': The provided float va
lue for the curve at element 0 is non-finite: NaN. | |
| 24 PASS setValueCurveAtTime([1, Infinity], 0.043750000000000004, 0.01) threw TypeEr
ror: Failed to execute 'setValueCurveAtTime' on 'AudioParam': The provided float
value for the curve at element 1 is non-finite: Infinity. | |
| 25 PASS delayTime.setValueCurveAtTime([1, 5], 0.043750000000000004, 0.01) did not t
hrow an exception. | |
| 26 PASS delayTime.setValueCurveAtTime([1, 5, Infinity], 0.043750000000000004, 0.01)
threw TypeError: Failed to execute 'setValueCurveAtTime' on 'AudioParam': The p
rovided float value for the curve at element 2 is non-finite: Infinity. | |
| 27 PASS setValueCurveAtTime(curve, 0.031415926535897934, 0.01) threw NotSupportedEr
ror: Failed to execute 'setValueCurveAtTime' on 'AudioParam': setValueCurveAtTim
e(..., 0.03141592653589793, 0.01) overlaps setTargetAtTime(1, 0.0375000000000000
1, 0.1). | |
| 28 PASS setValueCurve overlapping existing automation functions correctly signaled
errors. | |
| 29 | |
| 30 PASS Handled setValueCurve exception so output contains only the constant 1. | |
| 31 PASS setValueCurveAtTime correctly not inserted into timeline. | |
| 32 | |
| 33 PASS setValueAtTime(1, 0) did not throw an exception. | |
| 34 PASS linearRampToValueAtTime(0, 0.0025) did not throw an exception. | |
| 35 PASS setValueCurveAtTime(..., 0.0025, 0.0025) did not throw an exception. | |
| 36 PASS exponentialRampToValueAtTime(1, 0.0075) did not throw an exception. | |
| 37 PASS setValueCurveAtTime(..., 0.0075, 0.0025) did not throw an exception. | |
| 38 PASS setValueCurveAtTime(..., 0.01, 0.0025) did not throw an exception. | |
| 39 PASS setValueAtTime(0, 0.0125) did not throw an exception. | |
| 40 PASS setValueCurveAtTime(..., 0.0125, 0.0025) did not throw an exception. | |
| 41 PASS setTargetAtTime(1, 0.015000000000000001, 1) did not throw an exception. | |
| 42 PASS setValueCurve with adjoining automation functions allowed as expected. | |
| 43 | |
| 44 PASS setValueCurveAtTime([], 0, 0.01) threw InvalidStateError: Failed to execute
'setValueCurveAtTime' on 'AudioParam': The curve length provided (0) is less th
an the minimum bound (2).. | |
| 45 PASS setValueCurveAtTime([1], 0, 0.01) threw InvalidStateError: Failed to execut
e 'setValueCurveAtTime' on 'AudioParam': The curve length provided (1) is less t
han the minimum bound (2).. | |
| 46 PASS setValueCurveAtTime([1,2], 0, 0.01) did not throw an exception. | |
| 47 PASS Exceptions for curve length correctly handled. | |
| 48 | |
| 49 PASS successfullyParsed is true | |
| 50 | |
| 51 TEST COMPLETE | |
| 52 | |
| OLD | NEW |