diff options
author | Ms2ger <ms2ger@gmail.com> | 2014-03-12 09:46:18 +0100 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2014-03-12 09:46:18 +0100 |
commit | 858d30b5d9498db84a657c8922eb72b29c6dbcae (patch) | |
tree | f65e321f0f1f391c4aa2b2a04d7c0bfbea33b8e7 /src | |
parent | af616dba58cbf589b116b9e3cde4429df43e72cd (diff) | |
download | servo-858d30b5d9498db84a657c8922eb72b29c6dbcae.tar.gz servo-858d30b5d9498db84a657c8922eb72b29c6dbcae.zip |
Update the WindowTimers interface to the current specification.
Diffstat (limited to 'src')
-rw-r--r-- | src/components/script/dom/webidls/Window.webidl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/components/script/dom/webidls/Window.webidl b/src/components/script/dom/webidls/Window.webidl index de53cd2342c..0260324b91e 100644 --- a/src/components/script/dom/webidls/Window.webidl +++ b/src/components/script/dom/webidls/Window.webidl @@ -67,13 +67,13 @@ partial interface Window { [NoInterfaceObject] interface WindowTimers { - //long setTimeout(Function handler, optional long timeout, any... arguments); + //long setTimeout(Function handler, optional long timeout = 0, any... arguments); //XXXjdm No support for Function or variadic arguments yet - long setTimeout(any handler, optional long timeout/*, any... arguments*/); - void clearTimeout(long handle); - /*long setTimeout(DOMString handler, optional long timeout, any... arguments); - long setInterval(Function handler, optional long timeout, any... arguments); - long setInterval(DOMString handler, optional long timeout, any... arguments); - void clearInterval(long handle);*/ + long setTimeout(any handler, optional long timeout = 0/*, any... arguments*/); + void clearTimeout(optional long handle = 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); + void clearInterval(optional long handle = 0);*/ }; Window implements WindowTimers; |