Source code

Revision control

Other Tools

1
<?xml version="1.0" encoding="UTF-8"?>
2
3
<!DOCTYPE html [
4
<!ENTITY % htmlDTD
5
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
6
"DTD/xhtml1-strict.dtd">
7
%htmlDTD;
8
<!ENTITY % netErrorDTD
9
SYSTEM "chrome://browser/locale/netError.dtd">
10
%netErrorDTD;
11
<!ENTITY % globalDTD
12
SYSTEM "chrome://global/locale/global.dtd">
13
%globalDTD;
14
]>
15
16
<!-- This Source Code Form is subject to the terms of the Mozilla Public
17
- License, v. 2.0. If a copy of the MPL was not distributed with this
18
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
19
20
<html xmlns="http://www.w3.org/1999/xhtml">
21
<head>
22
<meta http-equiv="Content-Security-Policy" content="default-src chrome:; object-src 'none'" />
23
<title>&loadError.label;</title>
24
<link rel="stylesheet" href="chrome://browser/skin/aboutNetError.css" type="text/css" media="all" />
25
<!-- If the location of the favicon is changed here, the FAVICON_ERRORPAGE_URL symbol in
26
toolkit/components/places/src/nsFaviconService.h should be updated. -->
27
<link rel="icon" id="favicon" href="chrome://global/skin/icons/warning.svg"/>
28
<link rel="localization" href="browser/aboutCertError.ftl" />
29
<link rel="localization" href="browser/nsserrors.ftl" />
30
<link rel="localization" href="branding/brand.ftl"/>
31
</head>
32
33
<body dir="&locale.dir;">
34
<!-- ERROR ITEM CONTAINER (removed during loading to avoid bug 39098) -->
35
<div id="errorContainer">
36
<div id="errorPageTitlesContainer">
37
<span id="ept_nssBadCert">&certerror.pagetitle2;</span>
38
<span id="ept_nssBadCert_sts">&certerror.sts.pagetitle;</span>
39
<span id="ept_captivePortal">&captivePortal.title;</span>
40
<span id="ept_dnsNotFound">&dnsNotFound.pageTitle;</span>
41
<span id="ept_malformedURI">&malformedURI.pageTitle;</span>
42
<span id="ept_blockedByPolicy">&blockedByPolicy.title;</span>
43
</div>
44
<div id="errorTitlesContainer">
45
<h1 id="et_generic">&generic.title;</h1>
46
<h1 id="et_captivePortal">&captivePortal.title;</h1>
47
<h1 id="et_dnsNotFound">&dnsNotFound.title1;</h1>
48
<h1 id="et_fileNotFound">&fileNotFound.title;</h1>
49
<h1 id="et_fileAccessDenied">&fileAccessDenied.title;</h1>
50
<h1 id="et_malformedURI">&malformedURI.title1;</h1>
51
<h1 id="et_unknownProtocolFound">&unknownProtocolFound.title;</h1>
52
<h1 id="et_connectionFailure">&connectionFailure.title;</h1>
53
<h1 id="et_netTimeout">&netTimeout.title;</h1>
54
<h1 id="et_redirectLoop">&redirectLoop.title;</h1>
55
<h1 id="et_unknownSocketType">&unknownSocketType.title;</h1>
56
<h1 id="et_netReset">&netReset.title;</h1>
57
<h1 id="et_notCached">&notCached.title;</h1>
58
<h1 id="et_netOffline">&netOffline.title;</h1>
59
<h1 id="et_netInterrupt">&netInterrupt.title;</h1>
60
<h1 id="et_deniedPortAccess">&deniedPortAccess.title;</h1>
61
<h1 id="et_proxyResolveFailure">&proxyResolveFailure.title;</h1>
62
<h1 id="et_proxyConnectFailure">&proxyConnectFailure.title;</h1>
63
<h1 id="et_contentEncodingError">&contentEncodingError.title;</h1>
64
<h1 id="et_unsafeContentType">&unsafeContentType.title;</h1>
65
<h1 id="et_nssFailure2">&nssFailure2.title;</h1>
66
<h1 id="et_nssBadCert">&certerror.longpagetitle2;</h1>
67
<h1 id="et_nssBadCert_sts">&certerror.sts.longpagetitle;</h1>
68
<h1 id="et_cspBlocked">&cspBlocked.title;</h1>
69
<h1 id="et_xfoBlocked">&xfoBlocked.title;</h1>
70
<h1 id="et_remoteXUL">&remoteXUL.title;</h1>
71
<h1 id="et_corruptedContentErrorv2">&corruptedContentErrorv2.title;</h1>
72
<h1 id="et_sslv3Used">&sslv3Used.title;</h1>
73
<h1 id="et_inadequateSecurityError">&inadequateSecurityError.title;</h1>
74
<h1 id="et_blockedByPolicy">&blockedByPolicy.title;</h1>
75
<h1 id="et_mitm">&certerror.mitm.title;</h1>
76
<h1 id="et_clockSkewError">&clockSkewError.title;</h1>
77
<h1 id="et_networkProtocolError">&networkProtocolError.title;</h1>
78
</div>
79
<div id="errorDescriptionsContainer">
80
<div id="ed_generic">&generic.longDesc;</div>
81
<div id="ed_captivePortal">&captivePortal.longDesc2;</div>
82
<div id="ed_dnsNotFound">&dnsNotFound.longDesc1;</div>
83
<div id="ed_fileNotFound">&fileNotFound.longDesc;</div>
84
<div id="ed_fileAccessDenied">&fileAccessDenied.longDesc;</div>
85
<div id="ed_malformedURI"></div>
86
<div id="ed_unknownProtocolFound">&unknownProtocolFound.longDesc;</div>
87
<div id="ed_connectionFailure">&connectionFailure.longDesc;</div>
88
<div id="ed_netTimeout">&netTimeout.longDesc;</div>
89
<div id="ed_redirectLoop">&redirectLoop.longDesc;</div>
90
<div id="ed_unknownSocketType">&unknownSocketType.longDesc;</div>
91
<div id="ed_netReset">&netReset.longDesc;</div>
92
<div id="ed_notCached">&notCached.longDesc;</div>
93
<div id="ed_netOffline">&netOffline.longDesc2;</div>
94
<div id="ed_netInterrupt">&netInterrupt.longDesc;</div>
95
<div id="ed_deniedPortAccess">&deniedPortAccess.longDesc;</div>
96
<div id="ed_proxyResolveFailure">&proxyResolveFailure.longDesc;</div>
97
<div id="ed_proxyConnectFailure">&proxyConnectFailure.longDesc;</div>
98
<div id="ed_contentEncodingError">&contentEncodingError.longDesc;</div>
99
<div id="ed_unsafeContentType">&unsafeContentType.longDesc;</div>
100
<div id="ed_nssFailure2">&nssFailure2.longDesc2;</div>
101
<div id="ed_nssBadCert">&certerror.introPara2;</div>
102
<div id="ed_nssBadCert_sts">&certerror.sts.introPara;</div>
103
<div id="ed_nssBadCert_SEC_ERROR_EXPIRED_CERTIFICATE">&certerror.expiredCert.introPara;</div>
104
<div id="ed_mitm">&certerror.mitm.longDesc;</div>
105
<div id="ed_cspBlocked">&cspBlocked.longDesc;</div>
106
<div id="ed_xfoBlocked">&xfoBlocked.longDesc;</div>
107
<div id="ed_remoteXUL">&remoteXUL.longDesc;</div>
108
<div id="ed_corruptedContentErrorv2">&corruptedContentErrorv2.longDesc;</div>
109
<div id="ed_sslv3Used">&sslv3Used.longDesc2;</div>
110
<div id="ed_inadequateSecurityError">&inadequateSecurityError.longDesc;</div>
111
<div id="ed_blockedByPolicy"></div>
112
<div id="ed_clockSkewError">&clockSkewError.longDesc;</div>
113
<div id="ed_networkProtocolError">&networkProtocolError.longDesc;</div>
114
</div>
115
<div id="errorDescriptions2Container">
116
<div id="ed2_nssBadCert_SEC_ERROR_EXPIRED_CERTIFICATE">&certerror.expiredCert.secondPara2;</div>
117
<div id="ed2_nssBadCert_SEC_ERROR_EXPIRED_CERTIFICATE_sts">&certerror.expiredCert.sts.secondPara;</div>
118
</div>
119
<div id="whatCanYouDoAboutItTitleContainer">
120
<div id="edd_nssBadCert"><strong>&certerror.whatCanYouDoAboutItTitle;</strong></div>
121
</div>
122
<div id="whatCanYouDoAboutItContainer">
123
<div id="es_nssBadCert_SEC_ERROR_UNKNOWN_ISSUER">&certerror.unknownIssuer.whatCanYouDoAboutIt;</div>
124
<div id="es_nssBadCert_SEC_ERROR_EXPIRED_CERTIFICATE">&certerror.expiredCert.whatCanYouDoAboutIt2;</div>
125
<div id="es_nssBadCert_SEC_ERROR_EXPIRED_ISSUER_CERTIFICATE">&certerror.expiredCert.whatCanYouDoAboutIt2;</div>
126
<div id="es_nssBadCert_MOZILLA_PKIX_ERROR_NOT_YET_VALID_CERTIFICATE">&certerror.expiredCert.whatCanYouDoAboutIt2;</div>
127
<div id="es_nssBadCert_MOZILLA_PKIX_ERROR_NOT_YET_VALID_ISSUER_CERTIFICATE">&certerror.expiredCert.whatCanYouDoAboutIt2;</div>
128
<div id="es_nssBadCert_SSL_ERROR_BAD_CERT_DOMAIN">&certerror.badCertDomain.whatCanYouDoAboutIt;</div>
129
<div id="es_nssBadCert_MOZILLA_PKIX_ERROR_MITM_DETECTED">
130
<ul>
131
<li>&certerror.mitm.whatCanYouDoAboutIt1;</li>
132
<li>&certerror.mitm.whatCanYouDoAboutIt2;</li>
133
<li id="mitmWhatCanYouDoAboutIt3">&certerror.mitm.whatCanYouDoAboutIt3;</li>
134
</ul>
135
</div>
136
</div>
137
<!-- Stores an alternative text for when we don't want to add "Recommended" to the
138
return button. This is one of many l10n atrocities in this file and should be
139
removed when we finally switch to Fluent. -->
140
<span id="stsReturnButtonText">&returnToPreviousPage.label;</span>
141
<span id="stsMitmWhatCanYouDoAboutIt3">&certerror.mitm.sts.whatCanYouDoAboutIt3;</span>
142
</div>
143
144
<!-- PAGE CONTAINER (for styling purposes only) -->
145
<div id="errorPageContainer" class="container">
146
<div id="text-container">
147
<!-- Error Title -->
148
<div class="title">
149
<h1 class="title-text"/>
150
</div>
151
152
<!-- LONG CONTENT (the section most likely to require scrolling) -->
153
<div id="errorLongContent">
154
155
<!-- Short Description -->
156
<div id="errorShortDesc">
157
<p id="errorShortDescText" />
158
</div>
159
160
<div id="errorShortDesc2">
161
<p id="errorShortDescText2" />
162
</div>
163
164
<div id="errorWhatToDoTitle">
165
<p id="errorWhatToDoTitleText" />
166
</div>
167
168
<div id="errorWhatToDo">
169
<p id="badStsCertExplanation" hidden="true">&certerror.whatShouldIDo.badStsCertExplanation1;</p>
170
<p id="errorWhatToDoText" />
171
</div>
172
173
<div id="errorWhatToDo2">
174
<p id="errorWhatToDoText2" />
175
<p id="badStsCertExplanation" hidden="true">&certerror.whatShouldIDo.badStsCertExplanation1;</p>
176
</div>
177
178
<!-- Long Description (Note: See netError.dtd for used XHTML tags) -->
179
<div id="errorLongDesc" />
180
181
<div id="learnMoreContainer">
182
<p><a id="learnMoreLink" target="new">&errorReporting.learnMore;</a></p>
183
</div>
184
</div>
185
186
<!-- UI to temporarily re-enable TLS 1.0 and 1.1.
187
This should be removed after March 2020, see bug 1579285. -->
188
<div id="enableTls10Container" class="button-container">
189
<p>&enableTls10.longDesc;</p>
190
<p>&enableTls10.note;</p>
191
<button id="enableTls10Button" class="primary">&enableTls10.label;</button>
192
</div>
193
194
<!-- UI for option to report certificate errors to Mozilla. Removed on
195
init for other error types .-->
196
<div id="prefChangeContainer" class="button-container">
197
<p>&prefReset.longDesc;</p>
198
<button id="prefResetButton" class="primary">&prefReset.label;</button>
199
</div>
200
201
<div id="certErrorAndCaptivePortalButtonContainer" class="button-container">
202
<button id="returnButton" class="primary">&returnToPreviousPage1.label;</button>
203
<button id="openPortalLoginPageButton" class="primary">&openPortalLoginPage.label2;</button>
204
<button class="primary try-again">&retry.label;</button>
205
<button id="advancedButton">&advanced2.label;</button>
206
</div>
207
</div>
208
209
<div id="netErrorButtonContainer" class="button-container">
210
<button class="primary try-again">&retry.label;</button>
211
</div>
212
213
<div id="advancedPanelContainer">
214
<div id="badCertAdvancedPanel" class="advanced-panel">
215
<p id="badCertTechnicalInfo"/>
216
<a id="viewCertificate" href="javascript:void(0)">&viewCertificate.label;</a>
217
<div id="advancedPanelButtonContainer" class="button-container">
218
<button id="advancedPanelReturnButton" class="primary">&returnToPreviousPage1.label;</button>
219
<button class="primary try-again">&retry.label;</button>
220
<div class="exceptionDialogButtonContainer">
221
<button id="exceptionDialogButton">&securityOverride.exceptionButton1Label;</button>
222
</div>
223
</div>
224
</div>
225
226
<div id="certificateErrorReporting">
227
<p class="toggle-container-with-text">
228
<input type="checkbox" id="automaticallyReportInFuture" role="checkbox"/>
229
<label for="automaticallyReportInFuture">&errorReporting.automatic2;</label>
230
</p>
231
</div>
232
233
<div id="certificateErrorDebugInformation">
234
<button id="copyToClipboardTop">&certerror.copyToClipboard.label;</button>
235
<div id="certificateErrorText"/>
236
<button id="copyToClipboardBottom">&certerror.copyToClipboard.label;</button>
237
</div>
238
</div>
239
</div>
240
</body>
242
</html>