Auto merge of #20669 - simartin:issue_20623, r=jdm

Issue #20623: Check the input to WebGLRenderingContext's clear().

Validate the input to this function as per specifications.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach build-geckolib` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #20623
- [X] There are tests for these changes

<!-- 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/20669)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2018-05-20 11:54:56 -04:00 committed by GitHub
commit 0b5720547e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 36 additions and 0 deletions

View file

@ -39293,6 +39293,12 @@
{}
]
],
"mozilla/webgl/clear.html": [
[
"/_mozilla/mozilla/webgl/clear.html",
{}
]
],
"mozilla/webgl/context_creation_error.html": [
[
"/_mozilla/mozilla/webgl/context_creation_error.html",
@ -70956,6 +70962,10 @@
"c333c7b99156d63fcd3ad28014c7915a12cf8169",
"testharness"
],
"mozilla/webgl/clear.html": [
"14cc534be5da96b0cc128d5c44f662b2fdfb294c",
"testharness"
],
"mozilla/webgl/clearcolor.html": [
"942ee78ec987d17f63253ed97d6de958dbe8730d",
"reftest"