Closed Bug 490702 Opened 16 years ago Closed 16 years ago

Remove obsolete leftovers from removed clear passwords and offline data options in clear recent history dialog

Categories

(Firefox :: Private Browsing, defect)

3.5 Branch
defect
Not set
trivial

Tracking

()

RESOLVED FIXED
Firefox 3.6a1
Tracking Status
status1.9.1 --- wontfix

People

(Reporter: davemgarrett, Assigned: ehsan.akhgari)

References

Details

Attachments

(1 file)

The clear passwords and clear offline data options are no longer in the new clear recent history dialog from bug 480169. (see also bug 472226 & bug 463343) There's still some vestigial bits leftover from them: sanitize.js: passwords and offlineApps functions sanitize.xul: <preferences> for passwords and offlineApps defaults/pref/firefox.js: default prefs for above sanitize.dtd: strings and access keys (assuming these aren't going to be reused)
Scratch prefs and strings; they're reused in the preferences in the clear on exit dialog.
And sanitize.js is also used for the on exit sanitize. I think all that's really leftover are the <preference> lines in the clear recent history's sanitize.xul. (unless I'm missing something)
Severity: minor → trivial
Blocks: 497656
Assignee: nobody → ehsan.akhgari
Status: NEW → ASSIGNED
Attached patch Patch (v1)Splinter Review
Attachment #389890 - Flags: review?(dao)
I may be missing something in the involved code. Doesn't the sanitizer still clear passwords and offlineApp data if privacy.cpd.passwords / privacy.cpd.offlineApps are true, even if initiated from sanitizeDialog.js?
Yes, but the <preference> elements in browser/base/content/sanitize.xul have nothing to do with that. That logic is embedded in browser/base/content/sanitize.js and applies to all of its consumers.
Is there a bug for that?
Hmm, a bug for what? The behavior I explained in comment 5 is the current and expected one.
The Clear Recent History dialog potentially removes data that it doesn't offer a checkbox for, and that's expected behavior?
Attachment #389890 - Flags: review?(dao) → review+
(In reply to comment #8) > The Clear Recent History dialog potentially removes data that it doesn't offer > a checkbox for, and that's expected behavior? Bug 497656.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.6a1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: