Closed
Bug 229392
Opened 21 years ago
Closed 21 years ago
Random cleanup in session history code
Categories
(Core :: DOM: Navigation, defect)
Core
DOM: Navigation
Tracking
()
VERIFIED
FIXED
People
(Reporter: keeda, Unassigned)
Details
Attachments
(1 file)
7.45 KB,
patch
|
alecf
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
I was looking through some session history code and found a bit of code that is
seems useless and can trivially be eliminated. I'll shortly attach a patch that
eliminates it.
Reporter | ||
Comment 1•21 years ago
|
||
This patch does 2 things
- Move all of nsSHistory::PrintHistory() which is clearly debug code into
#ifdef DEBUG
- Elimiate code related to lrvList attribute in nsISHTransaction.
This seems to have been an attempt to implement some kind of branching in
session history instead of the current linear implemenation. In any
case, its never worked and has always been disabled going back to even very
early versions in cvs.
Reporter | ||
Comment 2•21 years ago
|
||
Comment on attachment 137958 [details] [diff] [review]
Get rid of some code
Radha does not seem to be around anymore. Adam, bz, could you please review?
Attachment #137958 -
Flags: superreview?(bz-vacation)
Attachment #137958 -
Flags: review?(adamlock)
Comment 3•21 years ago
|
||
Alec would probably also be a good reviewer.
![]() |
||
Comment 4•21 years ago
|
||
Comment on attachment 137958 [details] [diff] [review]
Get rid of some code
looks reasonble. sr=bzbarsky
Attachment #137958 -
Flags: superreview?(bz-vacation) → superreview+
Comment 5•21 years ago
|
||
Can you review this Alec? I'll not request r= from you directly since it's not
my bug...
Comment 6•21 years ago
|
||
Comment on attachment 137958 [details] [diff] [review]
Get rid of some code
nice - just make sure nsISHEntry isn't frozen.
And assuming it is not frozen, make sure to rev the IID for the interface
before landing.
Attachment #137958 -
Flags: review?(adamlock) → review+
Comment 7•21 years ago
|
||
er nsISHTransaction I guess, not nsISHEntry - in any case, always rev the IID
when you change an interface.
Reporter | ||
Comment 8•21 years ago
|
||
Checked in with nsISHTransaction IID change. (And yes, I had already checked
that it was not frozen.)
Thanks for the reviews. (And thanks to stephend for the reminder, I had
forgotten I that I needed to poke someone for this review.)
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Component: History: Session → Document Navigation
QA Contact: docshell
You need to log in
before you can comment on or make changes to this bug.
Description
•