servo/components/script/dom/bindings
bors-servo ac0645c236 Auto merge of #5767 - glennw:image-cache, r=larsbergstrom,jdm
* Simpler image cache API for clients to use.
 * Significantly fewer threads.
   * One thread for image cache task (multiplexes commands, decoder threads and async resource requests).
   * 4 threads for decoder worker tasks.
 * Removed ReflowEvent hacks in script and layout tasks.
   * Image elements pass a Trusted<T> to image cache, which is used to dirty nodes via script task. Previous use of Untrusted addresses was unsafe.
   * Image requests such as background-image on layout / paint threads trigger repaint only rather than full reflow.
 * Add reflow batching for when multiple images load quickly.
   * Reduces the number of paints loading wikipedia from ~95 to ~35.
 * Reasonably simple to add proper prefetch support in a follow up PR.
 * Async loaded images always construct Image fragments now, instead of generic.
   * Image fragments support the image not being present.
 * Simpler implementation of synchronous image loading for reftests.
 * Removed image holder.
 * image.onload support.
 * image NaturalWidth and NaturalHeight support.
 * Updated WPT expectations.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5767)
<!-- Reviewable:end -->
2015-04-22 19:16:46 -05:00
..
codegen Stop using the deprecated range function. 2015-04-22 20:26:40 +02:00
callback.rs Fix various build warnings. 2015-03-20 17:57:49 +01:00
cell.rs Make async XMLHttpRequest requests use async network events. 2015-04-16 11:46:39 -04:00
conversions.rs When converting a non-finite float, throw the TypeError from the FromJSValConvertible implementation. 2015-04-07 14:16:34 +02:00
error.rs Add Rust code for RangeErrors. 2015-04-10 01:49:14 -04:00
global.rs Documentation. 2015-04-16 11:46:42 -04:00
js.rs Auto merge of #5550 - aneeshusa:fix-issue-5540, r=jdm 2015-04-07 23:04:12 -05:00
mod.rs Add more documentation about the DOM bindings. 2015-04-03 11:33:53 +02:00
num.rs Introduce Finite<T: Float> for restricted values defined in WebIDL. 2015-03-25 10:45:30 +09:00
proxyhandler.rs Rename getOwnPropertyNames_ and enumerate_ to get_own_property_names and enumerate. 2015-01-29 17:28:07 +01:00
refcounted.rs Refactored image cache task - details below. 2015-04-23 09:40:24 +10:00
str.rs Remove some unnecessary uses of as_slice 2015-03-29 14:42:19 -04:00
structuredclone.rs auto merge of #4717 : Ms2ger/servo/doc-proxy, r=saneyuki 2015-01-28 01:48:52 -07:00
trace.rs Refactored image cache task - details below. 2015-04-23 09:40:24 +10:00
utils.rs Stop using the deprecated range function. 2015-04-22 20:26:40 +02:00