diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-02-21 21:43:28 +0530 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2016-02-21 21:43:28 +0530 |
commit | 8f278109ce84aa482ccc0d25938970435fb6e536 (patch) | |
tree | 1819e53c84e81852b1bb3963ecfe4fad69d95e91 /components/script/dom/bindings/codegen/parser/update.sh | |
parent | f5193ebd82b7d4daf2e5aa30948845bab7a696ea (diff) | |
parent | f2d4a7bbca08a8d1079cc2152966535748992304 (diff) | |
download | servo-8f278109ce84aa482ccc0d25938970435fb6e536.tar.gz servo-8f278109ce84aa482ccc0d25938970435fb6e536.zip |
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 -->
Diffstat (limited to 'components/script/dom/bindings/codegen/parser/update.sh')
0 files changed, 0 insertions, 0 deletions