Open Bug 471812 Opened 16 years ago Updated 2 months ago

Cleanup sanitizer code after landing of bug 469158

Categories

(Firefox :: General, defect)

defect

Tracking

()

People

(Reporter: ehsan.akhgari, Unassigned)

References

Details

Attachments

(1 obsolete file)

Also: Sanitizer.sanitize now just calls Sanitizer.showUI, while Sanitizer.prototype.sanitize does the actual work of sanitizing items. The former should probably just be removed, and have callers call showUI directly.

Having some methods on the prototype vs. on the constructor instance is very confusing, and ideally we could clean that up too (and just have a single object).
Blocks: 469158
No longer depends on: 469158
why is it no longer possible to sanitize without a prompt? in former versions of firefox i can just Ctrl+Shift+Del to clear everything without prompt. now the nasty gui always shows up ignoring my privacy.sanitize.promptOnSanitize settings.
(In reply to comment #2)
> why is it no longer possible to sanitize without a prompt? in former versions
> of firefox i can just Ctrl+Shift+Del to clear everything without prompt. now
> the nasty gui always shows up ignoring my privacy.sanitize.promptOnSanitize
> settings.

This was done in bug 469158.  The reasoning is that with the new design of the Clear Recent History dialog, you need to select a specific time range to clear, and we can't just assume that the user means a specific time range when Ctrl+Shift+Del is pressed.
Assignee: ehsan → nobody
Status: ASSIGNED → NEW
Severity: normal → S3
Attachment #9381239 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: