Closed Bug 651038 Opened 13 years ago Closed 13 years ago

Setting the value of browser.sessionstore.max_tabs_undo to a value, is not giving the correct functionality/numbers in Recently Closed Tabs list

Categories

(Firefox :: Session Restore, defect)

4.0 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: mani_c_career, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows NT 5.1; rv:2.0) Gecko/20100101 Firefox/4.0
Build Identifier: Mozilla/5.0 (Windows NT 5.1; rv:2.0) Gecko/20100101 Firefox/4.0

While executing the test case 10266 in FF 4.0, FFT (Tabbed browsing), the parameter 'browser.sessionstore.max_tabs_undo' was set to '2' and in the Recently closed tabs list, it is expected to have only two tabs; only two closed tabs should appear. But, all the closed tabs(more than 2) are appearing. Is this
bug the same one?

Reproducible: Always

Steps to Reproduce:

->Set the value of 'browser.sessionstore.max_tabs_undo' through prefs.js file

{ follow these steps:

  i) Copy the Steps to Reproduce to a Notepad file. 
  ii) If Firefox is open, close it. 
  iii) Find the prefs.js file in your profile folder (see Profile Locations below to find your profile folder) OR For finding the Profile folder, go to Help->TroubleShooting Information. Click on Open Containing Folder.
    iv)Open prefs.js in a text editor and add

    user_pref("browser.sessionstore.max_tabs_undo", 2);

    to the bottom of the file.
    
v)Save and close prefs.js

vi)    Start Firefox
 
vii) Open a browser, open three websites in new tabs; altavista, google, msn, with the main foreground as yahoo
 So, there must be four tabs with the four search engines

viii)Close three of the open tabs
   
ix) Go to the History menu and hover over "Recently Closed Tabs"
    
Expected: Only two closed tabs should appear

Actual: All the three tabs are appearing
Actual Results:  
All the three tabs are appearing

Expected Results:  
Only two closed tabs should appear
Component: Tabbed Browser → Session Restore
QA Contact: tabbed.browser → session.restore
Mozilla/5.0 (Windows NT 6.1; rv:6.0a1) Gecko/20110418 Firefox/6.0a1

Works fine for me. Only 2 closed tabs are appearing in "Recently Closed Tabs".
Please try if it works fine by creating a new profile. 
https://support.mozilla.com/en-US/kb/Managing+profiles#Creating_a_profile.
Version: unspecified → 4.0 Branch
Resolving INCOMPLETE due to lack of feedback. Please reopen if you can still reproduce given comment 1.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.