mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Allow passing arguments to setTimeout/setInterval callbacks
This commit is contained in:
parent
05bd182538
commit
4b2b0d0723
12 changed files with 88 additions and 45 deletions
|
@ -665,7 +665,7 @@ impl ScriptTask {
|
|||
pipeline ID not associated with this script task. This is a bug.");
|
||||
let frame = page.frame();
|
||||
let window = frame.as_ref().unwrap().window.root();
|
||||
window.handle_fire_timer(timer_id, self.get_cx());
|
||||
window.handle_fire_timer(timer_id);
|
||||
}
|
||||
|
||||
/// Handles a notification that reflow completed.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue