diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-07-21 04:08:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-21 04:08:49 -0500 |
commit | a39bd7db5ba26fa3c95e4bbbb5f1a358bc01965f (patch) | |
tree | 62a26e97151c44127322dc2ab66518f5ce7d5e77 /components/script/dom/window.rs | |
parent | 4a77cbdbb2fc1a4f163171356a7f5340e1237317 (diff) | |
parent | ceb85795b1feed53121f9683cc34d2fd76cef761 (diff) | |
download | servo-a39bd7db5ba26fa3c95e4bbbb5f1a358bc01965f.tar.gz servo-a39bd7db5ba26fa3c95e4bbbb5f1a358bc01965f.zip |
Auto merge of #12535 - Manishearth:try-resource, r=KiChjang
Use Result instead of panicking when the resource dir can't be found
<!-- Please describe your changes on the following line: -->
---
<!-- 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 #12520 (github issue number if applicable).
<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because it's a refactoring
<!-- 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/12535)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/window.rs')
0 files changed, 0 insertions, 0 deletions