Closed Bug 97462 Opened 24 years ago Closed 9 years ago

Delay cookie dll initialization even further

Categories

(Core :: Networking: HTTP, defect, P3)

x86
Linux
defect

Tracking

()

RESOLVED WORKSFORME
mozilla1.0

People

(Reporter: dp, Unassigned)

References

Details

(Keywords: perf)

Attachments

(1 file)

nsHttpHandler get intialized early due to nsCodebasePrincipal doing a NS_NewURI() This causes Cookie dll to be loaded early at nsHttpHandler::Init() via Categories
Blocks: 75041
Keywords: perf
Darin, I checked this patch. There are two clients of the httpstartup category: nsRegistry::Common - software - mozilla - XPCOM - categories - http-startup-category Http Cookie Notify = @mozilla.org/cookie-notifier;1 Content UserAgent Setter = @mozilla.org/content/http-startup;1 Both are fine with this delayed.
dp: i'm not sure making http initialization lazy is the right thing to do. the only reason http is being initialized at all is because of the UniversalFoo hack. i talked to mstolz and he said that an http url is being created as a hack, that somehow fixed a java crash on linux. no one seems to understand why this was necessary. but, if we solve that problem, then i think all of these bugs related to making http initialization lazy would go away.
dp: just remove these two lines from all.js: pref("capability.principal.codebase.foo.id", "http://www.netscape.com"); pref("capability.principal.codebase.foo.granted", "UniversalFoo");
The reason this hack is there sounds strange though. Maybe java has changed enough and it is time to see if the hack is even required. Definitely sounds like the right solution. Totally second that.
(The Java fiasco was recent, so it's unlikely, but worth a shot)
I think java crash bug is bug 89488, targeted for 0.9.6. Maybe we can have this fixed by 0.9.7?
Depends on: 89488
Keywords: mozilla1.0+
would be really nice to sort out the universal foo crap for moz 1.0
Keywords: nsbeta1
Priority: -- → P3
Target Milestone: --- → mozilla1.0
-> dougt
Assignee: darin → dougt
marking dup. *** This bug has been marked as a duplicate of 89488 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Verified duplicate.
Status: RESOLVED → VERIFIED
QA Contact: tever → junruh
Dupes should not be depends the same bug.
Status: VERIFIED → REOPENED
QA Contact: junruh → benc
Resolution: DUPLICATE → ---
mass reassigning to nobody.
Assignee: dougt → nobody
Status: REOPENED → NEW
Status: NEW → RESOLVED
Closed: 23 years ago9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: