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

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

Issue 2028773002: setValueCurveAtTime has implicit setValueAtTime at end (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and expand comment. Created 4 years, 6 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 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).
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). 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. 12 PASS setValueAtTime(1, 0.026250000000000002) did not throw an exception.
13 PASS Automation functions overlapping an existing setValueCurveAtTime correctly signaled errors. 13 PASS Automation functions overlapping an existing setValueCurveAtTime correctly signaled errors.
14 14
15 PASS linearRampToValueAtTime(1, 0.0125) did not throw an exception. 15 PASS linearRampToValueAtTime(1, 0.0125) did not throw an exception.
16 PASS exponentialRampToValueAtTime(1, 0.025) 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. 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. 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). 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). 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). 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': setValueCurveAtTim e(..., 0.04375, 0.01) overlaps setValueCurveAtTime(..., 0.05, 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. 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. 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. 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. 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). 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. 28 PASS setValueCurve overlapping existing automation functions correctly signaled errors.
29 29
30 PASS Handled setValueCurve exception so output contains only the constant 1. 30 PASS Handled setValueCurve exception so output contains only the constant 1.
31 PASS setValueCurveAtTime correctly not inserted into timeline. 31 PASS setValueCurveAtTime correctly not inserted into timeline.
32 32
(...skipping 10 matching lines...) Expand all
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).. 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).. 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. 46 PASS setValueCurveAtTime([1,2], 0, 0.01) did not throw an exception.
47 PASS Exceptions for curve length correctly handled. 47 PASS Exceptions for curve length correctly handled.
48 48
49 PASS successfullyParsed is true 49 PASS successfullyParsed is true
50 50
51 TEST COMPLETE 51 TEST COMPLETE
52 52
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698