Closed Bug 1596137 Opened 5 years ago Closed 5 years ago

mozAddonManager.reportAbuse should reject on unsupported addon types

Categories

(Toolkit :: Add-ons Manager, defect, P1)

defect

Tracking

()

VERIFIED FIXED
mozilla72
Tracking Status
firefox72 --- verified

People

(Reporter: rpl, Assigned: rpl)

Details

Attachments

(2 files)

Currently mozAddonManager.reportAbuse is resolving to false when called for an addon type which isn't yet supported by the integrated abuse report panel.

We should instead reject explicitly to make AMO able to detect when the report failed to be created instead of being cancelled by the user, so that they can fallback on the report form integrated on the AMO website.

mozAddonManager.reportAbuse should reject explicitly when called for an unsupported addon type,
to make AMO able to detect when if triggering the integrated report failed instead of being cancelled by the user,
and fallback on the report form integrated on the AMO website.

Assignee: nobody → lgreco
Status: NEW → ASSIGNED
Priority: -- → P1
Pushed by luca.greco@alcacoop.it:
https://hg.mozilla.org/integration/autoland/rev/7405a856572c
mozAddonManager.reportAbuse should reject on unsupported addon types. r=mixedpuppy
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72

Verified as fixed in FF 72.0a1 (2019-11-15).

I will attach a postfix screenshot.

Status: RESOLVED → VERIFIED
Attached image Postfix Screenshot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: