Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use mozAddonManager.sendAbuseReport() to submit add-on abuse reports #12980

Merged
merged 1 commit into from
May 30, 2024

Conversation

willdurand
Copy link
Member

@willdurand willdurand commented Apr 30, 2024

Fixes mozilla/addons#14807


When the Firefox API isn't available, we fallback to a direct HTTP call to the API (as it is currently).

@willdurand willdurand force-pushed the abuse-report-metadata branch 2 times, most recently from a2cd4db to 7845219 Compare May 2, 2024 16:36
@willdurand willdurand changed the title WIP: use mozAddonManager.sendAbuseReport() Use mozAddonManager.sendAbuseReport() May 27, 2024
@willdurand willdurand changed the title Use mozAddonManager.sendAbuseReport() Use mozAddonManager.sendAbuseReport() to submit add-on abuse reports May 27, 2024
@willdurand willdurand marked this pull request as ready for review May 27, 2024 14:41
Copy link

codecov bot commented May 27, 2024

Codecov Report

Attention: Patch coverage is 95.45455% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 98.27%. Comparing base (65a91fc) to head (ec26162).

Files Patch % Lines
src/amo/addonManager.js 87.50% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #12980      +/-   ##
==========================================
- Coverage   98.28%   98.27%   -0.01%     
==========================================
  Files         267      267              
  Lines       10504    10522      +18     
  Branches     3176     3184       +8     
==========================================
+ Hits        10324    10341      +17     
- Misses        167      168       +1     
  Partials       13       13              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@willdurand willdurand force-pushed the abuse-report-metadata branch 3 times, most recently from b345214 to acd16a8 Compare May 27, 2024 15:16
@willdurand willdurand requested a review from diox May 27, 2024 15:16
src/amo/api/abuse.js Show resolved Hide resolved
@willdurand willdurand merged commit d97ca38 into master May 30, 2024
9 checks passed
@willdurand willdurand deleted the abuse-report-metadata branch May 30, 2024 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants