Closed Bug 919723 Opened 11 years ago Closed 11 years ago

Error when clearing "Offline website data"

Categories

(Firefox for Android Graveyard :: General, defect)

All
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 27

People

(Reporter: bnicholson, Assigned: bnicholson)

References

Details

Attachments

(1 file)

STR:
1) Go to Settings > Privacy > Clear private data
2) Make sure "Offline website data" is checked
3) Click "Clear data"

An error toast appears along with the following in logcat:
E/GeckoConsole(21093): sanitize error: ReferenceError: LoadContextInfo is not defined
tracking-fennec: --- → ?
Attachment #808863 - Flags: review?(mark.finkle)
Comment on attachment 808863 [details] [diff] [review]
Add missing import to Sanitizer.jsm


>+Cu.import("resource://gre/modules/LoadContextInfo.jsm");

Given this JSM is itself lazily loaded I suppose we could do a straight import

> XPCOMUtils.defineLazyModuleGetter(this, "FormHistory",
>                                   "resource://gre/modules/FormHistory.jsm");

Which makes me wonder if we shouldn't just do it here too?
Attachment #808863 - Flags: review?(mark.finkle) → review+
Ups, thanks for the fix.
Status: NEW → ASSIGNED
https://hg.mozilla.org/mozilla-central/rev/c15401b502b4
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 27
tracking-fennec: ? → ---
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: