mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 00:38:39 +09:00
Issue #1612 - Add-ons targeting Toolkit's ID (and not Firefox's) should be considered "native" by the Add-ons Manager when using the Dual-GUID system
A version bump triggering add-on compatibility check will re-evaluate the "native" status (among other things) so no extra or special work is required to fix erroneous warnings. tl;dr instafix!
This commit is contained in:
parent
ed0edf6a22
commit
b31c90d1ab
1 changed files with 6 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue