Open Bug 642507 Opened 14 years ago Updated 2 years ago

Off-by-one error for browser.sessionhistory.max_entries in about:config introduced by Firefox 4.0 RC.

Categories

(Core :: DOM: Navigation, defect)

defect

Tracking

()

People

(Reporter: asandari, Assigned: smaug)

References

Details

(Whiteboard: [testday-20110603])

User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:2.0) Gecko/20100101 Firefox/4.0 Build Identifier: Mozilla/5.0 (Windows NT 6.0; rv:2.0) Gecko/20100101 Firefox/4.0 In my Firefox 3.6 settings, I had set browser.sessionhistory.max_entries to 1. When I upgraded to the Firefox 4.0 RC I was no longer able to go back a page. Reproducible: Always Steps to Reproduce: 1. Set browser.sessionhistory.max_entries to 1 in about:config 2. Google an inane term and click on a link. 3. Hit backspace or the back button; note that you cannot go back. 4. Set browser.sessionhistory.max_entries to 2 in about:config 5. Repeat step 2 and click on another link within the website. 6. Hit backspace or the back button twice; note that you can only go back one page. Actual Results: In steps 3 and 6, you can only go back 0 and 1 times respectively. Expected Results: In steps 3 and 6, you should be able to go back 1 and 2 times respectively.
Olli?
Component: Bookmarks & History → Document Navigation
Product: Firefox → Core
QA Contact: bookmarks → docshell
I'll look at this.
Assignee: nobody → Olli.Pettay
Can confirm with Aurora 6 on Linux.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows Vista → All
Hardware: x86 → All
Whiteboard: [testday-20110603]
Version: unspecified → Trunk
See Also: → 1606500
Severity: trivial → S4
You need to log in before you can comment on or make changes to this bug.