Closed Bug 996109 Opened 11 years ago Closed 11 years ago

Lazily load some modules in AppsUtils.jsm

Categories

(Core Graveyard :: DOM: Apps, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla31

People

(Reporter: marco, Assigned: marco)

References

Details

Attachments

(1 file)

Attached patch PatchSplinter Review
No description provided.
Attachment #8406287 - Flags: review?(felipc)
Attachment #8406287 - Flags: review?(felipc) → review+
Comment on attachment 8406287 [details] [diff] [review] Patch Review of attachment 8406287 [details] [diff] [review]: ----------------------------------------------------------------- Does this actually prevent any modules from being loaded? For example, FileUtils.jsm is imported in numerous places, so making one import point lazy probably won't make a difference.
This makes WebappOSUtils load lazily (it's already loaded lazily by other consumers) It doesn't prevent FileUtils from being loaded right away, but since we're moving away from FileUtils sooner or later we're going to load it lazily everywhere.
> This makes WebappOSUtils load lazily (it's already loaded lazily by other > consumers) > It doesn't prevent FileUtils from being loaded right away, but since we're > moving away from FileUtils sooner or later we're going to load it lazily > everywhere. Ok, thanks!
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: