Closed
Bug 598479
Opened 14 years ago
Closed 14 years ago
Clear Recent History Does Not Delete Local Storage Data
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
RESOLVED
DUPLICATE
of bug 527667
People
(Reporter: mcoates, Unassigned)
Details
Note: This behavior was observed in Firefox 4 Beta 6 and also 3.6.10
I confirmed this issue in a vanilla profile with no add-ons.
Issue
The "Clear Recent History" button/link (preferences->privacy when set to "remember history") does not clear local storage data. This is unexpected behavior because the "Clear All History" button/link (preferences->privacy when set to "never remember history") does clear local storage data.
Steps to reproduce:
1. Go to any site
2. Use javascript in URL to add to localstorage
javascript:localStorage.setItem('fooName','barValue');
3. Go to privacy and click clear recent history and close browser
4. Return to site
javascript:alert(localStorage.getItem('fooName'));
5. Observe localstorage data is still there
If you repeat the above steps but perform the following instead at step 3, then the local storage data is actually deleted.
#3. Go to privacy, change setting to "never remember history" and click "clear all history"
Expected Action
Clicking clear recent history will clear all cookies and also clear local storage data. This would be the same behavior as clear all history but limited to the selected time frame.
Reporter | ||
Comment 1•14 years ago
|
||
Note: I also tested this on a site with localstorage modification via inline script tabs. The url scripting is just an easy test case.
Updated•14 years ago
|
Product: Core → Firefox
QA Contact: general → general
Updated•14 years ago
|
Status: NEW → RESOLVED
blocking2.0: --- → betaN+
Closed: 14 years ago
Resolution: --- → DUPLICATE
Updated•14 years ago
|
blocking2.0: betaN+ → ---
Updated•9 years ago
|
Flags: in-moztrap+
Flags: a11y-review?
Comment 3•9 years ago
|
||
Accessibility review is not needed for this bug. Clearing flag.
Flags: a11y-review?
You need to log in
before you can comment on or make changes to this bug.
Description
•