Closed
Bug 97462
Opened 24 years ago
Closed 9 years ago
Delay cookie dll initialization even further
Categories
(Core :: Networking: HTTP, defect, P3)
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
| Reporter | ||
Updated•24 years ago
|
| Reporter | ||
Comment 1•24 years ago
|
||
| Reporter | ||
Comment 2•24 years ago
|
||
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.
Comment 3•24 years ago
|
||
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.
Comment 4•24 years ago
|
||
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");
| Reporter | ||
Comment 5•24 years ago
|
||
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.
Comment 6•24 years ago
|
||
(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
Updated•23 years ago
|
Keywords: mozilla1.0+
Comment 8•23 years ago
|
||
would be really nice to sort out the universal foo crap for moz 1.0
Comment 10•23 years ago
|
||
marking dup.
*** This bug has been marked as a duplicate of 89488 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Comment 12•21 years ago
|
||
Dupes should not be depends the same bug.
Status: VERIFIED → REOPENED
QA Contact: junruh → benc
Resolution: DUPLICATE → ---
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 23 years ago → 9 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•