mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Implement Window.set/clearInterval.(fixes #2116)
This commit is contained in:
parent
896cadbf62
commit
b7dcf62ed0
5 changed files with 92 additions and 13 deletions
|
@ -71,6 +71,8 @@ interface WindowTimers {
|
|||
//XXXjdm No support for Function or variadic arguments yet
|
||||
long setTimeout(any handler, optional long timeout = 0/*, any... arguments*/);
|
||||
void clearTimeout(optional long handle = 0);
|
||||
long setInterval(any handler, optional long timeout = 0/*, any... arguments*/);
|
||||
void clearInterval(optional long handler = 0);
|
||||
/*long setTimeout(DOMString handler, optional long timeout = 0, any... arguments);
|
||||
long setInterval(Function handler, optional long timeout = 0, any... arguments);
|
||||
long setInterval(DOMString handler, optional long timeout = 0, any... arguments);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue