Error when clearing "Offline website data"

RESOLVED FIXED in Firefox 27

Status

()

Firefox for Android
General
RESOLVED FIXED
4 years ago
a year ago

People

(Reporter: bnicholson, Assigned: bnicholson)

Tracking

Trunk
Firefox 27
All
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

4 years ago
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

Updated

4 years ago
tracking-fennec: --- → ?
(Assignee)

Comment 1

4 years ago
Created attachment 808863 [details] [diff] [review]
Add missing import to Sanitizer.jsm
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.

Updated

4 years ago
Status: NEW → ASSIGNED
(Assignee)

Comment 4

4 years ago
https://hg.mozilla.org/integration/fx-team/rev/c15401b502b4
https://hg.mozilla.org/mozilla-central/rev/c15401b502b4
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 27
tracking-fennec: ? → ---
You need to log in before you can comment on or make changes to this bug.