Confirmed users
1,158
edits
Line 66: | Line 66: | ||
* see if browser_specific_settings > id exists in manifest.json | * see if browser_specific_settings > id exists in manifest.json | ||
** if an add-on id exists, use it for the add-on | ** if an add-on id exists, use it for the add-on | ||
** continue | ** continue on to the usual signing checks | ||
* see if applications > id exists in the manifest.json (for legacy) | * see if applications > id exists in the manifest.json (for legacy) | ||
** if an add-on id exists, use it for the add-on | ** if an add-on id exists, use it for the add-on | ||
** continue | ** continue on to the usual signing checks | ||
* if the add-on is signed | * if the add-on is signed | ||
** the add-on is contained in the signing in the CN field? (should check that) of the signature | ** the add-on is contained in the signing in the CN field? (should check that) of the signature | ||
** use that add-on id | ** use that add-on id | ||
** continue | ** continue on to the usual signing checks | ||
* if the add-on id is not found and the add-on is being temporarily loaded through about:debugging | * if the add-on id is not found and the add-on is being temporarily loaded through about:debugging | ||
** generate a random add-on id | ** generate a random add-on id |