Closed Bug 2096724 Opened 5 days ago Closed 14 hours ago

Add an uninstall method to the WidgetManager

Categories

(Firefox :: Widgets, task)

task

Tracking

()

RESOLVED FIXED
163 Branch
Tracking Status
firefox163 --- fixed

People

(Reporter: fchasen, Assigned: fchasen)

References

(Blocks 3 open bugs)

Details

Attachments

(1 external file)

The widget manager need to clean up prefs and allow other users of it to do the same on uninstall.

Blocks: 2078928

WidgetManager.uninstall(id) deletes the prefs of an uninstalled widget and emits uninstall with its id, so other users of the manager can clean up their own state.

  • Calls it from the static onUninstall of ext-builtin-widget.js.
Assignee: nobody → fchasen
Status: NEW → ASSIGNED
Attachment #9690066 - Attachment description: Bug 2096724 - Add an uninstall method to the WidgetManager. r?rpl → Bug 2096724 - Add an uninstall method to the WidgetManager. r?rpl!
Attachment #9690066 - Attachment description: Bug 2096724 - Add an uninstall method to the WidgetManager. r?rpl! → Bug 2096724 - Add a cleanupPrefs method to the WidgetManager. r?rpl!
Status: ASSIGNED → RESOLVED
Closed: 14 hours ago
Resolution: --- → FIXED
Target Milestone: --- → 163 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: