diff --git a/toolkit/xre/nsAppRunner.cpp b/toolkit/xre/nsAppRunner.cpp index 77d572bb812..5a32c7914b3 100644 --- a/toolkit/xre/nsAppRunner.cpp +++ b/toolkit/xre/nsAppRunner.cpp @@ -617,7 +617,6 @@ NS_IMETHODIMP nsXULAppInfo::GetVendor(nsACString& aResult) { if (XRE_GetProcessType() == GeckoProcessType_Content) { - NS_WARNING("Attempt to get unavailable information in content process."); return NS_ERROR_NOT_AVAILABLE; } aResult.Assign(gAppData->vendor); @@ -629,7 +628,6 @@ NS_IMETHODIMP nsXULAppInfo::GetName(nsACString& aResult) { if (XRE_GetProcessType() == GeckoProcessType_Content) { - NS_WARNING("Attempt to get unavailable information in content process."); return NS_ERROR_NOT_AVAILABLE; } aResult.Assign(gAppData->name); @@ -641,7 +639,6 @@ NS_IMETHODIMP nsXULAppInfo::GetID(nsACString& aResult) { if (XRE_GetProcessType() == GeckoProcessType_Content) { - NS_WARNING("Attempt to get unavailable information in content process."); return NS_ERROR_NOT_AVAILABLE; } aResult.Assign(gAppData->ID); @@ -695,7 +692,6 @@ NS_IMETHODIMP nsXULAppInfo::GetUAName(nsACString& aResult) { if (XRE_GetProcessType() == GeckoProcessType_Content) { - NS_WARNING("Attempt to get unavailable information in content process."); return NS_ERROR_NOT_AVAILABLE; } aResult.Assign(gAppData->UAName);