mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
Add input validation for AudioParam methods
This commit is contained in:
parent
54f54d194d
commit
8a8a9f7135
3 changed files with 73 additions and 47 deletions
|
@ -1,46 +1,19 @@
|
|||
[audioparam-exceptional-values.html]
|
||||
[X gain.gain.exponentialRampToValueAtTime(-1e-100,1) did not throw an exception.]
|
||||
expected: FAIL
|
||||
|
||||
[X gain.gain.exponentialRampToValueAtTime(0,1) did not throw an exception.]
|
||||
expected: FAIL
|
||||
|
||||
[X gain.gain.linearRampToValueAtTime(1,-1) did not throw an exception.]
|
||||
expected: FAIL
|
||||
|
||||
[X gain.gain.setTargetAtTime(1,-1,1) did not throw an exception.]
|
||||
expected: FAIL
|
||||
|
||||
[X gain.gain.setValueCurveAtTime([0,0,0\],1,-1) threw "TypeError" instead of EcmaScript error RangeError.]
|
||||
expected: FAIL
|
||||
|
||||
[< [special cases 1\] 9 out of 9 assertions were failed.]
|
||||
expected: FAIL
|
||||
|
||||
[X gain.gain.setValueCurveAtTime(curve, 1, -1) threw "TypeError" instead of EcmaScript error RangeError.]
|
||||
expected: FAIL
|
||||
|
||||
[X gain.gain.exponentialRampToValueAtTime(1,-1) did not throw an exception.]
|
||||
expected: FAIL
|
||||
|
||||
[X gain.gain.setValueAtTime(1,-1) did not throw an exception.]
|
||||
expected: FAIL
|
||||
|
||||
[X gain.gain.setValueCurveAtTime(curve, 1, 0) threw "TypeError" instead of EcmaScript error RangeError.]
|
||||
expected: FAIL
|
||||
|
||||
[# AUDIT TASK RUNNER FINISHED: 2 out of 6 tasks were failed.]
|
||||
[< [special cases 1\] 4 out of 9 assertions were failed.]
|
||||
expected: FAIL
|
||||
|
||||
[X gain.gain.setValueCurveAtTime([0,0,0\],-1,1) threw "TypeError" instead of EcmaScript error RangeError.]
|
||||
expected: FAIL
|
||||
|
||||
[X gain.gain.setTargetAtTime(1,1,-1) did not throw an exception.]
|
||||
expected: FAIL
|
||||
|
||||
[X gain.gain.exponentialRampToValueAtTime(1e-100,1) did not throw an exception.]
|
||||
expected: FAIL
|
||||
|
||||
[< [special cases 2\] 3 out of 3 assertions were failed.]
|
||||
[# AUDIT TASK RUNNER FINISHED: 1 out of 6 tasks were failed.]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue