Bug 1289811 - Give nsIOutputStreamCallback a [function] attribute. r=nfroyd
authorJarda Snajdr <jsnajdr@gmail.com>
Thu, 28 Jul 2016 14:18:00 -0400
changeset 332260 ab6dd1b9f840b104523fb5c777ca4d728fd31728
parent 332259 6e95ea056bf5805c39e141de567f16068b214307
child 332261 23fd4759f733c724c14f3533b25cf8dad3309296
push id9858
push userjlund@mozilla.com
push dateMon, 01 Aug 2016 14:37:10 +0000
treeherdermozilla-aurora@203106ef6cb6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnfroyd
bugs1289811
milestone50.0a1
Bug 1289811 - Give nsIOutputStreamCallback a [function] attribute. r=nfroyd
xpcom/io/nsIAsyncOutputStream.idl
--- a/xpcom/io/nsIAsyncOutputStream.idl
+++ b/xpcom/io/nsIAsyncOutputStream.idl
@@ -86,17 +86,17 @@ interface nsIAsyncOutputStream : nsIOutp
      * stream).
      */
     const unsigned long WAIT_CLOSURE_ONLY = (1<<0);
 };
 
 /**
  * This is a companion interface for nsIAsyncOutputStream::asyncWait.
  */
-[scriptable, uuid(40dbcdff-9053-42c5-a57c-3ec910d0f148)]
+[function, scriptable, uuid(40dbcdff-9053-42c5-a57c-3ec910d0f148)]
 interface nsIOutputStreamCallback : nsISupports
 {
     /**
      * Called to indicate that the stream is either writable or closed.
      *
      * @param aStream
      *        The stream whose asyncWait method was called.
      */