summaryrefslogtreecommitdiffstats
path: root/dom/webidl/AddonManager.webidl
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
commit8dd16259287f58f9273002717ec4d27e97127719 (patch)
tree3863e62a53829a84037444beab3abd4ed9dfc7d0 /dom/webidl/AddonManager.webidl
parentReleasing progress-linux version 126.0.1-1~progress7.99u1. (diff)
downloadfirefox-8dd16259287f58f9273002717ec4d27e97127719.tar.xz
firefox-8dd16259287f58f9273002717ec4d27e97127719.zip
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/webidl/AddonManager.webidl')
-rw-r--r--dom/webidl/AddonManager.webidl19
1 files changed, 0 insertions, 19 deletions
diff --git a/dom/webidl/AddonManager.webidl b/dom/webidl/AddonManager.webidl
index fc94228954..0ccf6c9281 100644
--- a/dom/webidl/AddonManager.webidl
+++ b/dom/webidl/AddonManager.webidl
@@ -79,25 +79,6 @@ interface AddonManager : EventTarget {
* @return A promise that resolves to an instance of AddonInstall.
*/
Promise<AddonInstall> createInstall(optional addonInstallOptions options = {});
-
- /**
- * Opens an Abuse Report dialog window for the addon with the given id.
- * The addon may be currently installed (in which case the report will
- * include the details available locally), or not (in which case the report
- * will include the details that can be retrieved from the AMO API endpoint).
- *
- * @param id
- * The ID of the add-on to report.
- * @return A promise that resolves to a boolean (true when the report
- * has been submitted successfully, false if the user cancelled
- * the report). The Promise is rejected is the report fails
- * for a reason other than user cancellation.
- */
- Promise<boolean> reportAbuse(DOMString id);
-
- // Indicator to content whether handing off the reports to the integrated
- // abuse report panel is enabled.
- readonly attribute boolean abuseReportPanelEnabled;
};
[ChromeOnly,Exposed=Window,HeaderFile="mozilla/AddonManagerWebAPI.h"]