fixes bug 95981 "Changes in background images on pages do not show on reload"

r=pavlov, sr=dougt
This commit is contained in:
darin%netscape.com 2001-08-22 00:46:08 +00:00
parent 5610455647
commit a57a8ea189
2 changed files with 5 additions and 2 deletions

View File

@ -44,6 +44,10 @@ interface nsILoadGroup : nsIRequest
* Accesses the default load request for the group. Each time a number
* of requests are added to a group, the defaultLoadRequest may 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.
*/
attribute nsIRequest defaultLoadRequest;

View File

@ -388,8 +388,7 @@ nsLoadGroup::SetDefaultLoadRequest(nsIRequest *aRequest)
// Inherit the group load flags from the default load request
if (mDefaultLoadRequest)
mDefaultLoadRequest->GetLoadFlags(&mLoadFlags);
else
mLoadFlags = LOAD_NORMAL;
// Else, do not change the group's load flags (see bug 95981)
return NS_OK;
}