Clear recent history will clear back/forward history regardless of time range chosen

NEW
Unassigned

Status

()

Firefox
General
--
enhancement
6 years ago
6 years ago

People

(Reporter: V@no, Unassigned)

Tracking

Trunk
x86_64
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
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.

Comment 1

6 years ago
Confirmed on Mozilla/5.0 (Windows NT 5.1; rv:10.0a1) Gecko/20111002 Firefox/10.0a1 ID:20111002030844
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Clear history will clear session regardless what time range was selected → Clear recent history will clear back/forward history regardless of time range chosen
Version: 10 Branch → Trunk

Updated

6 years ago
Severity: normal → enhancement
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?).
Component: Bookmarks & History → General
QA Contact: bookmarks → general
You need to log in before you can comment on or make changes to this bug.