mirror of
https://github.com/servo/servo.git
synced 2025-10-05 19:19:25 +01:00
Remove unused support for passing extra arguments for timers.
This commit is contained in:
parent
674fd893cb
commit
3ecfb9197f
2 changed files with 1 additions and 7 deletions
|
@ -751,11 +751,7 @@ impl ScriptTask {
|
|||
window.get_mut().active_timers.remove(&timer_data.handle);
|
||||
}
|
||||
|
||||
let this_value = if timer_data.args.len() > 0 {
|
||||
fail!("NYI")
|
||||
} else {
|
||||
window.reflector().get_jsobject()
|
||||
};
|
||||
let this_value = window.reflector().get_jsobject();
|
||||
|
||||
// TODO: Support extra arguments. This requires passing a `*JSVal` array as `argv`.
|
||||
let rval = NullValue();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue