Open Bug 1992437 Opened 7 months ago Updated 8 days ago

Move XPCOMUtils.defineLazy/declareLazy to ChromeUtils

Categories

(Core :: XPConnect, task)

task

Tracking

()

ASSIGNED

People

(Reporter: standard8, Assigned: standard8)

References

(Blocks 1 open bug)

Details

Attachments

(4 files)

We originally added XPCOMUtils.defineLazy/declareLazy in bug 1945464 as a way of prototyping them and testing out their use.

We are starting to use them in various places to aid with TypeScript integration, and hence we are having to re-include XPCOMUtils in various places.

In the review of the patches, it was suggested that we should move these implementations to C++, i.e. via ChromeUtils, to be more efficient.

Depends on: 1993543
Attachment #9586750 - Attachment description: - Bug 1992437 - Port XPCOMUtils.defineLazy to ChromeUtils. → WIP: - Bug 1992437 - Port XPCOMUtils.defineLazy to ChromeUtils.
Assignee: nobody → standard8
Attachment #9586751 - Attachment description: - Bug 1992437 - Port XPCOMUtils.declareLazy to ChromeUtils. → WIP: - Bug 1992437 - Port XPCOMUtils.declareLazy to ChromeUtils.
Status: NEW → ASSIGNED
Attachment #9586753 - Attachment description: - Bug 1992437 - Remove XPCOMUtils.declareLazy and XPCOMUtils.defineLazy. → WIP: - Bug 1992437 - Remove XPCOMUtils.declareLazy and XPCOMUtils.defineLazy.
Attachment #9586752 - Attachment description: - Bug 1992437 - Migrate uses of XPCOMUtils.declareLazy to ChromeUtils.declareLazy. → WIP: - Bug 1992437 - Migrate uses of XPCOMUtils.declareLazy to ChromeUtils.declareLazy.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: