Closed
Bug 60583
Opened 24 years ago
Closed 24 years ago
Cyclic Service Dependency between nsHTTPHandler::InitUserAgentComponents() and nsLayoutModule::SetUserAgent()
Categories
(Core :: Networking: HTTP, defect, P3)
Tracking
()
People
(Reporter: beard, Assigned: gagan)
References
()
Details
Attachments
(1 file)
5.50 KB,
text/plain
|
Details |
nsHTTPHandler::InitUserAgentComponents() is called when the HTTP protocol handler is first created via the service manager. At the URL above is a line of that method that calls mPrefs->GetLocalizedUnicharPref(UA_PREF_PREFIX "locale", which eventually reaches nsLayoutModule::SetUserAgent() (see attached stack crawl to see how that happens). nsLayoutModule::SetUserAgent() in turn tries to access the service signified by kHTTPHandlerCID, which of course is nsHTTPHandler again. I don't know how this circularity creeped in, nor how it should be fixed. One clue: I'm seeing this when running the Mac PowerPlant embedding client.
Reporter | ||
Comment 1•24 years ago
|
||
Comment 2•24 years ago
|
||
The question is: why doesn't this happen with SeaMonkey? After all, what initiates this is a simple URL load. It may be that GetDefaultLocalizedUnicharPref is called earlier in SeaMonkey, chrome is initialized earlier, or something. The circular dependency is there but is being masked somehow. I'll check it out.
Status: NEW → ASSIGNED
Comment 3•24 years ago
|
||
*** This bug has been marked as a duplicate of 46488 ***
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
VERIFIED, fixed by Layout.
Status: RESOLVED → VERIFIED
Component: Networking → Networking: HTTP
QA Contact: tever → benc
You need to log in
before you can comment on or make changes to this bug.
Description
•