mozilla/servo — pull request #2129 by lpy (2014-04-16 15:10:50+00:00)
Title: Implement Window.set/clearInterval.(fixes #2116)

see #2116
I add an `is_interval` field, so that when the `TimerData` is passed by `SetInterval`, we will not delete it from `active_timers`.
Also I think maybe we can extract the code in `ClearTimeout` and `ClearInterval` into another method to avoid duplicate.