servo/components/script
bors-servo d620ab71c4 Auto merge of #10225 - jmr0:visibility_api, r=jdm
Implement non-visible pipeline and iframe visibility methods

This addresses #9566 and a good part of #9751, specifically:

* Pipeline has a notion of visibility
* IFrame setVisible/getVisible interface with IFrame's pipeline visibility
* IFrame mozbrowservisibilitychange responds to changes in visibility
* Pipeline visibility is used to limit animations (requestAnimationFrame does not tick animations when hidden) and to increase timer intervals (currently set to a minimum of 1 second while hidden)

Absent for now are any changes to the Document API and general implementation of the Page Visibility API, since the more interesting parts require knowledge of whether the user agent is minimized, OS screen locked, etc.

cc @paulrouget @jdm

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10225)
<!-- Reviewable:end -->
2016-06-16 08:53:56 -05:00
..
docs Move the DOM memory management blog post into the tree. 2015-10-29 17:25:00 +01:00
dom Auto merge of #10225 - jmr0:visibility_api, r=jdm 2016-06-16 08:53:56 -05:00
parse Replace HTMLScriptElement::mark_script_already_started by set_script_already_started 2016-06-03 01:31:52 +02:00
task_source Derive Clone for DOMManipulationTaskSource, UserInteractionTaskSource. 2016-06-03 09:33:18 +02:00
blob_url_store.rs add Blob URL store 2016-06-03 08:17:24 +08:00
bluetooth_blacklist.rs Add WebBluetooth Blacklist support 2016-05-31 17:05:45 +02:00
build.rs
Cargo.toml Review fixes 2016-06-11 11:49:40 +05:30
clipboard_provider.rs Remove ConstellationChan. 2016-05-19 17:13:44 +02:00
devtools.rs Make the net monitor panel in FF's devtools show meaningful output. 2016-06-06 00:51:36 +01:00
document_loader.rs Add file backend support for Blob and related 2016-06-01 09:47:07 +08:00
layout_interface.rs Make layout only depend on script::layout_interface. 2016-06-07 13:46:49 +02:00
lib.rs Auto merge of #11556 - Manishearth:make-fetch-happen, r=jdm 2016-06-11 19:30:28 -05:00
makefile.cargo Fix spurious rebuilds of the script crate 2015-10-08 21:37:56 -07:00
mem.rs Bump heapsize to 0.3 2016-02-13 11:13:19 +01:00
network_listener.rs Test fixes; update for changes in spec 2016-06-10 20:55:25 +05:30
origin.rs Make script origins sendable and immutable. 2016-05-27 17:16:13 +02:00
reporter.rs Report CSS errors to script task for further processing. 2016-02-11 14:48:47 -05:00
script_runtime.rs implement related sw interface and register method 2016-06-02 04:09:39 +05:30
script_thread.rs Auto merge of #10225 - jmr0:visibility_api, r=jdm 2016-06-16 08:53:56 -05:00
textinput.rs Implement :placeholder-shown (fixes #10561) 2016-06-03 14:45:14 +02:00
timers.rs Auto merge of #10225 - jmr0:visibility_api, r=jdm 2016-06-16 08:53:56 -05:00
unpremultiplytable.rs add un-premultiply table for GetImageData 2015-10-20 04:51:29 -04:00
webdriver_handlers.rs Support WindowProxy return values in bindings 2016-06-09 23:42:27 +02:00