servo/tests
bors-servo 059ac12c00
Auto merge of #23073 - sbansal3096:master, r=emilio
Expose public getter to stylesheet's owner

<!-- Please describe your changes on the following line: -->

- [x] expose a public getter on CSSStyleSheet to return the stylesheet's owner
- [x] in CSSRuleList::insert_rule, use the new getter to pass a non-None value as an argument to arc.insert_rule
- [x] add a test for this that verifies that the new stylesheet is actually loaded
---
<!-- 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 #23028

<!-- 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/23073)
<!-- Reviewable:end -->
2019-03-22 19:45:08 -04:00
..
dromaeo Update MPL license to https (part 5) 2018-11-27 19:09:17 +01:00
heartbeats Update MPL license to https (part 5) 2018-11-27 19:09:17 +01:00
html Fix the broken link in about-page 2019-03-19 21:21:26 +01:00
jquery Update MPL license to https (part 5) 2018-11-27 19:09:17 +01:00
power Update MPL license to https (part 5) 2018-11-27 19:09:17 +01:00
unit #8539 Config preferences backend restructure 2019-03-20 15:01:26 +00:00
wpt Auto merge of #23073 - sbansal3096:master, r=emilio 2019-03-22 19:45:08 -04:00