We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dae707b commit 8c3610aCopy full SHA for 8c3610a
components/security_interstitials/core/browser/resources/interstitial_large.js
@@ -82,8 +82,10 @@ function setupEvents() {
82
83
if (ssl || originPolicy || blockedInterception || legacyTls) {
84
$('body').classList.add(badClock ? 'bad-clock' : 'ssl');
85
- $('error-code').textContent = loadTimeData.getString('errorCode');
86
- $('error-code').classList.remove(HIDDEN_CLASS);
+ if (loadTimeData.valueExists('errorCode')) {
+ $('error-code').textContent = loadTimeData.getString('errorCode');
87
+ $('error-code').classList.remove(HIDDEN_CLASS);
88
+ }
89
} else if (captivePortal) {
90
$('body').classList.add('captive-portal');
91
} else if (billing) {
0 commit comments