diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2020-03-09 11:38:47 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-09 11:38:47 -0400 |
commit | ad1a4adac56fc86c12f59da92f0539d8e94a4848 (patch) | |
tree | 81c2bdc46701c0370d542fe502ef70f5ae4965d7 /components/script/dom/bindings/codegen | |
parent | d867994dfba504c5293104d7fed2aaca60c1af3a (diff) | |
parent | 21c408e0d5fe4c24ff2b396f251697d7569d4332 (diff) | |
download | servo-ad1a4adac56fc86c12f59da92f0539d8e94a4848.tar.gz servo-ad1a4adac56fc86c12f59da92f0539d8e94a4848.zip |
Auto merge of #25914 - paulrouget:lessRAF, r=jdm
Stop embedder calls and fake rAF when window not visible
This addresses 2 issues:
- a rAF loop might still be ongoing when the window is invisible if script decided that the rAF were going too fast (spurious rAF)
- a hidden window does not run the rAF loop, but the embedder would still be in animating mode
---
<!-- 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
- [ ] These changes fix #___ (GitHub issue number if applicable)
<!-- Either: -->
- [ ] 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. -->
Diffstat (limited to 'components/script/dom/bindings/codegen')
0 files changed, 0 insertions, 0 deletions