servo/components/compositing
bors-servo 7518c4de93 Auto merge of #10082 - asajeffrey:remove-constellation-panic, r=glennw
Removed panicking when frame or pipeline lookup fails.

Removed the methods `pipeline(id)`, `pipeline_mut(id)`, `frame(id)` and `frame_mut(id)` from constellation, which panicked when the table lookup failed.

The panics were causing race conditions, e.g. visiting google.com and resizing the page would cause a panic, most likely due to an iframe being added and removed, with the `DOMLoad` event arriving after the iframe had been removed, causing a panic.

This patch fixes #10017 and #8769 (although in non-webrender builds there's now a different panic, see https://github.com/servo/servo/issues/10017#issuecomment-198160200).

There are a few `TODO` items in the initial commit, for cases where it's not completely obvious what to do in the case of failure.

<!-- 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/10082)
<!-- Reviewable:end -->
2016-04-01 03:30:57 +05:30
..
Cargo.toml Update webrender with crates.io's offscreen_gl_context (fixes #10296) 2016-03-31 02:02:02 +02:00
compositor.rs No more headless compositor. Just the normal one. 2016-03-24 11:18:54 -07:00
compositor_layer.rs compositing: Fix a couple of bugs that prevented iframes from painting 2016-01-26 16:37:23 -05:00
compositor_thread.rs No more headless compositor. Just the normal one. 2016-03-24 11:18:54 -07:00
constellation.rs Removed panicking when frame or pipeline lookup fails. 2016-03-31 16:18:36 -05:00
delayed_composition.rs compositing: Stop compositing unnecessarily after each animation frame. 2016-02-24 14:06:46 -08:00
lib.rs Auto merge of #8641 - notriddle:no_headless, r=glennw 2016-03-29 12:42:01 +05:30
pipeline.rs No more headless compositor. Just the normal one. 2016-03-24 11:18:54 -07:00
sandboxing.rs Remove unused import. 2015-11-20 08:55:41 +01:00
scrolling.md Add documentation about the scrolling model 2014-10-10 09:26:43 -07:00
surface_map.rs use self.0 instead of destructing single item tuple structs 2016-03-27 11:50:08 +01:00
timer_scheduler.rs task -> thread 2016-01-10 17:58:13 +09:00
touch.rs Fix a bunch of clippy lints 2016-01-02 23:27:15 +01:00
windowing.rs No more headless compositor. Just the normal one. 2016-03-24 11:18:54 -07:00