Make DOM-exposed Addon.uninstall() reject on error

RESOLVED FIXED

Status

()

Toolkit
Add-ons Manager
RESOLVED FIXED
2 years ago
10 months ago

People

(Reporter: aswan, Assigned: aswan)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: triaged)

(Assignee)

Description

2 years ago
In the DOM-exposed APIs wrapped by mozAddonManager, Addon.uninstall() currently returns a promise that resolves to a boolean indicating success or failure.  But the idiomatic way to do this is to reject with an Error on failure.  Let's fix uninstall() to do that.
(Assignee)

Updated

2 years ago
Blocks: 1245993
(Assignee)

Updated

2 years ago
Summary: Make DOM-exposed Addon.uninstal() reject on error → Make DOM-exposed Addon.uninstall() reject on error
(Assignee)

Updated

2 years ago
Whiteboard: triaged
(Assignee)

Comment 1

10 months ago
This got done along with bug 1308310.
Assignee: nobody → aswan
Status: NEW → RESOLVED
Last Resolved: 10 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.