[scriptable, uuid(359f7990-d4e9-11d3-a1a5-0050041caf44)]
interface nsIStreamLoaderObserver : nsISupports

Methods

 Called when the entire stream has been loaded.

 @param loader the stream loader that loaded the stream.
 @param ctxt the context parameter of the underlying channel
 @param status the status of the underlying channel
 @param resultLength the length of the data loaded
 @param result the data

 This method will always be called asynchronously by the
 nsIStreamLoader involved, on the thread that called the
 loader's init() method.
void onStreamComplete(in nsIStreamLoader loader, in nsISupports ctxt, in nsresult status, in unsigned long resultLength, [const, array, size_is(resultLength)] in octet result)