benshu
78d56ec03d
servo: Merge #8603 - Timers clean up (from benschulz:timers-clean-up); r=jdm
...
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.
Source-Repo: https://github.com/servo/servo
Source-Revision: 8f278109ce84aa482ccc0d25938970435fb6e536
2016-02-21 21:13:28 +05:00
..
2016-02-21 21:13:28 +05:00
2016-02-20 00:10:28 +05:00
2015-11-18 15:14:30 +05:00
2016-01-28 16:36:41 +05:00
2016-01-12 18:02:37 +05:00
2016-02-19 12:19:35 +05:00
2015-11-23 22:39:57 +05:00
2015-12-18 03:56:59 +05:00
2016-02-20 00:10:28 +05:00
2015-12-26 03:38:15 +05:00
2016-01-10 15:19:04 +05:00
2015-11-18 15:14:30 +05:00
2016-01-29 23:17:52 +05:00
2016-01-20 20:28:36 +05:00
2016-02-05 03:10:36 +05:00
2015-11-13 06:47:30 +05:00
2016-02-03 06:34:11 +05:00
2016-01-07 19:43:03 +05:00
2016-01-10 15:19:04 +05:00
2016-02-21 04:03:32 +05:00
2015-11-25 23:40:39 +05:00
2015-11-18 15:14:30 +05:00
2015-11-18 15:14:30 +05:00
2016-02-21 04:03:32 +05:00
2016-02-19 12:19:35 +05:00
2015-12-18 23:07:12 +05:00
2015-11-18 15:14:30 +05:00
2016-01-12 18:02:37 +05:00
2015-11-18 15:14:30 +05:00
2015-11-18 15:14:30 +05:00
2015-11-18 15:14:30 +05:00
2016-01-06 07:32:33 +05:00
2016-01-03 08:46:34 +05:00
2016-02-05 03:10:36 +05:00
2015-12-14 17:13:15 +05:00
2015-12-11 20:42:35 +05:00
2016-02-11 19:45:11 +05:00
2016-01-07 14:40:23 +05:00
2016-02-19 21:04:22 +05:00
2016-01-12 18:02:37 +05:00
2015-11-04 02:26:02 +05:00
2016-02-18 04:29:32 +05:00
2016-02-18 08:33:42 +05:00
2016-02-07 05:29:57 +05:00
2015-12-19 01:28:56 +05:00
2015-12-03 14:35:22 +05:00
2015-12-03 14:35:22 +05:00
2015-12-03 14:35:22 +05:00
2015-12-26 03:38:15 +05:00
2016-02-11 19:45:11 +05:00
2015-12-03 14:35:22 +05:00
2016-02-03 06:34:11 +05:00
2016-02-19 00:24:06 +05:00
2016-01-10 22:25:15 +05:00
2015-12-03 14:35:22 +05:00
2015-12-03 14:35:22 +05:00
2016-02-14 19:32:58 +05:00
2015-12-03 14:35:22 +05:00
2015-12-03 14:35:22 +05:00
2015-12-03 14:35:22 +05:00
2015-12-03 14:35:22 +05:00
2016-02-11 19:45:11 +05:00
2015-12-03 14:35:22 +05:00
2016-02-03 06:34:11 +05:00
2016-02-16 04:03:01 +05:00
2016-02-07 05:29:57 +05:00
2016-02-18 21:56:19 +05:00
2015-12-03 14:35:22 +05:00
2015-12-03 14:35:22 +05:00
2015-12-03 14:35:22 +05:00
2015-12-03 14:35:22 +05:00
2015-12-03 14:35:22 +05:00
2015-12-03 14:35:22 +05:00
2016-02-10 19:20:29 +05:00
2016-02-14 19:32:58 +05:00
2016-02-17 17:24:15 +05:00
2016-01-03 08:46:34 +05:00
2015-12-03 14:35:22 +05:00
2015-12-03 14:35:22 +05:00
2016-02-14 19:32:58 +05:00
2015-12-03 14:35:22 +05:00
2015-12-03 14:35:22 +05:00
2016-02-14 03:29:59 +05:00
2015-12-03 14:35:22 +05:00
2015-12-03 14:35:22 +05:00
2015-12-03 14:35:22 +05:00
2015-12-03 14:35:22 +05:00
2016-02-03 06:34:11 +05:00
2016-02-03 06:34:11 +05:00
2015-12-03 14:35:22 +05:00
2015-12-03 14:35:22 +05:00
2015-12-03 14:35:22 +05:00
2015-12-03 14:35:22 +05:00
2015-12-03 14:35:22 +05:00
2015-12-03 14:35:22 +05:00
2016-02-14 19:32:58 +05:00
2016-02-03 06:34:11 +05:00
2015-12-03 14:35:22 +05:00
2015-12-03 14:35:22 +05:00
2016-02-14 03:29:59 +05:00
2015-12-03 14:35:22 +05:00
2016-01-03 08:46:34 +05:00
2015-12-03 14:35:22 +05:00
2015-12-03 14:35:22 +05:00
2016-02-17 14:05:26 +05:00
2015-12-03 14:35:22 +05:00
2015-12-03 14:35:22 +05:00
2015-12-03 14:35:22 +05:00
2015-12-03 14:35:22 +05:00
2016-02-03 06:34:11 +05:00
2015-12-03 14:35:22 +05:00
2015-12-03 14:35:22 +05:00
2015-12-03 14:35:22 +05:00
2015-12-03 14:35:22 +05:00
2015-12-03 14:35:22 +05:00
2015-12-03 14:35:22 +05:00
2015-11-28 05:37:46 +05:00
2016-01-18 00:06:34 +05:00
2016-01-22 03:55:49 +05:00
2016-01-30 07:30:40 +05:00
2015-12-14 17:13:15 +05:00
2016-02-18 08:33:42 +05:00
2015-12-14 17:13:15 +05:00
2016-01-28 16:36:41 +05:00
2015-11-04 02:26:02 +05:00
2015-11-13 06:47:30 +05:00
2016-02-19 12:19:35 +05:00
2015-11-04 10:33:54 +05:00
2016-01-29 13:34:16 +05:00
2015-11-04 02:26:02 +05:00
2015-11-14 10:56:23 +05:00
2015-10-15 12:53:08 -06:00
2015-12-14 17:13:15 +05:00
2016-01-29 13:34:16 +05:00
2016-02-05 03:10:36 +05:00
2015-11-04 02:26:02 +05:00
2016-02-09 10:38:27 +05:00
2016-01-10 15:19:04 +05:00
2016-02-18 04:29:32 +05:00
2015-12-14 17:13:15 +05:00
2016-02-18 16:10:10 +05:00
2015-11-04 16:17:41 +05:00
2015-12-26 03:38:15 +05:00
2016-01-06 01:24:16 +05:00
2015-11-13 06:47:30 +05:00
2015-11-04 02:26:02 +05:00
2015-12-14 17:13:15 +05:00
2015-11-04 02:26:02 +05:00
2015-11-04 10:33:54 +05:00
2015-12-14 17:13:15 +05:00
2016-01-22 03:55:49 +05:00
2016-01-22 03:55:49 +05:00
2016-02-07 05:29:57 +05:00
2016-01-03 08:46:34 +05:00
2015-11-04 02:26:02 +05:00
2015-10-10 15:00:39 -06:00
2016-02-19 02:44:28 +05:00
2015-11-04 16:17:41 +05:00
2015-12-29 16:57:27 +05:00
2015-12-14 17:13:15 +05:00
2015-11-04 02:26:02 +05:00
2015-11-04 02:26:02 +05:00
2016-01-13 21:44:59 +05:00
2015-11-04 02:26:02 +05:00
2016-02-19 00:24:06 +05:00
2016-01-13 21:44:59 +05:00
2015-11-04 02:26:02 +05:00
2015-12-04 21:42:26 +05:00
2016-01-13 21:44:59 +05:00
2016-02-18 04:29:32 +05:00
2016-02-21 21:13:28 +05:00
2016-02-18 04:29:32 +05:00
2016-02-21 21:13:28 +05:00
2015-11-13 06:47:30 +05:00
2015-11-04 02:26:02 +05:00
2016-02-21 04:03:32 +05:00
2016-02-21 21:13:28 +05:00
2015-10-21 07:57:32 -06:00
2015-11-04 02:26:02 +05:00