Bug 1282910 - Fix issuerOrganizationUnit property name in test_security-info-certificate.js. r=jsnajdr
authorsudhanva <mgsudhanva@gmail.com>
Thu, 18 Aug 2016 13:03:08 +0530
changeset 309876 7db43c31bdb7b4070e2e676022d39e81003c0d4f
parent 309875 20e45f63c2e60714b21feb188156348a01f5d8c6
child 309877 5e10edf2ce87b40df535839d157d60681c915891
push id20336
push userryanvm@gmail.com
push dateThu, 18 Aug 2016 13:35:55 +0000
treeherderfx-team@7db43c31bdb7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjsnajdr
bugs1282910
milestone51.0a1
Bug 1282910 - Fix issuerOrganizationUnit property name in test_security-info-certificate.js. r=jsnajdr
devtools/shared/webconsole/test/unit/test_security-info-certificate.js
--- a/devtools/shared/webconsole/test/unit/test_security-info-certificate.js
+++ b/devtools/shared/webconsole/test/unit/test_security-info-certificate.js
@@ -38,25 +38,25 @@ function run_test() {
 
   let result = NetworkHelper.parseCertificateInfo(DUMMY_CERT);
 
   // Subject
   equal(result.subject.commonName, DUMMY_CERT.commonName,
     "Common name is correct.");
   equal(result.subject.organization, DUMMY_CERT.organization,
     "Organization is correct.");
-  equal(result.subject.organizationalUnit, DUMMY_CERT.organizationalUnit,
+  equal(result.subject.organizationUnit, DUMMY_CERT.organizationUnit,
     "Organizational unit is correct.");
 
   // Issuer
   equal(result.issuer.commonName, DUMMY_CERT.issuerCommonName,
     "Common name of the issuer is correct.");
   equal(result.issuer.organization, DUMMY_CERT.issuerOrganization,
     "Organization of the issuer is correct.");
-  equal(result.issuer.organizationalUnit, DUMMY_CERT.issuerOrganizationalUnit,
+  equal(result.issuer.organizationUnit, DUMMY_CERT.issuerOrganizationUnit,
     "Organizational unit of the issuer is correct.");
 
   // Validity
   equal(result.validity.start, DUMMY_CERT.validity.notBeforeLocalDay,
     "Start of the validity period is correct.");
   equal(result.validity.end, DUMMY_CERT.validity.notAfterLocalDay,
     "End of the validity period is correct.");