Closed
Bug 76657
Opened 24 years ago
Closed 24 years ago
ViewSource protocol handler must use nsIRequest::LOAD_FROM_CACHE
Categories
(Core :: Networking, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: chak, Assigned: chak)
Details
(Whiteboard: important to mozilla0.9)
Attachments
(1 file)
776 bytes,
patch
|
Details | Diff | Splinter Review |
In version 1.260 of nsDocShell we had:
// "View source" always wants VALIDATE_NEVER.
if ( mViewMode == viewSource ) {
loadFlags |= nsIRequest::VALIDATE_NEVER;
}
} else {
...
}
With the view-source: changes to nsDocShell.cpp we no longer have the mViewMode.
So this code moved to nsViewSourceChannel.cpp
However, in 1.261 the above code became:
// "View source" always wants the currently cached content.
if ( mViewMode == viewSource ) {
loadFlags |= nsIRequest::LOAD_FROM_CACHE;
}
else {
....
}
When the viewsource changes were checked in (as version 1.262 the
"nsIRequest::LOAD_FROM_CACHE" never got into nsViewSourceChannel.cpp).
nsViewSourceChannel.cpp must be updated to or with the
"nsIRequest::LOAD_FROM_CACHE" in SetLoadFlags().
Assignee | ||
Comment 1•24 years ago
|
||
Comment 2•24 years ago
|
||
r=valeski.
Comment 3•24 years ago
|
||
sr=brendan@mozilla.org. I think we want this in 0.9, but I'll let blizzard or
asa give that a= so as to get some drivers peer review.
/be
Whiteboard: important to mozilla0.9
Comment 4•24 years ago
|
||
a=asa@mozilla.org for checkin to 0.9
Assignee | ||
Comment 5•24 years ago
|
||
Fix is in.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•