User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 Build ID: 20110928134238 Steps to reproduce: Open a webpage, click some links. Make sure back/forward buttons are not empty. Then set system time for 2 hours back (or wait 2 hours). Click some more links. Press CTRL+SHIFT+DELETE to open "Clear Recent History" window Select "Last hour" and "Browsing and download history" Press clear button Actual results: Back/Forward buttons are disabled (empty), even though they contained history from 2 hours back. Expected results: Session history should not be all wiped out it should obey the clearing rule selected by user.
Confirmed on Mozilla/5.0 (Windows NT 5.1; rv:10.0a1) Gecko/20111002 Firefox/10.0a1 ID:20111002030844
session history just clears everything since it doesn't support clearing by a timeframe. see http://mxr.mozilla.org/mozilla-central/source/browser/base/content/sanitize.js#239
this is not related to bookmarks & history though, moving to general (maybe preferences?).