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 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

Heads up! This PR modifies the following files:

  • @KiChjang: components/script/dom/webglrenderingcontext.rs
  • @emilio: components/script/dom/webglrenderingcontext.rs

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Aug 26, 2016
@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: try

@bors-servo
Copy link
Contributor

⌛ Trying commit b8b74e4 with merge c36d0d1...

bors-servo pushed 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

☀️ Test successful - arm32, arm64, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt, windows-dev

@emilio
Copy link
Member

emilio commented Aug 26, 2016

@bors-servo: r+

@bors-servo
Copy link
Contributor

📌 Commit b8b74e4 has been approved by emilio

@highfive highfive assigned emilio and unassigned SimonSapin Aug 26, 2016
@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Aug 26, 2016
@emilio
Copy link
Member

emilio commented Aug 28, 2016

@bors-servo: r+

@bors-servo
Copy link
Contributor

📌 Commit b8b74e4 has been approved by emilio

@bors-servo
Copy link
Contributor

⌛ Testing commit b8b74e4 with merge 11e8e42...

bors-servo pushed 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

☀️ Test successful - arm32, arm64, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt, windows-dev

@bors-servo bors-servo merged commit b8b74e4 into servo:master Aug 29, 2016
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Aug 29, 2016
@bors-servo bors-servo mentioned this pull request Aug 29, 2016
5 tasks
@anholt anholt deleted the webgl-invalid-passed-params branch September 17, 2016 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants