Make nsITimerCallback a [function], to allow JS to pass a function object instead of this interface Bug 430305 r/sr/a=shaver

This commit is contained in:
mozilla.BenB@bucksch.org 2008-04-23 10:42:58 -07:00
parent 6e17d54229
commit 6868cb30a4

View File

@ -66,7 +66,7 @@ native nsTimerCallbackFunc(nsTimerCallbackFunc);
*/
interface nsITimer;
[scriptable, uuid(a796816d-7d47-4348-9ab8-c7aeb3216a7d)]
[function, scriptable, uuid(a796816d-7d47-4348-9ab8-c7aeb3216a7d)]
interface nsITimerCallback : nsISupports
{
/**