servo/components/script
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
..
docs
dom Auto merge of #25914 - paulrouget:lessRAF, r=jdm 2020-03-09 11:38:47 -04:00
task_source
body.rs Implement Blob methods (text/arraybuffer) and async file read method 2020-01-28 14:38:32 +05:30
build.rs
canvas_state.rs Implement CanvasRenderingContext2D.getTransform() 2020-02-12 08:49:18 +01:00
Cargo.toml Update SpiderMonkey 2020-03-06 11:13:28 +01:00
clipboard_provider.rs
devtools.rs rename compartment to realm 2020-01-24 20:52:36 +05:30
document_loader.rs
euclidext.rs
fetch.rs let integrity_metadata survive IPC sending 2020-01-30 10:34:29 -05:00
image_listener.rs
init.rs
layout_image.rs
lib.rs Update SpiderMonkey 2020-03-06 11:13:28 +01:00
mem.rs
microtask.rs Add microtask checkpoints on </script> and CE construct 2020-01-15 11:49:52 -05:00
network_listener.rs
realms.rs rename compartment to realm 2020-01-24 20:52:36 +05:30
script_module.rs Update SpiderMonkey 2020-03-06 11:13:28 +01:00
script_runtime.rs Update SpiderMonkey 2020-03-06 11:13:28 +01:00
script_thread.rs Avoid accessing node global during Node's destructor. 2020-02-24 16:27:40 -05:00
serviceworker_manager.rs
serviceworkerjob.rs
stylesheet_loader.rs Modify script to prevent further violations of snake_case 2020-01-18 14:22:15 +05:30
stylesheet_set.rs
task.rs
task_manager.rs
task_queue.rs
test.rs Modify script to prevent further violations of snake_case 2020-01-18 14:22:15 +05:30
textinput.rs Allow deletion from overflowed textinput 2020-01-10 19:02:41 +01:00
timers.rs
unpremultiplytable.rs
webdriver_handlers.rs Update SpiderMonkey 2020-03-06 11:13:28 +01:00