mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 393002 - ""Server not found" message for view-source window doesn't display server name" [p=anant@kix.in (Anant Narayanan) r=bsmedberg sr=bzbarsky a1.9=damons]
This commit is contained in:
parent
16dfc05602
commit
816711d89d
@ -2952,7 +2952,8 @@ nsDocShell::DisplayLoadError(nsresult aError, nsIURI *aURI,
|
||||
NS_ENSURE_ARG_POINTER(aURI);
|
||||
// Get the host
|
||||
nsCAutoString host;
|
||||
aURI->GetHost(host);
|
||||
nsCOMPtr<nsIURI> innermostURI = NS_GetInnermostURI(aURI);
|
||||
innermostURI->GetHost(host);
|
||||
CopyUTF8toUTF16(host, formatStrs[0]);
|
||||
formatStrCount = 1;
|
||||
error.AssignLiteral("dnsNotFound");
|
||||
|
Loading…
Reference in New Issue
Block a user