summaryrefslogtreecommitdiffstats
path: root/toolkit/mozapps/extensions/internal/XPIProviderUtils.js
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-05-01 12:26:01 -0400
committerMatt A. Tobin <email@mattatobin.com>2018-05-01 12:26:01 -0400
commit61de1c80cdc6c04e71fde07cc5028af503438134 (patch)
treee158c4bcd756e65deb2635acb503be4c07b56e75 /toolkit/mozapps/extensions/internal/XPIProviderUtils.js
parent754796d243fe9cd1a6d26fde4135ccb5d00a0415 (diff)
downloadUXP-61de1c80cdc6c04e71fde07cc5028af503438134.tar
UXP-61de1c80cdc6c04e71fde07cc5028af503438134.tar.gz
UXP-61de1c80cdc6c04e71fde07cc5028af503438134.tar.lz
UXP-61de1c80cdc6c04e71fde07cc5028af503438134.tar.xz
UXP-61de1c80cdc6c04e71fde07cc5028af503438134.zip
Only set and show the dual-guid indicators when dual-guid has been built
Diffstat (limited to 'toolkit/mozapps/extensions/internal/XPIProviderUtils.js')
-rw-r--r--toolkit/mozapps/extensions/internal/XPIProviderUtils.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/toolkit/mozapps/extensions/internal/XPIProviderUtils.js b/toolkit/mozapps/extensions/internal/XPIProviderUtils.js
index d26029455..6b37ed640 100644
--- a/toolkit/mozapps/extensions/internal/XPIProviderUtils.js
+++ b/toolkit/mozapps/extensions/internal/XPIProviderUtils.js
@@ -70,7 +70,11 @@ const PROP_JSON_FIELDS = ["id", "syncGUID", "location", "version", "type",
"skinnable", "size", "sourceURI", "releaseNotesURI",
"softDisabled", "foreignInstall", "hasBinaryComponents",
"strictCompatibility", "locales", "targetApplications",
- "targetPlatforms", "multiprocessCompatible", "native"];
+ "targetPlatforms", "multiprocessCompatible",
+#ifdef MOZ_PHOENIX_EXTENSIONS
+ "native"
+#endif
+ ];
// Time to wait before async save of XPI JSON database, in milliseconds
const ASYNC_SAVE_DELAY_MS = 20;