activation is one of the components that gets loaded at start-up. Is it possible after the very fist time, we don't load it anymore, or we lazy initialize it?
Yes, it's possible not to load it. And fairly easy too. What's the purpose here? To save loading a component?
purpose is to help save start-up loading and memory page space. :-)
Is the activation stuff initialised in Mozilla even though only Netscape 6 uses this feature? or should this bug be marked nsonly? If this is initialised and not used by Mozilla I think this should be fixed soon
> Is the activation stuff initialised in Mozilla even though only Netscape 6 uses > this feature? Yes. The profile mgr which is common to both causes it to load - indirectly because there can be no reference to activation in the mozilla tree. This isn't an issue for mozilla because the activation component will not be available, so not loaded, etc. It is nsonly - adding keyword.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.0
We'd like to pull this into mozilla0.9.1 if possible. Bhuvan, can you help? Seems like this should be a pretty simple fix. We need to eliminate everything we can from the startup - the only way to win is to nibble off all the little pieces.
An instance of the activation component is created when the app is started with a profile. The activation component determines whether it has to do anything or not. Most of the time, it doesn't so it's created needlessly. If the profile mgr could know whether the profile it is making the current profile needed activation or not, it could skip this unless nescesary. Bhuvan, is the true test of whether a profile needs to be activated done with this: http://lxr.mozilla.org/mozilla/source/profile/src/nsProfile.cpp#2212? This will take some changes to activation and should be moved to bugscape.
Target Milestone: mozilla1.0 → mozilla0.9.4
Since nsonly and patch will require change to nsonly code, moved to bugscape bug 8046.
Status: ASSIGNED → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → INVALID
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.