The Cu.import and XPCOMUtils.defineLazyModuleGetter APIs have been replaced with nearly-equivalent ChromeUtils.import() (bug 1431057) and XPCOMUtils.defineModuleGetter() (bug 1431533) APIs. Existing uses of the old APIs have been automatically rewritten, and a new ESLint rule has been added to prevent new instances.

The new APIs are much more efficient than the old versions, but otherwise behave more or less the same way. The old versions will likely be removed after the new APIs are available in all of our release branches.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to