Closed Bug 413817 Opened 16 years ago Closed 16 years ago

Clearing history using 'Clear Private Data' doesn't work when privacy.item.offlineApps isn't set

Categories

(Firefox :: Bookmarks & History, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: ht990332, Assigned: dcamp)

References

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b3pre) Gecko/2008012406 Firefox/3.0b3pre
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b3pre) Gecko/2008012406 Firefox/3.0b3pre

Clearing history using 'Clear Private Data' doesn't work. The browsing history and location bar history stays there.
Plus, this error shows in error console when I press 'Clear Private Data':

Error: uncaught exception: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getBoolPref]"  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame :: chrome://browser/content/sanitize.js :: anonymous :: line 37"  data: no]




Reproducible: Always
Version: unspecified → Trunk
I found the cause.
The bug happens only when "privacy.item.offlineApps" isn't set in prefs.js
setting it to either true or false fixes the issue.

Can someone please take a look?
Summary: Clearing history using 'Clear Private Data' doesn't work → Clearing history using 'Clear Private Data' doesn't work when privacy.item.offlineApps isn't set
i'm not sure if that can happen, or is caused by a wrong pref.js file... 

however i doubt this is a places bug, should go into core (but what leaf? Networking:Cache?)
Severity: major → normal
Status: UNCONFIRMED → NEW
Ever confirmed: true
> ... or is caused by a wrong pref.js file... 

this part is probably blocking bug 398478

Bug 398478 should have added this pref.
Attachment #299001 - Flags: review?(mconnor)
Blocks: 398478
Flags: blocking-firefox3?
Attachment #299001 - Attachment is patch: true
Attachment #299001 - Attachment mime type: application/octet-stream → text/plain
Attachment #299001 - Flags: review?(mconnor) → review+
Attachment #299001 - Flags: approval1.9?
Comment on attachment 299001 [details] [diff] [review]
add privacy.item.offlineApps to firefox.js

a=beltzner for 1.9
Attachment #299001 - Flags: approval1.9? → approval1.9+
Assignee: nobody → dcamp
Checking in firefox.js;
/cvsroot/mozilla/browser/app/profile/firefox.js,v  <--  firefox.js
new revision: 1.258; previous revision: 1.257
done
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Flags: blocking-firefox3? → blocking-firefox3+
Works for me.

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008051202 Firefox/3.0
Status: RESOLVED → VERIFIED
Bug 451915 - move Firefox/Places bugs to Firefox/Bookmarks and History. Remove all bugspam from this move by filtering for the string "places-to-b-and-h".

In Thunderbird 3.0b, you do that as follows:
Tools | Message Filters
Make sure the correct account is selected. Click "New"
Conditions: Body   contains   places-to-b-and-h
Change the action to "Delete Message".
Select "Manually Run" from the dropdown at the top.
Click OK.

Select the filter in the list, make sure "Inbox" is selected at the bottom, and click "Run Now". This should delete all the bugspam. You can then delete the filter.

Gerv
Component: Places → Bookmarks & History
QA Contact: places → bookmarks
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: