Closed Bug 1461143 Opened 7 years ago Closed 7 years ago

Get rid of DBAddonInternal class

Categories

(Toolkit :: Add-ons Manager, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla62
Tracking Status
firefox62 --- fixed

People

(Reporter: kmag, Assigned: kmag)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Having this as a separate class from AddonInternal only adds confusion and complexity.
Comment on attachment 8975299 [details] Bug 1461143: Remove DBAddonInternal class. https://reviewboard.mozilla.org/r/243626/#review250536 Nice, thanks ::: toolkit/mozapps/extensions/internal/XPIDatabase.jsm:234 (Diff revision 1) > > let AddonWrapper; > > /** > - * The AddonInternal is an internal only representation of add-ons. It may > - * have come from the database (see DBAddonInternal in XPIDatabase.jsm) > + * The AddonInternal is an internal only representation of add-ons. It > + * may have come from the database or an install manifest. nit: "install manifest" isn't a current term, "extension manifest" perhaps? ::: toolkit/mozapps/extensions/internal/XPIDatabase.jsm:272 (Diff revision 1) > + if (addonData) { > + if (addonData.descriptor) { > + if (!addonData.path) { > + addonData.path = descriptorToPath(addonData.descriptor); > + } > + delete addonData.descriptor; I know you just moved this from elsewhere but I think we could safely delete (ha) this line?
Attachment #8975299 - Flags: review?(aswan) → review+
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
Is manual testing required on this bug? If yes, please provide some STR and the proper extension(if required) or set the “qe-verify -“ flag. Thanks!
Flags: needinfo?(kmaglione+bmo)
Flags: needinfo?(kmaglione+bmo) → qe-verify-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: