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

Remove IndexSizeError in CanvasRenderingContext2D::drawImage #16658

Merged
merged 1 commit into from Apr 29, 2017

Conversation

@n0max
Copy link
Contributor

n0max commented Apr 29, 2017

The current spec don't expect the IndexSizeError if the rectangle is empty.


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

This change is Reviewable

@highfive
Copy link

highfive commented Apr 29, 2017

Heads up! This PR modifies the following files:

  • @fitzgen: components/script/dom/canvasrenderingcontext2d.rs
  • @KiChjang: components/script/dom/canvasrenderingcontext2d.rs
Copy link
Member

emilio left a comment

Looks good!

Please remove the files, and this looks ready to merge to me. Thanks a lot!

@@ -2,5 +2,5 @@
type: testharness
bug: https://github.com/servo/servo/issues/10600
[void methods return undefined]
expected: FAIL
expected: PASS

This comment has been minimized.

@emilio

emilio Apr 29, 2017

Member

You can just remove both files, tests are pass-by-default.

@n0max n0max force-pushed the n0max:remove-index-size-error branch from fb907dd to 49820a6 Apr 29, 2017
@jdm
Copy link
Member

jdm commented Apr 29, 2017

@bors-servo: r=emilio

@bors-servo
Copy link
Contributor

bors-servo commented Apr 29, 2017

📌 Commit 49820a6 has been approved by emilio

@bors-servo
Copy link
Contributor

bors-servo commented Apr 29, 2017

Testing commit 49820a6 with merge 0c4e13c...

bors-servo added a commit that referenced this pull request Apr 29, 2017
Remove IndexSizeError in CanvasRenderingContext2D::drawImage

<!-- Please describe your changes on the following line: -->
The current spec don't expect the IndexSizeError if the rectangle is empty.

---
<!-- 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
- [X] These changes fix #10600 (github issue number if applicable).

<!-- Either: -->
- [X] There are tests for these changes

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

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

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

bors-servo commented Apr 29, 2017

💔 Test failed - linux-rel-css

@jdm
Copy link
Member

jdm commented Apr 29, 2017

@bors-servo
Copy link
Contributor

bors-servo commented Apr 29, 2017

Previous build results for android, arm32, arm64, linux-dev, linux-rel-wpt, mac-dev-unit, mac-rel-wpt1, mac-rel-wpt2, windows-msvc-dev are reusable. Rebuilding only linux-rel-css, mac-rel-css...

@bors-servo
Copy link
Contributor

bors-servo commented Apr 29, 2017

☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css, mac-rel-wpt1, mac-rel-wpt2, windows-msvc-dev
Approved by: emilio
Pushing 0c4e13c to master...

@bors-servo bors-servo merged commit 49820a6 into servo:master Apr 29, 2017
2 of 3 checks passed
2 of 3 checks passed
continuous-integration/travis-ci/pr The Travis CI build failed
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
homu Test successful
Details
@n0max n0max deleted the n0max:remove-index-size-error branch Apr 29, 2017
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.

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