Add-ons targeting Toolkit's ID should be considered native.

master
Fedor 2020-08-12 09:49:03 +03:00
parent da4eec2194
commit 9435397c51
1 changed files with 6 additions and 2 deletions

View File

@ -6477,8 +6477,12 @@ AddonInternal.prototype = {
return false;
#endif
}
else if (app.id == TOOLKIT_ID)
version = aPlatformVersion
else if (app.id == TOOLKIT_ID) {
#ifdef MOZ_PHOENIX_EXTENSIONS
this.native = true;
#endif
version = aPlatformVersion;
}
// Only extensions and dictionaries can be compatible by default; themes
// and language packs always use strict compatibility checking.