Open Bug 493121 Opened 15 years ago Updated 2 years ago

Prefs for max_windows_undo and max_tabs_undo should be enforced when setting state

Categories

(Firefox :: Session Restore, defect)

defect

Tracking

()

People

(Reporter: zpao, Unassigned)

Details

Spinning off from bug 491590...

Bug 491590 comment 1 & 2 brought up the point that browser.sessionstore.max_windows_undo and browser.sessionstore.max_tabs_undo are not enforced when we call setBrowserState (and in turn setWindowState).

We should probably do that.
Would be good to guard against bad extension behavior.
Severity: minor → normal
Hey, Is it like I was executing the testcase fx4.0.fft, tabbed testing in testcase 8, I am encountering setting the value of browser.sessionstore.max_tabs_undo to '2' and testing the Recently closed tabs list; only two closed tabs should appear. But, all three are appearing. Is this bug the same one?
(In reply to comment #2)
> Hey, Is it like I was executing the testcase fx4.0.fft, tabbed testing in
> testcase 8, I am encountering setting the value of
> browser.sessionstore.max_tabs_undo to '2' and testing the Recently closed tabs
> list; only two closed tabs should appear. But, all three are appearing. Is this
> bug the same one?

No, that's different. Can you please file a new bug?
Yeah..A new bug 651038 has been filed! Thanks!:)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.