servo/components
bors-servo f05491166f Auto merge of #16861 - gterzian:use_microtask_to_await_stable_state, r=jdm
Use microtasks to await a stable state.

<!-- Please describe your changes on the following line: -->

@jdm @KiChjang First pass at using microtasks to await a stable state. I ran into all sorts of problems to get it to compile, I think it's mainly related to the fact that the microtasks are stored in a `Vec`, which meant the `Runnalbe.handler(self: Box<Self>)` couldn't be called while iterating over the Vec... It compiles now although I haven't run any tests. I'm assuming I'm missing something fundamental and was hoping my changes would highlight the problems I run into, and you had a better idea of how to implement this... Perhaps we shouldn't pass a `Runnable` to `await_stable_state` at all?

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #15375 (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. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16861)
<!-- Reviewable:end -->
2017-05-19 20:09:54 -05:00
..
atoms Allow 'decimal' and 'none' in <counter-style-name> 2017-04-26 13:04:27 +09:00
bluetooth
bluetooth_traits
canvas Bump cssparser to 0.13.3 2017-05-11 12:50:40 -07:00
canvas_traits Bump cssparser to 0.13.3 2017-05-11 12:50:40 -07:00
compositing Properly handle scroll offsets in hit testing 2017-05-16 15:27:09 +02:00
config Not headless by default 2017-05-17 09:52:40 +02:00
constellation Renamed constellation::Frame to constellation::BrowsingContext. 2017-05-15 21:03:11 -05:00
debugger
deny_public_fields
devtools Fix indentation errors in servo rust code that tidy now finds. 2017-04-18 14:56:13 -04:00
devtools_traits
dom_struct
domobject_derive
geometry
gfx Auto merge of #16891 - kvark:preserve3d, r=glennw,emilio 2017-05-17 20:38:14 -05:00
gfx_traits Eliminate ScrollRootId 2017-04-20 08:51:38 +02:00
jstraceable_derive
layout Auto merge of #16913 - jdm:canvas2d, r=jdm 2017-05-19 10:45:44 -05:00
layout_thread Auto merge of #16876 - asajeffrey:constellation-rename-frames, r=cbrewster 2017-05-16 23:10:45 -05:00
layout_traits Renamed constellation::Frame to constellation::BrowsingContext. 2017-05-15 21:03:11 -05:00
msg Renamed constellation::Frame to constellation::BrowsingContext. 2017-05-15 21:03:11 -05:00
net Use the origin of the actual image response when determining if a canvas is origin clean. 2017-05-19 09:38:50 -04:00
net_traits Use the origin of the actual image response when determining if a canvas is origin clean. 2017-05-19 09:38:50 -04:00
profile Implemented Houdini worklets. 2017-05-17 09:01:05 -05:00
profile_traits Implemented Houdini worklets. 2017-05-17 09:01:05 -05:00
rand
range
remutex Upgrade to rustc 1.19.0-nightly (ced823e26 2017-05-07) 2017-05-08 12:46:03 +02:00
script Auto merge of #16861 - gterzian:use_microtask_to_await_stable_state, r=jdm 2017-05-19 20:09:54 -05:00
script_layout_interface Simplify rust-selectors API for attribute selectors 2017-05-18 17:13:13 +02:00
script_plugins Stop using unstable slice_patterns feature 2017-05-01 14:19:00 -07:00
script_traits Implemented Houdini worklets. 2017-05-17 09:01:05 -05:00
selectors Don’t visit attribute selectors that never match. 2017-05-18 17:13:20 +02:00
servo make gl context current on browser initialization 2017-05-17 09:25:51 +02:00
size_of_test Add size_of_test crate 2017-05-16 10:12:51 +02:00
style Work around CI bustage 2017-05-19 18:53:27 +02:00
style_traits Auto merge of #16067 - Wafflespeanut:grid, r=nox,Wafflespeanut 2017-05-18 17:09:15 -05:00
url Remove servo feature from servo_url 2017-04-07 17:51:49 +10:00
webdriver_server Renamed constellation::Frame to constellation::BrowsingContext. 2017-05-15 21:03:11 -05:00
webvr Update WR (new groove/ridge border path, mix-blend-mode optimizations) 2017-04-26 14:34:07 +10:00
webvr_traits Implement Gamepad API 2017-04-12 15:43:14 +02:00