Closed
Bug 67856
Opened 25 years ago
Closed 25 years ago
nsSocketTransport can't always get to nsIPrompt
Categories
(Core :: Networking, defect)
Tracking
()
VERIFIED
INVALID
People
(Reporter: mikepinkerton, Assigned: dougt)
References
Details
(Keywords: embed)
instrument nsSocketTransport::doAsyncRead with the following:
NS_ASSERTION ( mCallbacks, "no mCallbacks!");
if ( mCallbacks ) {
nsCOMPtr<nsIPrompt> prompt;
mCallbacks->GetInterface ( NS_GET_IID(nsIPrompt), getter_AddRefs(prompt) );
NS_ASSERTION ( prompt, "Channel doesn't have a prompt!!!" );
}
after browsing for a while, reading imap mail, etc, i see both asserts at
different times while pages are loading, the app is quitting, etc.
Comment 2•25 years ago
|
||
I think I messed up the process:
* reverting to -- as milestone
* proposing Mozilla0.9 as the target milestone
* adding embed keyword
Keywords: embed,
mozilla0.9
Updated•25 years ago
|
Target Milestone: mozilla0.9 → ---
| Assignee | ||
Comment 3•25 years ago
|
||
Now invalid. The socket transport does not need to throw a nsIPrompt anymore.
Just progress.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
Comment 4•25 years ago
|
||
dougt, can you elaborate on that? I think the main point of this bug is that we
need to set mCallbacks on all our channels so that we can parent dialogs
properly, not necessarily to use the nsIPrompt interface.
| Assignee | ||
Comment 5•25 years ago
|
||
Brian, the nsSocketTransport is not a channel. There isn't any need for
nsSocketTransport to directly call on a nsIPrompt. If any notification need to
fire, it should be the Channel which owns the socket transport.
| Reporter | ||
Comment 6•25 years ago
|
||
the |mCallbacks| member was removed when dougt landed his rewrite, so there's
nothing to worry about here anymore.
You need to log in
before you can comment on or make changes to this bug.
Description
•