Closed
Bug 747109
Opened 13 years ago
Closed 13 years ago
"Clear Private Data" throws an error and fails to clear some data
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(blocking-fennec1.0 +)
VERIFIED
FIXED
Firefox 14
Tracking | Status | |
---|---|---|
blocking-fennec1.0 | --- | + |
People
(Reporter: mbrubeck, Assigned: mbrubeck)
Details
Attachments
(1 file)
908 bytes,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
Originally reported in bug 747067 comment 3.
Steps to reproduce: Tap on "Clear Private Data" in the Fennec settings.
Expected results: No errors; session history and general.open_location.last_url are cleared.
Actual results: Session history and last_url pref are *not* cleared; the following error appears in the log:
E/GeckoConsole( 7288): Error sanitizing history: [Exception... "Component returned failure code: 0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE) [nsIJSCID.getService]" nsresult: "0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE)" location: "JS frame :: chrome://browser/content/sanitize.js :: <TOP_LEVEL> :: line 185" data: no]
nsNavHistory::Init is returning an error, because it can't initialize the places database, because MOZ_ANDROID_HISTORY disables it. Since we don't use the the history service in Fennec, we can just remove this code. (Alternately, we could wrap it in a try/catch block in case so it will run if we ever re-enable Places in a future version.)
Nominating for blocking-fennec1.0 because this has a (minor) privacy impact and the fix just requires removing some unused and broken code.
Attachment #616681 -
Flags: review?(mark.finkle)
Updated•13 years ago
|
Attachment #616681 -
Attachment is patch: true
Attachment #616681 -
Flags: review?(mark.finkle) → review+
related bugs : bug 747067, bug 746946 ?
Updated•13 years ago
|
blocking-fennec1.0: ? → +
Assignee | ||
Comment 2•13 years ago
|
||
Target Milestone: --- → Firefox 14
Comment 3•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 4•13 years ago
|
||
There are no errors in the console when I hit Clear private data. The session history is cleared.
Marking this as verified fixed on: Firefox 15.0a1 (2012-05-20)
Device: LG Optimus 2X (Android 2.2.2)
Status: RESOLVED → VERIFIED
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•