b=106865 Blank page instead of SSL error dialog visiting https server
r=rpotts sr=darin a=asa git-svn-id: svn://10.0.0.236/trunk@131962 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2514,6 +2514,15 @@ nsDocShell::DisplayLoadError(nsresult aError, nsIURI *aURI, const PRUnichar *aUR
|
||||
formatStrCount = 1;
|
||||
error.Assign(NS_LITERAL_STRING("connectionFailure"));
|
||||
}
|
||||
else if(NS_ERROR_NET_INTERRUPT == aError) {
|
||||
NS_ENSURE_ARG_POINTER(aURI);
|
||||
// Build up the host:port string.
|
||||
nsCAutoString hostport;
|
||||
aURI->GetHostPort(hostport);
|
||||
formatStrs[0].AssignWithConversion(hostport.get());
|
||||
formatStrCount = 1;
|
||||
error.Assign(NS_LITERAL_STRING("netInterrupt"));
|
||||
}
|
||||
else if (NS_ERROR_NET_TIMEOUT == aError) {
|
||||
NS_ENSURE_ARG_POINTER(aURI);
|
||||
// Get the host
|
||||
|
||||
Reference in New Issue
Block a user