Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(446)

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-setValueCurve-exceptions-expected.txt

Issue 2789883002: setValueCurveAtTime takes sequence<float> for curve (Closed)
Patch Set: Rebaseline test results Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 CONSOLE WARNING: line 129: Delay.delayTime.setValueCurveAtTime value 5 outside n ominal range [0, 1]; value will be clamped. 1 CONSOLE WARNING: line 129: Delay.delayTime.setValueCurveAtTime value 5 outside n ominal range [0, 1]; value will be clamped.
2 This is a testharness.js-based test. 2 This is a testharness.js-based test.
3 PASS # AUDIT TASK RUNNER STARTED. 3 PASS # AUDIT TASK RUNNER STARTED.
4 PASS > [setValueCurve] 4 PASS > [setValueCurve]
5 PASS setValueCurveAtTime(curve, 0.0125, 0.0125) did not throw an exception. 5 PASS setValueCurveAtTime(curve, 0.0125, 0.0125) did not throw an exception.
6 PASS setValueAtTime(1, 0.018750000000000003) threw NotSupportedError: "Failed to execute 'setValueAtTime' on 'AudioParam': setValueAtTime(1, 0.01875) overlaps setValueCurveAtTime(..., 0.0125, 0.0125)". 6 PASS setValueAtTime(1, 0.018750000000000003) threw NotSupportedError: "Failed to execute 'setValueAtTime' on 'AudioParam': setValueAtTime(1, 0.01875) overlaps setValueCurveAtTime(..., 0.0125, 0.0125)".
7 PASS linearRampToValueAtTime(1, 0.018750000000000003) threw NotSupportedError: "Failed to execute 'linearRampToValueAtTime' on 'AudioParam': linearRampToValue AtTime(1, 0.01875) overlaps setValueCurveAtTime(..., 0.0125, 0.0125)". 7 PASS linearRampToValueAtTime(1, 0.018750000000000003) threw NotSupportedError: "Failed to execute 'linearRampToValueAtTime' on 'AudioParam': linearRampToValue AtTime(1, 0.01875) overlaps setValueCurveAtTime(..., 0.0125, 0.0125)".
8 PASS exponentialRampToValueAtTime(1, 0.018750000000000003) threw NotSupportedE rror: "Failed to execute 'exponentialRampToValueAtTime' on 'AudioParam': exponen tialRampToValue(1, 0.01875) overlaps setValueCurveAtTime(..., 0.0125, 0.0125)". 8 PASS exponentialRampToValueAtTime(1, 0.018750000000000003) threw NotSupportedE rror: "Failed to execute 'exponentialRampToValueAtTime' on 'AudioParam': exponen tialRampToValue(1, 0.01875) overlaps setValueCurveAtTime(..., 0.0125, 0.0125)".
9 PASS setTargetAtTime(1, 0.018750000000000003, 1) threw NotSupportedError: "Fai led to execute 'setTargetAtTime' on 'AudioParam': setTargetAtTime(1, 0.01875, 1) overlaps setValueCurveAtTime(..., 0.0125, 0.0125)". 9 PASS setTargetAtTime(1, 0.018750000000000003, 1) threw NotSupportedError: "Fai led to execute 'setTargetAtTime' on 'AudioParam': setTargetAtTime(1, 0.01875, 1) overlaps setValueCurveAtTime(..., 0.0125, 0.0125)".
10 PASS setValueAtTime(1, 0.026250000000000002) did not throw an exception. 10 PASS setValueAtTime(1, 0.026250000000000002) did not throw an exception.
11 PASS < [setValueCurve] All assertions passed. (total 6 assertions) 11 PASS < [setValueCurve] All assertions passed. (total 6 assertions)
12 PASS > [automations] 12 PASS > [automations]
13 PASS linearRampToValueAtTime(1, 0.0125) did not throw an exception. 13 PASS linearRampToValueAtTime(1, 0.0125) did not throw an exception.
14 PASS exponentialRampToValueAtTime(1, 0.025) did not throw an exception. 14 PASS exponentialRampToValueAtTime(1, 0.025) did not throw an exception.
15 PASS setTargetAtTime(1, 0.037500000000000006, 0.1) did not throw an exception. 15 PASS setTargetAtTime(1, 0.037500000000000006, 0.1) did not throw an exception.
16 PASS setValueCurveAtTime(curve, 0.05, 0.1) did not throw an exception. 16 PASS setValueCurveAtTime(curve, 0.05, 0.1) did not throw an exception.
17 PASS setValueCurveAtTime(curve, 0.00625, 0.01) threw NotSupportedError: "Faile d to execute 'setValueCurveAtTime' on 'AudioParam': setValueCurveAtTime(..., 0.0 0625, 0.01) overlaps linearRampToValueAtTime(1, 0.0125)". 17 PASS setValueCurveAtTime(curve, 0.00625, 0.01) threw NotSupportedError: "Faile d to execute 'setValueCurveAtTime' on 'AudioParam': setValueCurveAtTime(..., 0.0 0625, 0.01) overlaps linearRampToValueAtTime(1, 0.0125)".
18 PASS setValueCurveAtTime(curve, 0.018750000000000003, 0.01) threw NotSupported Error: "Failed to execute 'setValueCurveAtTime' on 'AudioParam': setValueCurveAt Time(..., 0.01875, 0.01) overlaps exponentialRampToValue(1, 0.025)". 18 PASS setValueCurveAtTime(curve, 0.018750000000000003, 0.01) threw NotSupported Error: "Failed to execute 'setValueCurveAtTime' on 'AudioParam': setValueCurveAt Time(..., 0.01875, 0.01) overlaps exponentialRampToValue(1, 0.025)".
19 PASS setValueCurveAtTime(curve, 0.03125, 0.01) threw NotSupportedError: "Faile d to execute 'setValueCurveAtTime' on 'AudioParam': setValueCurveAtTime(..., 0.0 3125, 0.01) overlaps setTargetAtTime(1, 0.03750000000000001, 0.1)". 19 PASS setValueCurveAtTime(curve, 0.03125, 0.01) threw NotSupportedError: "Faile d to execute 'setValueCurveAtTime' on 'AudioParam': setValueCurveAtTime(..., 0.0 3125, 0.01) overlaps setTargetAtTime(1, 0.03750000000000001, 0.1)".
20 PASS setValueCurveAtTime(curve, 0.043750000000000004, 0.01) threw NotSupported Error: "Failed to execute 'setValueCurveAtTime' on 'AudioParam': setValueAtTime( 0, 0.05375000000000001) overlaps setValueCurveAtTime(..., 0.05, 0.1)". 20 PASS setValueCurveAtTime(curve, 0.043750000000000004, 0.01) threw NotSupported Error: "Failed to execute 'setValueCurveAtTime' on 'AudioParam': setValueAtTime( 0, 0.05375000000000001) overlaps setValueCurveAtTime(..., 0.05, 0.1)".
21 PASS setValueCurveAtTime([NaN, NaN], 0.043750000000000004, 0.01) threw TypeErr or: "Failed to execute 'setValueCurveAtTime' on 'AudioParam': The provided float value for the curve at element 0 is non-finite: NaN". 21 PASS setValueCurveAtTime([NaN, NaN], 0.043750000000000004, 0.01) threw TypeErr or: "Failed to execute 'setValueCurveAtTime' on 'AudioParam': The provided float value is non-finite.".
22 PASS setValueCurveAtTime([1, Infinity], 0.043750000000000004, 0.01) threw Type Error: "Failed to execute 'setValueCurveAtTime' on 'AudioParam': The provided fl oat value for the curve at element 1 is non-finite: Infinity". 22 PASS setValueCurveAtTime([1, Infinity], 0.043750000000000004, 0.01) threw Type Error: "Failed to execute 'setValueCurveAtTime' on 'AudioParam': The provided fl oat value is non-finite.".
23 PASS delayTime.setValueCurveAtTime([1, 5], 0.043750000000000004, 0.01) did not throw an exception. 23 PASS delayTime.setValueCurveAtTime([1, 5], 0.043750000000000004, 0.01) did not throw an exception.
24 PASS delayTime.setValueCurveAtTime([1, 5, Infinity], 0.043750000000000004, 0.0 1) threw TypeError: "Failed to execute 'setValueCurveAtTime' on 'AudioParam': Th e provided float value for the curve at element 2 is non-finite: Infinity". 24 PASS delayTime.setValueCurveAtTime([1, 5, Infinity], 0.043750000000000004, 0.0 1) threw TypeError: "Failed to execute 'setValueCurveAtTime' on 'AudioParam': Th e provided float value is non-finite.".
25 PASS setValueCurveAtTime(curve, 0.031415926535897934, 0.01) threw NotSupported Error: "Failed to execute 'setValueCurveAtTime' on 'AudioParam': setValueCurveAt Time(..., 0.03141592653589793, 0.01) overlaps setTargetAtTime(1, 0.0375000000000 0001, 0.1)". 25 PASS setValueCurveAtTime(curve, 0.031415926535897934, 0.01) threw NotSupported Error: "Failed to execute 'setValueCurveAtTime' on 'AudioParam': setValueCurveAt Time(..., 0.03141592653589793, 0.01) overlaps setTargetAtTime(1, 0.0375000000000 0001, 0.1)".
26 PASS < [automations] All assertions passed. (total 13 assertions) 26 PASS < [automations] All assertions passed. (total 13 assertions)
27 PASS > [catch-exception] 27 PASS > [catch-exception]
28 PASS Handled setValueCurve exception so output contains only the constant 1. 28 PASS Handled setValueCurve exception so output contains only the constant 1.
29 PASS < [catch-exception] All assertions passed. (total 1 assertions) 29 PASS < [catch-exception] All assertions passed. (total 1 assertions)
30 PASS > [start-end] 30 PASS > [start-end]
31 PASS setValueAtTime(1, 0) did not throw an exception. 31 PASS setValueAtTime(1, 0) did not throw an exception.
32 PASS linearRampToValueAtTime(0, 0.0025) did not throw an exception. 32 PASS linearRampToValueAtTime(0, 0.0025) did not throw an exception.
33 PASS setValueCurveAtTime(..., 0.0025, 0.0025) did not throw an exception. 33 PASS setValueCurveAtTime(..., 0.0025, 0.0025) did not throw an exception.
34 PASS exponentialRampToValueAtTime(1, 0.0075) did not throw an exception. 34 PASS exponentialRampToValueAtTime(1, 0.0075) did not throw an exception.
35 PASS setValueCurveAtTime(..., 0.0075, 0.0025) did not throw an exception. 35 PASS setValueCurveAtTime(..., 0.0075, 0.0025) did not throw an exception.
36 PASS setValueCurveAtTime(..., 0.01, 0.0025) did not throw an exception. 36 PASS setValueCurveAtTime(..., 0.01, 0.0025) did not throw an exception.
37 PASS setValueAtTime(0, 0.0125) did not throw an exception. 37 PASS setValueAtTime(0, 0.0125) did not throw an exception.
38 PASS setValueCurveAtTime(..., 0.0125, 0.0025) did not throw an exception. 38 PASS setValueCurveAtTime(..., 0.0125, 0.0025) did not throw an exception.
39 PASS setTargetAtTime(1, 0.015000000000000001, 1) did not throw an exception. 39 PASS setTargetAtTime(1, 0.015000000000000001, 1) did not throw an exception.
40 PASS < [start-end] All assertions passed. (total 9 assertions) 40 PASS < [start-end] All assertions passed. (total 9 assertions)
41 PASS > [curve lengths] 41 PASS > [curve lengths]
42 PASS setValueCurveAtTime([], 0, 0.01) threw InvalidStateError: "Failed to exec ute 'setValueCurveAtTime' on 'AudioParam': The curve length provided (0) is less than the minimum bound (2).". 42 PASS setValueCurveAtTime([], 0, 0.01) threw InvalidStateError: "Failed to exec ute 'setValueCurveAtTime' on 'AudioParam': The curve length provided (0) is less than the minimum bound (2).".
43 PASS setValueCurveAtTime([1], 0, 0.01) threw InvalidStateError: "Failed to exe cute 'setValueCurveAtTime' on 'AudioParam': The curve length provided (1) is les s than the minimum bound (2).". 43 PASS setValueCurveAtTime([1], 0, 0.01) threw InvalidStateError: "Failed to exe cute 'setValueCurveAtTime' on 'AudioParam': The curve length provided (1) is les s than the minimum bound (2).".
44 PASS setValueCurveAtTime([1,2], 0, 0.01) did not throw an exception. 44 PASS setValueCurveAtTime([1,2], 0, 0.01) did not throw an exception.
45 PASS < [curve lengths] All assertions passed. (total 3 assertions) 45 PASS < [curve lengths] All assertions passed. (total 3 assertions)
46 PASS # AUDIT TASK RUNNER FINISHED: 5 tasks ran successfully. 46 PASS # AUDIT TASK RUNNER FINISHED: 5 tasks ran successfully.
47 Harness: the test ran to completion. 47 Harness: the test ran to completion.
48 48
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698