mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-05 00:02:37 +00:00
fixes bug 95981 "Changes in background images on pages do not show on reload"
r=pavlov, sr=dougt
This commit is contained in:
parent
5610455647
commit
a57a8ea189
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user