Bug 649266 - Certificate window is broken with long text labels. r=kaie
authorflod <francesco.lodolo@mozillaitalia.org>
Thu, 18 Aug 2011 11:56:34 +0200
changeset 75485 acf10d96fa73fb8fca249669f12184f0bcd64f3b
parent 75484 8fbc35ff4d7cb1fa6df2acf0e6090e3428044e33
child 75486 9e6e62e4fbc11b9f2aac13f2b732d1f42cf67b3e
push id21031
push usermak77@bonardo.net
push dateFri, 19 Aug 2011 09:40:40 +0000
treeherdermozilla-central@1881f9b5f8b5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskaie
bugs649266
milestone9.0a1
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
Bug 649266 - Certificate window is broken with long text labels. r=kaie
security/manager/pki/resources/content/viewCertDetails.js
--- a/security/manager/pki/resources/content/viewCertDetails.js
+++ b/security/manager/pki/resources/content/viewCertDetails.js
@@ -254,17 +254,17 @@ function DisplayVerificationData(cert, r
   } else if (verifystate == cert.ISSUER_UNKNOWN) {
     verifystr = bundle.GetStringFromName('certNotVerified_IssuerUnknown');
   } else if (verifystate == cert.INVALID_CA) {
     verifystr = bundle.GetStringFromName('certNotVerified_CAInvalid');
   } else { /* if (verifystate == cert.NOT_VERIFIED_UNKNOWN || == USAGE_NOT_ALLOWED) */
     verifystr = bundle.GetStringFromName('certNotVerified_Unknown');
   }
   var verified=document.getElementById('verified');
-  verified.setAttribute("value", verifystr);
+  verified.textContent = verifystr;
   if (count > 0) {
     var verifyInfoBox = document.getElementById('verify_info_box');
     for (var i=0; i<count; i++) {
       AddUsage(usageList[i],verifyInfoBox);
     }
   }
 }