Chromium Code Reviews| 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 121: Delay.delayTime.setValueCurveAtTime value 5 outside n ominal range [0, 1]; value will be clamped. |
| 2 Test Exceptions from setValueCurveAtTime | 2 Test Exceptions from setValueCurveAtTime |
| 3 | 3 |
| 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". | 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". |
| 5 | 5 |
| 6 | 6 |
| 7 PASS setValueCurveAtTime(curve, 0.0125, 0.0125) did not throw an exception. | 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). | 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). | 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). | 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). |
| (...skipping 23 matching lines...) Expand all Loading... | |
| 34 PASS linearRampToValueAtTime(0, 0.0025) 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. | 35 PASS setValueCurveAtTime(..., 0.0025, 0.0025) did not throw an exception. |
| 36 PASS exponentialRampToValueAtTime(1, 0.0075) 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. | 37 PASS setValueCurveAtTime(..., 0.0075, 0.0025) did not throw an exception. |
| 38 PASS setValueCurveAtTime(..., 0.01, 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. | 39 PASS setValueAtTime(0, 0.0125) did not throw an exception. |
| 40 PASS setValueCurveAtTime(..., 0.0125, 0.0025) 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. | 41 PASS setTargetAtTime(1, 0.015000000000000001, 1) did not throw an exception. |
| 42 PASS setValueCurve with adjoining automation functions allowed as expected. | 42 PASS setValueCurve with adjoining automation functions allowed as expected. |
| 43 | 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).. | |
|
hongchan
2016/05/31 21:45:23
Double periods? Is this because the throwing excep
Raymond Toy
2016/05/31 22:29:55
We have this all over. I think the exception outp
| |
| 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 | |
| 44 PASS successfullyParsed is true | 49 PASS successfullyParsed is true |
| 45 | 50 |
| 46 TEST COMPLETE | 51 TEST COMPLETE |
| 47 | 52 |
| OLD | NEW |