diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-02-19 04:10:04 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-19 04:10:04 -0800 |
commit | debdebe8dea69c41472002bb49dbb29cc30a85f2 (patch) | |
tree | 94725c5a619db0fb487d7664fd6ae1686a3ffb59 /components/script/dom/nodeiterator.rs | |
parent | 5f813233c9e2b51497c1e5fe4bc10ffd641a3b5e (diff) | |
parent | 0c213337774575605a8d171bc1a2d7cc05747aac (diff) | |
download | servo-debdebe8dea69c41472002bb49dbb29cc30a85f2.tar.gz servo-debdebe8dea69c41472002bb49dbb29cc30a85f2.zip |
Auto merge of #15495 - prampey:mql-borrow-error, r=jdm
Calling matchMedia during a MQL change event will not panic
<!-- Please describe your changes on the following line: -->
Calling matchMedia now leads to a new copy of MQL objects to prevent errors when borrowing references from MQL during an MQL change event.
---
<!-- 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 #14967 (github issue number if applicable).
<!-- Either: -->
- [X] There are tests for these changes OR
- [x] These changes do not require tests because _____
<!-- 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/15495)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/nodeiterator.rs')
0 files changed, 0 insertions, 0 deletions