Skip to content

Commit

Permalink
Make nsITimerCallback a [function], to allow JS to pass a function ob…
Browse files Browse the repository at this point in the history
…ject instead of this interface Bug 430305 r/sr/a=shaver
  • Loading branch information
benbucksch committed Apr 23, 2008
1 parent 7aad6d2 commit d8b5f82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpcom/threads/nsITimer.idl
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
/**
Expand Down

0 comments on commit d8b5f82

Please sign in to comment.