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

webgl: Do validation of glScissor/glViewport(width, height) on the DOM side #13060

Merged
merged 1 commit into from Aug 29, 2016

Conversation

@anholt
Copy link
Contributor

anholt commented Aug 26, 2016

webgl: Do validation of glScissor/glViewport(width, height) on the DOM side


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix #__ (github issue number if applicable).
  • There are tests for these changes OR
  • These changes do not require tests because _____

Avoids testcase CRASHes due to unexpected GL errors.


This change is Reviewable

…M side.

Avoids testcase CRASHes due to unexpected GL errors.
@highfive
Copy link

highfive commented Aug 26, 2016

Heads up! This PR modifies the following files:

  • @KiChjang: components/script/dom/webglrenderingcontext.rs
  • @emilio: components/script/dom/webglrenderingcontext.rs
@anholt
Copy link
Contributor Author

anholt commented Aug 26, 2016

I'm expecting we'll need a round of try to get the set of expected FAILs to match what MacOS produces.

@jdm
Copy link
Member

jdm commented Aug 26, 2016

@bors-servo
Copy link
Contributor

bors-servo commented Aug 26, 2016

Trying commit b8b74e4 with merge c36d0d1...

bors-servo added a commit that referenced this pull request Aug 26, 2016
webgl: Do validation of glScissor/glViewport(width, height) on the DOM side

<!-- Please describe your changes on the following line: -->
webgl: Do validation of glScissor/glViewport(width, height) on the DOM side

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [X] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Avoids testcase CRASHes due to unexpected GL errors.

<!-- 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/13060)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Aug 26, 2016

@emilio
Copy link
Member

emilio commented Aug 26, 2016

@bors-servo
Copy link
Contributor

bors-servo commented Aug 26, 2016

📌 Commit b8b74e4 has been approved by emilio

@emilio
Copy link
Member

emilio commented Aug 28, 2016

@bors-servo
Copy link
Contributor

bors-servo commented Aug 28, 2016

📌 Commit b8b74e4 has been approved by emilio

@bors-servo
Copy link
Contributor

bors-servo commented Aug 29, 2016

Testing commit b8b74e4 with merge 11e8e42...

bors-servo added a commit that referenced this pull request Aug 29, 2016
webgl: Do validation of glScissor/glViewport(width, height) on the DOM side

<!-- Please describe your changes on the following line: -->
webgl: Do validation of glScissor/glViewport(width, height) on the DOM side

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [X] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Avoids testcase CRASHes due to unexpected GL errors.

<!-- 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/13060)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Aug 29, 2016

@bors-servo bors-servo merged commit b8b74e4 into servo:master Aug 29, 2016
3 checks passed
3 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@bors-servo bors-servo mentioned this pull request Aug 29, 2016
4 of 5 tasks complete
@anholt anholt deleted the anholt:webgl-invalid-passed-params branch Sep 17, 2016
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

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