Closed Bug 888570 Opened 12 years ago Closed 12 years ago

Lazily load ForgetAboutSite.jsm from browser/components/places/content/controller.js

Categories

(Toolkit :: Places, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla25

People

(Reporter: MattN, Assigned: MattN)

Details

(Whiteboard: [MemShrink])

Attachments

(1 file)

Only one of the context menu items uses this but it's currently initialized during startup. I verified using the BrowserDebugger that the JSM is no longer loaded on startup after making this lazy. Try push: https://tbpl.mozilla.org/?tree=Try&rev=4b952c06aaa7
Attachment #769325 - Flags: review?(jaws)
Comment on attachment 769325 [details] [diff] [review] v.1 Use XPCOMUtils.defineLazyModuleGetter Review of attachment 769325 [details] [diff] [review]: ----------------------------------------------------------------- Nice!
Attachment #769325 - Flags: review?(jaws) → review+
No longer depends on: 888585
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: