You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.
This interface manages a load group, which is a collection of
nsIRequestobjects. It is scriptable.
Adds a new request to the group. This will cause the default load flags to be applied to the request. If this is a foreground request then the
onStartRequestwill be called. If the request is the default load request or if the default load request is
null, then the load group will inherit its load flags from the request.void nsILoadGroup::removeRequest(in nsIRequest aRequest, in nsISupports aContext,in nsresult aStatus)
aStatus:An error code with the reason for stopping, e.g.
NS_BINDING_ABORTEDif the request was canceled.
Gets and sets the default load request for the group. Each time a number of requests are added to a group, the
defaultLoadRequestmay be set to indicate that all of the requests are related to a base request. The load group inherits its load flags from the default load request. If the default load request is
null, then the group's load flags are not changed.
| Written by:Ellen Evans | Comments, questions, complaints?