Bug 540665 - Make nsIRunnable a function so JS can use it as such. r=benjamin
authorJosh Matthews <josh@joshmatthews.net>
Fri, 07 May 2010 09:52:04 +0200
changeset 42119 981ef4b4e8664fed548b9378555b0b4a4b9d42c5
parent 42118 c7e495e0632670c7f22229baa62f9a6bb63954c2
child 42120 96a346a89fcfa2b58733cb4212f9ccd02f5eeb16
push idunknown
push userunknown
push dateunknown
reviewersbenjamin
bugs540665
milestone1.9.3a5pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
Bug 540665 - Make nsIRunnable a function so JS can use it as such. r=benjamin
xpcom/threads/nsIRunnable.idl
--- a/xpcom/threads/nsIRunnable.idl
+++ b/xpcom/threads/nsIRunnable.idl
@@ -32,13 +32,13 @@
  * and other provisions required by the GPL or the LGPL. If you do not delete
  * the provisions above, a recipient may use your version of this file under
  * the terms of any one of the MPL, the GPL or the LGPL.
  *
  * ***** END LICENSE BLOCK ***** */
 
 #include "nsISupports.idl"
 
-[scriptable, uuid(4a2abaf0-6886-11d3-9382-00104ba0fd40)]
+[scriptable, function, uuid(4a2abaf0-6886-11d3-9382-00104ba0fd40)]
 interface nsIRunnable : nsISupports
 {
     void run();
 };