Closed
Bug 475069
Opened 16 years ago
Closed 15 years ago
nsNavHistory::AddDocumentRedirect doesn't handle INTERNAL redirects
Categories
(Toolkit :: Places, defect)
Tracking
()
RESOLVED
FIXED
mozilla1.9.2a1
People
(Reporter: jrmuizel, Assigned: jrmuizel)
References
Details
(Keywords: fixed1.9.1)
Attachments
(1 file, 1 obsolete file)
628 bytes,
patch
|
beltzner
:
approval1.9.1+
|
Details | Diff | Splinter Review |
AddDocumentRedirect() doens't check for or handle INTERNAL redirects. It should likely ignore them. I ran into this when trying land the PAC patch from bug 235853 which causes a INTERNAL redirects to happen much more frequently. The INTERNAL redirects seem to have been breaking toolkit/components/places/tests/test_bug_411966.html.
Attachment #358465 -
Flags: review?(mak77)
Comment 1•16 years ago
|
||
Comment on attachment 358465 [details] [diff] [review] Ignore INTERNAL redirects >+ // ignore internal redirects >+ if (aFlags & nsIChannelEventSink::REDIRECT_INTERNAL) >+ return NS_OK; >+ nit: please fix indentation on the return looks good otherwise
Attachment #358465 -
Flags: review?(mak77) → review+
Assignee | ||
Comment 2•16 years ago
|
||
Attachment #358465 -
Attachment is obsolete: true
Attachment #358738 -
Flags: superreview?(bzbarsky)
Updated•16 years ago
|
Attachment #358738 -
Flags: superreview?(bzbarsky) → superreview?(mconnor)
Comment 3•16 years ago
|
||
Comment on attachment 358738 [details] [diff] [review] Ignore INTERNAL redirects w/ indentation fixed. Someone like mconnor (or someone else who knows what this code is trying to do) is a better sr here. That's assuming this patch needs sr at all.
Comment 4•16 years ago
|
||
It doesn't need SR.
Assignee | ||
Updated•16 years ago
|
Attachment #358738 -
Flags: superreview?(mconnor)
Assignee | ||
Updated•16 years ago
|
Whiteboard: checkin-needed
Comment 5•15 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/ace745f31c3e Jeff, if you want this into 1.9.1, you'll need to ask for approval1.9.1.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Whiteboard: checkin-needed
Updated•15 years ago
|
Assignee: nobody → jmuizelaar
Comment 6•15 years ago
|
||
Comment on attachment 358738 [details] [diff] [review] Ignore INTERNAL redirects w/ indentation fixed. askign approval 1.9.1, should have no risk and avoid us to retain useless (for Places) redirect data.
Attachment #358738 -
Flags: approval1.9.1?
Updated•15 years ago
|
Attachment #358738 -
Flags: approval1.9.1? → approval1.9.1+
Comment 7•15 years ago
|
||
Comment on attachment 358738 [details] [diff] [review] Ignore INTERNAL redirects w/ indentation fixed. a191=beltzner
Updated•15 years ago
|
Keywords: checkin-needed
Whiteboard: [c-n 191]
You need to log in
before you can comment on or make changes to this bug.
Description
•