Closed Bug 67856 Opened 25 years ago Closed 25 years ago

nsSocketTransport can't always get to nsIPrompt

Categories

(Core :: Networking, defect)

PowerPC
Mac System 8.5
defect
Not set
normal

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.
Blocks: 44809
changing target milestone to Mozilla 0.9
Target Milestone: --- → mozilla0.9
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
Target Milestone: mozilla0.9 → ---
Depends on: 68094
Now invalid. The socket transport does not need to throw a nsIPrompt anymore. Just progress.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
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.
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.
the |mCallbacks| member was removed when dougt landed his rewrite, so there's nothing to worry about here anymore.
QA Contact: tever → benc
VERIFIED, per mike.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.