imgIRequest interface @author Stuart Parmenter <stuart@mozilla.com> @version 0.1 @see imagelib2
[scriptable, uuid(a297d3fa-5e0c-4e59-9f30-a01c9d4f3f8b)]
Constants
Attributes
The URI the image load was started with. Note that this might not be the actual URI for the image (e.g. if HTTP redirects happened during the load).
the image container... @return the image object associated with the request. @attention NEED DOCS
The principal gotten from the channel the image was loaded from.
Methods
Cancels this request as in nsIRequest::Cancel(); further, also nulls out decoderObserver so it gets no further notifications from us. NOTE: You should not use this in any new code; instead, use cancel(). Note that cancel() is asynchronous, which means that some time after you call it, the listener/observer will get an OnStopRequest(). This means that, if you're the observer, you can't call cancel() from your destructor.
Clone this request; the returned request will have aObserver as the observer. aObserver will be notified synchronously (before the clone() call returns) with all the notifications that have already been dispatched for this image load.
Compare to:
