diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2018-11-16 11:10:32 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-16 11:10:32 -0500 |
commit | 831f966b0c3a28af431677c42ea21a3f44d1218b (patch) | |
tree | 3b25e6bc01052d6fdd0ac3a9632298d24bca7fef /components/script/dom/filereader.rs | |
parent | a2937d948818665ecda16a06fe6c8fa751d265fd (diff) | |
parent | 1f99bf4631cc0b5bbd2c4407c98bcd547a63905e (diff) | |
download | servo-831f966b0c3a28af431677c42ea21a3f44d1218b.tar.gz servo-831f966b0c3a28af431677c42ea21a3f44d1218b.zip |
Auto merge of #21978 - jimberlage:input-value-fix, r=jdm
Fixes panic on DOMString::strip_leading_and_trailing_ascii_whitespace
<!-- Please describe your changes on the following line: -->
This changes `DOMString::strip_leading_and_trailing_ascii_whitespace` to handle multi-byte unicode characters.
---
<!-- 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 #21963 (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/21978)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/filereader.rs')
0 files changed, 0 insertions, 0 deletions