Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Side by Side Diff: components/security_interstitials/core/browser/resources/ssl.js

Issue 2412993002: Make PEM debugging section fixed width in the SSL interstitial (Closed)
Patch Set: bool Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/security_interstitials/core/browser/resources/interstitial_v2.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 function setupSSLDebuggingInfo() { 5 function setupSSLDebuggingInfo() {
6 if (loadTimeData.getString('type') != 'SSL') 6 if (loadTimeData.getString('type') != 'SSL')
7 return; 7 return;
8 8
9 // The titles are not internationalized because this is debugging information 9 // The titles are not internationalized because this is debugging information
10 // for bug reports, help center posts, etc. 10 // for bug reports, help center posts, etc.
11 appendDebuggingField('Subject', loadTimeData.getString('subject')); 11 appendDebuggingField('Subject', loadTimeData.getString('subject'));
12 appendDebuggingField('Issuer', loadTimeData.getString('issuer')); 12 appendDebuggingField('Issuer', loadTimeData.getString('issuer'));
13 appendDebuggingField('Expires on', loadTimeData.getString('expirationDate')); 13 appendDebuggingField('Expires on', loadTimeData.getString('expirationDate'));
14 appendDebuggingField('Current date', loadTimeData.getString('currentDate')); 14 appendDebuggingField('Current date', loadTimeData.getString('currentDate'));
15 appendDebuggingField('PEM encoded chain', loadTimeData.getString('pem')); 15 appendDebuggingField('PEM encoded chain', loadTimeData.getString('pem'),
16 true);
16 17
17 $('error-code').addEventListener('click', toggleDebuggingInfo); 18 $('error-code').addEventListener('click', toggleDebuggingInfo);
18 } 19 }
OLDNEW
« no previous file with comments | « components/security_interstitials/core/browser/resources/interstitial_v2.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698