Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add input validation for AudioParam methods #23270

Merged
merged 1 commit into from Apr 26, 2019

Conversation

@Manishearth
Copy link
Member

Manishearth commented Apr 25, 2019

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


This change is Reviewable

@highfive
Copy link

highfive commented Apr 25, 2019

Heads up! This PR modifies the following files:

  • @asajeffrey: components/script/dom/audioparam.rs, components/script/dom/webidls/AudioParam.webidl
  • @KiChjang: components/script/dom/audioparam.rs, components/script/dom/webidls/AudioParam.webidl
@highfive
Copy link

highfive commented Apr 25, 2019

warning Warning warning

  • These commits modify script code, but no tests are modified. Please consider adding a test!
@Manishearth Manishearth mentioned this pull request Apr 25, 2019
4 of 5 tasks complete
@Manishearth Manishearth force-pushed the Manishearth:audioparam-validation branch 2 times, most recently from 3968701 to afb92d3 Apr 25, 2019
@Manishearth Manishearth force-pushed the Manishearth:audioparam-validation branch from afb92d3 to 8a8a9f7 Apr 25, 2019
@Manishearth
Copy link
Member Author

Manishearth commented Apr 25, 2019

r? @ferjm

@highfive highfive assigned ferjm and unassigned SimonSapin Apr 25, 2019
@ferjm
Copy link
Member

ferjm commented Apr 26, 2019

@bors-servo
Copy link
Contributor

bors-servo commented Apr 26, 2019

📌 Commit 8a8a9f7 has been approved by ferjm

@bors-servo
Copy link
Contributor

bors-servo commented Apr 26, 2019

Testing commit 8a8a9f7 with merge 56c2e85...

bors-servo added a commit that referenced this pull request Apr 26, 2019
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 -->
@bors-servo
Copy link
Contributor

bors-servo commented Apr 26, 2019

@bors-servo bors-servo merged commit 8a8a9f7 into servo:master Apr 26, 2019
4 checks passed
4 checks passed
Taskcluster (pull_request) TaskGroup: success
Details
Travis CI - Pull Request Build Passed
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
homu Test successful
Details
@Manishearth Manishearth deleted the Manishearth:audioparam-validation branch May 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

5 participants
You can’t perform that action at this time.