servo/components
bors-servo ad1a4adac5
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. -->
2020-03-09 11:38:47 -04:00
..
allocator
atoms Selection interface working for synthetic operations 2020-02-13 20:09:27 -05:00
background_hang_monitor Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
bluetooth Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
bluetooth_traits Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
canvas Add support for WebGL2 GetFragDataLocation 2020-03-09 12:59:30 +01:00
canvas_traits Add support for WebGL2 GetFragDataLocation 2020-03-09 12:59:30 +01:00
compositing Auto merge of #25914 - paulrouget:lessRAF, r=jdm 2020-03-09 11:38:47 -04:00
config Update SpiderMonkey 2020-03-06 11:13:28 +01:00
config_plugins Upgrade to rustc 1.42.0-nightly (3291ae339 2020-01-15) 2020-01-16 08:46:41 +01:00
constellation Fixing some style related issues in WebGPU. 2020-02-27 15:10:24 +01:00
debugger Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
deny_public_fields Upgrade to rustc 1.42.0-nightly (3291ae339 2020-01-15) 2020-01-16 08:46:41 +01:00
derive_common
devtools Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
devtools_traits Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
dom_struct
domobject_derive Introduce a new type MaybeUnreflectedDom<T> (fixes #25701) 2020-02-17 10:17:47 +01:00
embedder_traits Auto merge of #25863 - servo:synup, r=jdm 2020-03-05 10:03:48 -05:00
fallible
geometry
gfx Remove azure canvas backend 2020-02-25 00:14:24 -05:00
gfx_traits
hashglobe
jstraceable_derive
layout Remove syn 0.15 from our crate graph (fixes #24421) 2020-03-05 13:01:13 +01:00
layout_2020 Canvas rendering for layout 2020 2020-03-06 13:23:07 +01:00
layout_thread Remove unnecessary .clone() calls 2020-03-04 20:09:56 +02:00
layout_thread_2020 Remove syn 0.15 from our crate graph (fixes #24421) 2020-03-05 13:01:13 +01:00
layout_traits Make Background Hang Monitor Optional 2020-02-23 01:45:52 +05:30
malloc_size_of Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
media Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
metrics Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
msg implement broadcastchannel 2020-02-25 14:17:48 +08:00
net Remove syn 0.15 from our crate graph (fixes #24421) 2020-03-05 13:01:13 +01:00
net_traits Remove syn 0.15 from our crate graph (fixes #24421) 2020-03-05 13:01:13 +01:00
pixels
profile Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
profile_traits Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
rand
range
remutex
script Auto merge of #25914 - paulrouget:lessRAF, r=jdm 2020-03-09 11:38:47 -04:00
script_layout_interface Make Background Hang Monitor Optional 2020-02-23 01:45:52 +05:30
script_plugins Revert "Auto merge of #25898 - jdm:rustup, r=asajeffrey" 2020-03-06 00:06:15 -05:00
script_traits implement broadcastchannel 2020-02-25 14:17:48 +08:00
selectors Use the matches! macro from the standard library 2020-02-12 10:08:31 +01:00
servo Update SpiderMonkey 2020-03-06 11:13:28 +01:00
servo_arc
size_of_test
std_test_override
style Update SpiderMonkey 2020-03-06 11:13:28 +01:00
style_derive style: Make rust generate better code for derive(Animate) and derive(ComputeSquaredDistance). 2020-02-12 02:43:21 +01:00
style_traits style: Miscellaneous Servo build fixes. 2020-02-12 02:43:23 +01:00
to_shmem
to_shmem_derive
url
webdriver_server Remove syn 0.15 from our crate graph (fixes #24421) 2020-03-05 13:01:13 +01:00
webgpu Fixing some style related issues in WebGPU. 2020-02-27 15:10:24 +01:00
webrender_traits
webvr Update SpiderMonkey 2020-03-06 11:13:28 +01:00
webvr_traits Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00