Follow-up from bug 623482: improve error message. r+a=me DONTBUILD
authorMounir Lamouri <mounir.lamouri@gmail.com>
Mon, 17 Jan 2011 12:23:47 +0100
changeset 60691 542d3da64ac227240d8b26af01f926cf79a88613
parent 60690 66addc5c30ca3387833889d6dae7623b0e156b03
child 60692 48e1cb943266114c9e943dc756f1a8d7c0641d4e
push id18078
push usermlamouri@mozilla.com
push dateMon, 17 Jan 2011 11:24:07 +0000
treeherdermozilla-central@542d3da64ac2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs623482
milestone2.0b10pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Follow-up from bug 623482: improve error message. r+a=me DONTBUILD
docshell/base/nsDocShell.cpp
--- a/docshell/base/nsDocShell.cpp
+++ b/docshell/base/nsDocShell.cpp
@@ -3942,17 +3942,17 @@ nsDocShell::DisplayLoadError(nsresult aE
             NS_ENSURE_SUCCESS(rv, rv);
 
             nsXPIDLString brandName;
             rv = brandBundle->GetStringFromName(NS_LITERAL_STRING("brandShortName").get(),
                                                 getter_Copies(brandName));
 
             // We could use something like nsTextFormatter::smprintf.
             messageStr.AssignLiteral("This page uses an unsupported technology "
-                                     "that is no longer available in ");
+                                     "that is no longer available by default in ");
             messageStr.Append(brandName);
             messageStr.AppendLiteral(".");
             break;
         }
         case NS_ERROR_UNSAFE_CONTENT_TYPE:
             // Channel refused to load from an unrecognized content type.
             error.AssignLiteral("unsafeContentType");
             break;