Files
servo/components
bors-servo 8f278109ce Auto merge of #8603 - benschulz:timers-clean-up, r=jdm
Timers clean up

This PR splits the `ActiveTimers` abstraction into

 - `OneshotTimers` for scheduling "arbitrary" oneshot timers, such as XHR timeouts, and
 - `JsTimers`, based on `OneshotTimers`, for scheduling JS timers (`setTimeout`/`setInterval`).

The result is mich cleaner and the timer initialization steps now closely resemble the specification.

**Notes**
 - The second and third commit are strictly renames and code rearrangements.
 - I'm not particularily happy with the `OneshotTimerCallback` enum and its circular dependency with `XHRTimeoutCallback`, but I couldn't come up with anything better.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8603)
<!-- Reviewable:end -->
2016-02-21 21:43:28 +05:30
..
2016-02-20 05:03:10 +01:00
2016-02-13 11:13:19 +01:00
2016-02-18 10:35:29 +10:00
2016-02-13 11:13:19 +01:00
2016-02-18 10:35:29 +10:00
2016-02-13 00:08:12 +01:00
2016-02-18 06:37:32 -05:00
2016-02-20 19:20:38 +01:00
2016-02-13 00:08:12 +01:00