summaryrefslogtreecommitdiffstats
path: root/toolkit/mozapps/extensions/content/extensions.js
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-02-16 13:10:55 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-02-16 13:10:55 +0100
commitf107de8a9051489a7cb786ff0106d8f3ab046ca8 (patch)
tree59f07b59446a7a26019ba52dd99436cfdb814724 /toolkit/mozapps/extensions/content/extensions.js
parentd3067ffdda436ba6c9aa1dc5b9453ecff36e4203 (diff)
downloadUXP-f107de8a9051489a7cb786ff0106d8f3ab046ca8.tar
UXP-f107de8a9051489a7cb786ff0106d8f3ab046ca8.tar.gz
UXP-f107de8a9051489a7cb786ff0106d8f3ab046ca8.tar.lz
UXP-f107de8a9051489a7cb786ff0106d8f3ab046ca8.tar.xz
UXP-f107de8a9051489a7cb786ff0106d8f3ab046ca8.zip
Issue #1445 - Clarify the status of extensions in the Add-On manager
This resolves #1445.
Diffstat (limited to 'toolkit/mozapps/extensions/content/extensions.js')
-rw-r--r--toolkit/mozapps/extensions/content/extensions.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/toolkit/mozapps/extensions/content/extensions.js b/toolkit/mozapps/extensions/content/extensions.js
index 9576e9a3b..782fca303 100644
--- a/toolkit/mozapps/extensions/content/extensions.js
+++ b/toolkit/mozapps/extensions/content/extensions.js
@@ -3059,6 +3059,15 @@ var gDetailView = {
warning.textContent =
gStrings.ext.formatStringFromName("details.notification.gmpPending",
[this._addon.name], 1);
+#ifdef MOZ_PHOENIX_EXTENSIONS
+ } else if (this._addon.native == false) {
+ this.node.setAttribute("notification", "warning");
+ this.node.setAttribute("native", "false");
+ document.getElementById("detail-warning").textContent = gStrings.ext.formatStringFromName(
+ "details.notification.compatibility",
+ [this._addon.name, gStrings.brandShortName], 2
+ );
+#endif
} else {
this.node.removeAttribute("notification");
}