| Index: components/security_interstitials/core/browser/resources/interstitial_v2.js
|
| diff --git a/components/security_interstitials/core/browser/resources/interstitial_v2.js b/components/security_interstitials/core/browser/resources/interstitial_v2.js
|
| index 332f6939fc340ff453158478974ec0693860c391..d4359be4f8133619ccb274d1b0545e3a5a44e453 100644
|
| --- a/components/security_interstitials/core/browser/resources/interstitial_v2.js
|
| +++ b/components/security_interstitials/core/browser/resources/interstitial_v2.js
|
| @@ -68,8 +68,10 @@ function handleKeypress(e) {
|
| * (error-debugging-info) visible.
|
| * @param {string} title The name of this debugging field.
|
| * @param {string} value The value of the debugging field.
|
| + * @param {boolean=} fixedWidth If true, the value field is displayed fixed
|
| + * width.
|
| */
|
| -function appendDebuggingField(title, value) {
|
| +function appendDebuggingField(title, value, fixedWidth) {
|
| // The values input here are not trusted. Never use innerHTML on these
|
| // values!
|
| var spanTitle = document.createElement('span');
|
| @@ -77,7 +79,10 @@ function appendDebuggingField(title, value) {
|
| spanTitle.innerText = title + ': ';
|
|
|
| var spanValue = document.createElement('span');
|
| - spanValue.classList.add('debugging-value');
|
| + spanValue.classList.add('debugging-content');
|
| + if (fixedWidth) {
|
| + spanValue.classList.add('debugging-content-fixed-width');
|
| + }
|
| spanValue.innerText = value;
|
|
|
| var pElem = document.createElement('p');
|
|
|