From be2d34b6c7c6e1490478b60a137fc8a0eaee0319 Mon Sep 17 00:00:00 2001 From: "darin%netscape.com" Date: Tue, 19 Mar 2002 00:06:31 +0000 Subject: [PATCH] remove annoying "unknown error" dialog. b=131399, r=dougt, sr=bienvenu, a=asa git-svn-id: svn://10.0.0.236/trunk@116808 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/docshell/base/appstrings.properties | 1 - mozilla/docshell/base/nsWebShell.cpp | 5 ----- 2 files changed, 6 deletions(-) diff --git a/mozilla/docshell/base/appstrings.properties b/mozilla/docshell/base/appstrings.properties index 4220948ed6b..e534cbaef2c 100644 --- a/mozilla/docshell/base/appstrings.properties +++ b/mozilla/docshell/base/appstrings.properties @@ -28,4 +28,3 @@ repost=The page you are trying to view contains POSTDATA that has expired from c repostConfirm=The page you are trying to view contains POSTDATA. If you resend the data, any action the form carried out (such as a search or online purchase) will be repeated. To resend the data, click OK. Otherwise, click Cancel. unknownSocketType=This document cannot be displayed unless you install the Personal Security Manager (PSM). Download and install PSM and try again, or contact your system administrator. netReset=The document contains no data. -unknownError=An unknown error occured while attempting to load the requested page. diff --git a/mozilla/docshell/base/nsWebShell.cpp b/mozilla/docshell/base/nsWebShell.cpp index 7426edbb2a5..17263affcf5 100644 --- a/mozilla/docshell/base/nsWebShell.cpp +++ b/mozilla/docshell/base/nsWebShell.cpp @@ -1029,11 +1029,6 @@ nsresult nsWebShell::EndPageLoad(nsIWebProgress *aProgress, // before we could read any data from it errorStr = "netReset"; break; - case NS_BINDING_ABORTED: - break; - default: - errorStr = "unknownError"; - break; } if (errorStr) { nsCOMPtr prompter;