Closed Bug 296694 Opened 19 years ago Closed 18 years ago

Exception when trying to clear the browser history within the preferences

Categories

(Firefox :: Bookmarks & History, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 342642

People

(Reporter: whimboo, Unassigned)

Details

I tried to clear the history within the privacy panel of the preferences dialog.
Following exception occurs:

Error: [Exception... "Component returned failure code: 0x80004005
(NS_ERROR_FAILURE) [nsISHistory.PurgeHistory]"  nsresult: "0x80004005
(NS_ERROR_FAILURE)"  location: "JS frame ::
chrome://global/content/bindings/browser.xml :: observe :: line 637"  data: no]
Source File: chrome://global/content/bindings/browser.xml
Line: 637

The referenced part of browser.xml is

  var purge = this.sessionHistory.count;
  if (this.currentURI != "about:blank")
    --purge; // Don't remove the page the user's staring at from shistory
             
  this.sessionHistory.PurgeHistory(purge); <- Exception
Fixed in bug 294524.

*** This bug has been marked as a duplicate of 294524 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Gavin, that's definetly not a dupe and also not fixed! I can still see it with my cvs build Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20051101 Firefox/1.6a1
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
This happens all the time? What are the exact steps to reproduce? Is there anything unusual about your profile?
(In reply to comment #3)
> This happens all the time? What are the exact steps to reproduce? Is there
> anything unusual about your profile?

Yes, everytime when the global history was filled with entries. I only had to clear the history within the privacy page within the preferences.

Today I built a fresh version out of CVS cause my last version was a bit too old. And what should I say. Same profile, same steps and no exception is raised. I think, that I will close the bug as WFM until I see it again within the next days.
Status: REOPENED → RESOLVED
Closed: 19 years ago19 years ago
Resolution: --- → WORKSFORME
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Gavin, this bug is now a duplicate of bug 342642 where this issue was fixed.

*** This bug has been marked as a duplicate of 342642 ***
Status: REOPENED → RESOLVED
Closed: 19 years ago18 years ago
Resolution: --- → DUPLICATE
Component: History → Bookmarks & History
QA Contact: history → bookmarks
You need to log in before you can comment on or make changes to this bug.