diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-06-22 22:01:43 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-22 22:01:43 -0700 |
commit | dd7540a5d4b81c1b7b72a2120b2ada948da7108e (patch) | |
tree | 4c9edd39bf5adea43c51d548b14904d7fd67ffb5 /components/script/dom/element.rs | |
parent | d2bc0ff6314f75a7742567b1f7133a8c76120538 (diff) | |
parent | 433cd90bc305c74107c93fc04689239620ba22a8 (diff) | |
download | servo-dd7540a5d4b81c1b7b72a2120b2ada948da7108e.tar.gz servo-dd7540a5d4b81c1b7b72a2120b2ada948da7108e.zip |
Auto merge of #17472 - moonlightdrive:globalscope-current-option, r=asajeffrey
return Option from GlobalScope::current
<!-- Please describe your changes on the following line: -->
handles the case where `GlobalScope::current` calls `CurrentGlobalOrNull` and the result is null
---
<!-- 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 #17238
<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because: no functionality change & ./mach build -d has no errors
<!-- 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/17472)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/element.rs')
0 files changed, 0 insertions, 0 deletions