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    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
7  %htmlDTD;
8  <!ENTITY % netErrorAppDTD
9    SYSTEM "chrome://global/locale/netErrorApp.dtd">
10  %netErrorAppDTD;
11  <!ENTITY % netErrorDTD
12    SYSTEM "chrome://global/locale/netError.dtd">
13  %netErrorDTD;
14  <!ENTITY % globalDTD
15    SYSTEM "chrome://global/locale/global.dtd">
16  %globalDTD;
17]>
18
19<!-- This Source Code Form is subject to the terms of the Mozilla Public
20   - License, v. 2.0. If a copy of the MPL was not distributed with this
21   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
22
23<html xmlns="http://www.w3.org/1999/xhtml">
24  <head>
25    <meta http-equiv="Content-Security-Policy" content="default-src chrome:; object-src 'none'" />
26    <title>&loadError.label;</title>
27    <link rel="stylesheet" href="chrome://global/skin/netError.css" type="text/css" media="all" />
28    <!-- If the location of the favicon is changed here, the FAVICON_ERRORPAGE_URL symbol in
29         toolkit/components/places/src/nsFaviconService.h should be updated. -->
30    <link rel="icon" id="favicon" href="chrome://global/skin/icons/info.svg"/>
31  </head>
32
33  <body dir="&locale.dir;">
34
35    <!-- ERROR ITEM CONTAINER (removed during loading to avoid bug 39098) -->
36    <div id="errorContainer">
37      <div id="errorTitlesContainer">
38        <h1 id="et_generic">&generic.title;</h1>
39        <h1 id="et_dnsNotFound">&dnsNotFound.title;</h1>
40        <h1 id="et_fileNotFound">&fileNotFound.title;</h1>
41        <h1 id="et_fileAccessDenied">&fileAccessDenied.title;</h1>
42        <h1 id="et_malformedURI">&malformedURI.title;</h1>
43        <h1 id="et_unknownProtocolFound">&unknownProtocolFound.title;</h1>
44        <h1 id="et_connectionFailure">&connectionFailure.title;</h1>
45        <h1 id="et_netTimeout">&netTimeout.title;</h1>
46        <h1 id="et_redirectLoop">&redirectLoop.title;</h1>
47        <h1 id="et_unknownSocketType">&unknownSocketType.title;</h1>
48        <h1 id="et_netReset">&netReset.title;</h1>
49        <h1 id="et_notCached">&notCached.title;</h1>
50        <h1 id="et_netOffline">&netOffline.title;</h1>
51        <h1 id="et_netInterrupt">&netInterrupt.title;</h1>
52        <h1 id="et_deniedPortAccess">&deniedPortAccess.title;</h1>
53        <h1 id="et_proxyResolveFailure">&proxyResolveFailure.title;</h1>
54        <h1 id="et_proxyConnectFailure">&proxyConnectFailure.title;</h1>
55        <h1 id="et_contentEncodingError">&contentEncodingError.title;</h1>
56        <h1 id="et_unsafeContentType">&unsafeContentType.title;</h1>
57        <h1 id="et_nssFailure2">&nssFailure2.title;</h1>
58        <h1 id="et_nssBadCert">&nssBadCert.title;</h1>
59        <h1 id="et_cspBlocked">&cspBlocked.title;</h1>
60        <h1 id="et_xfoBlocked">&xfoBlocked.title;</h1>
61        <h1 id="et_corruptedContentErrorv2">&corruptedContentErrorv2.title;</h1>
62        <h1 id="et_inadequateSecurityError">&inadequateSecurityError.title;</h1>
63        <h1 id="et_blockedByPolicy">&blockedByPolicy.title;</h1>
64        <h1 id="et_networkProtocolError">&networkProtocolError.title;</h1>
65      </div>
66      <div id="errorDescriptionsContainer">
67        <div id="ed_generic">&generic.longDesc;</div>
68        <div id="ed_dnsNotFound">&dnsNotFound.longDesc;</div>
69        <div id="ed_fileNotFound">&fileNotFound.longDesc;</div>
70        <div id="ed_fileAccessDenied">&fileAccessDenied.longDesc;</div>
71        <div id="ed_malformedURI">&malformedURI.longDesc;</div>
72        <div id="ed_unknownProtocolFound">&unknownProtocolFound.longDesc;</div>
73        <div id="ed_connectionFailure">&connectionFailure.longDesc;</div>
74        <div id="ed_netTimeout">&netTimeout.longDesc;</div>
75        <div id="ed_redirectLoop">&redirectLoop.longDesc;</div>
76        <div id="ed_unknownSocketType">&unknownSocketType.longDesc;</div>
77        <div id="ed_netReset">&netReset.longDesc;</div>
78        <div id="ed_notCached">&notCached.longDesc;</div>
79        <div id="ed_netOffline">&netOffline.longDesc2;</div>
80        <div id="ed_netInterrupt">&netInterrupt.longDesc;</div>
81        <div id="ed_deniedPortAccess">&deniedPortAccess.longDesc;</div>
82        <div id="ed_proxyResolveFailure">&proxyResolveFailure.longDesc;</div>
83        <div id="ed_proxyConnectFailure">&proxyConnectFailure.longDesc;</div>
84        <div id="ed_contentEncodingError">&contentEncodingError.longDesc;</div>
85        <div id="ed_unsafeContentType">&unsafeContentType.longDesc;</div>
86        <div id="ed_nssFailure2">&nssFailure2.longDesc2;</div>
87        <div id="ed_nssBadCert">&nssBadCert.longDesc2;</div>
88        <div id="ed_cspBlocked">&cspBlocked.longDesc;</div>
89        <div id="ed_xfoBlocked">&xfoBlocked.longDesc;</div>
90        <div id="ed_corruptedContentErrorv2">&corruptedContentErrorv2.longDesc;</div>
91        <div id="ed_inadequateSecurityError">&inadequateSecurityError.longDesc;</div>
92        <div id="ed_blockedByPolicy"></div>
93        <div id="ed_networkProtocolError">&networkProtocolError.longDesc;</div>
94      </div>
95    </div>
96
97    <!-- PAGE CONTAINER (for styling purposes only) -->
98    <div id="errorPageContainer">
99
100      <!-- Error Title -->
101      <div id="errorTitle">
102        <h1 id="errorTitleText" />
103      </div>
104
105      <!-- LONG CONTENT (the section most likely to require scrolling) -->
106      <div id="errorLongContent">
107
108        <!-- Short Description -->
109        <div id="errorShortDesc">
110          <p id="errorShortDescText" />
111        </div>
112
113        <!-- Long Description (Note: See netError.dtd for used XHTML tags) -->
114        <div id="errorLongDesc" />
115
116        <!-- Override section - For ssl errors only.  Removed on init for other
117             error types.  -->
118        <div id="securityOverrideDiv">
119          <a id="securityOverrideLink" href="javascript:showSecuritySection();" >&securityOverride.linkText;</a>
120          <div id="securityOverrideContent">&securityOverride.warningContent;</div>
121        </div>
122      </div>
123
124      <!-- Retry Button -->
125      <button id="errorTryAgain" autocomplete="off">&retry.label;</button>
126    </div>
127
128    <script src="chrome://global/content/netError.js"/>
129  </body>
130</html>
131