diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2019-04-26 03:32:48 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-26 03:32:48 -0400 |
commit | 56c2e85cab5b01ad31be3c69f0fcc2c992960e5c (patch) | |
tree | 09234476267a9c0c2829a32c0a6dabfde5fb6b79 /tests | |
parent | 9b2018779347dcd404b955e3773dfed3c3b45c92 (diff) | |
parent | 8a8a9f7135d76daafac07a010c3feb6787dc3532 (diff) | |
download | servo-56c2e85cab5b01ad31be3c69f0fcc2c992960e5c.tar.gz servo-56c2e85cab5b01ad31be3c69f0fcc2c992960e5c.zip |
Auto merge of #23270 - Manishearth:audioparam-validation, r=ferjm
Add input validation for AudioParam methods
Waiting on a build to make WPT updates
Spec requires us to validate inputs, we aren't doing this here.
We don't need to check for things being finite since we already get the arguments as `Finite` values
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23270)
<!-- Reviewable:end -->
Diffstat (limited to 'tests')
-rw-r--r-- | tests/wpt/metadata/webaudio/the-audio-api/the-audioparam-interface/audioparam-exceptional-values.html.ini | 31 |
1 files changed, 2 insertions, 29 deletions
diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-audioparam-interface/audioparam-exceptional-values.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-audioparam-interface/audioparam-exceptional-values.html.ini index aae947a9649..bd6cab43f26 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-audioparam-interface/audioparam-exceptional-values.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-audioparam-interface/audioparam-exceptional-values.html.ini @@ -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 |