fixes bug 45421 "Offline: No feedback when browsing to an uncached URL in

offline mode" r=adamlock sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@129665 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
darin%netscape.com
2002-09-15 23:40:43 +00:00
parent 0fed1f0424
commit 95506efb63
7 changed files with 137 additions and 98 deletions

View File

@@ -2475,6 +2475,11 @@ nsDocShell::DisplayLoadError(nsresult aError, nsIURI *aURI, const PRUnichar *aUR
// before we could read any data from it
error.Assign(NS_LITERAL_STRING("netReset"));
break;
case NS_ERROR_DOCUMENT_NOT_CACHED:
// Doc falied to load because we are offline and the cache does not
// contain a copy of the document.
error.Assign(NS_LITERAL_STRING("netOffline"));
break;
}
}