Bug 803199 - Avoid littering about:support with "no information". r=Unfocused
authorBenoit Jacob <bjacob@mozilla.com>
Thu, 18 Oct 2012 11:17:00 +1300
changeset 111480 ad1bb0c1002d9ec6a1986463b29c4439581f0ab0
parent 111479 6665e97d51aafecde1e1d34d1c9c4abb3480c000
child 111481 2a7e4bc714fe8afd70545a2962c220db3d0c302b
push id93
push usernmatsakis@mozilla.com
push dateWed, 31 Oct 2012 21:26:57 +0000
reviewersUnfocused
bugs803199
milestone19.0a1
Bug 803199 - Avoid littering about:support with "no information". r=Unfocused
toolkit/content/Troubleshoot.jsm
--- a/toolkit/content/Troubleshoot.jsm
+++ b/toolkit/content/Troubleshoot.jsm
@@ -177,17 +177,17 @@ let dataProviders = {
   },
 
   graphics: function graphics(done) {
     function statusMsgForFeature(feature) {
       // We return an array because in the tryNewerDriver case we need to
       // include the suggested version, which the consumer likely needs to plug
       // into a format string from a localization file.  Rather than returning
       // a string in some cases and an array in others, return an array always.
-      let msg = ["no information"];
+      let msg = [""];
       try {
         var status = gfxInfo.getFeatureStatus(feature);
       }
       catch (e) {}
       switch (status) {
       case Ci.nsIGfxInfo.FEATURE_BLOCKED_DEVICE:
       case Ci.nsIGfxInfo.FEATURE_DISCOURAGED:
         msg = ["blockedGfxCard"];