diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2019-09-26 16:05:00 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-26 16:05:00 -0400 |
commit | 5fd4467cb3daae0e8cb6f2ceaa2d560f3566e952 (patch) | |
tree | 3d7f22843c7e45c5e718e87ebf4855a2979d8107 /components/script/dom/bindings/codegen/parser/tests | |
parent | 9e6c0de73d489e3c48bc00b71bea56938f200edc (diff) | |
parent | 7cd6a8c68221d9487c1cdb20bb19c104a4322b66 (diff) | |
download | servo-5fd4467cb3daae0e8cb6f2ceaa2d560f3566e952.tar.gz servo-5fd4467cb3daae0e8cb6f2ceaa2d560f3566e952.zip |
Auto merge of #24275 - iinuwa:bugfix/24274, r=jdm
Add check for empty data on ImageData constructor.
<!-- Please describe your changes on the following line: -->
This commit implements the nonzero check for ImageData::new_with_jsobject() according to the ImageData spec.
---
<!-- 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 #24274 (GitHub issue number if applicable)
<!-- Either: -->
- [X] There are tests for these changes OR
- [ ] These changes do not require tests because ___
<!-- 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/24275)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/bindings/codegen/parser/tests')
0 files changed, 0 insertions, 0 deletions