mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 19:55:39 +00:00
bcc5036fe6
MozReview-Commit-ID: KVw4omdhuaS --HG-- rename : browser/base/content/aboutNetError.xhtml => browser/base/content/aboutNetError-new.xhtml extra : rebase_source : c931afe480ca2c946aeba4aa7ac14c670c49a73e
178 lines
8.4 KiB
HTML
178 lines
8.4 KiB
HTML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!DOCTYPE html [
|
|
<!ENTITY % htmlDTD
|
|
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
"DTD/xhtml1-strict.dtd">
|
|
%htmlDTD;
|
|
<!ENTITY % netErrorDTD
|
|
SYSTEM "chrome://browser/locale/netError.dtd">
|
|
%netErrorDTD;
|
|
<!ENTITY % globalDTD
|
|
SYSTEM "chrome://global/locale/global.dtd">
|
|
%globalDTD;
|
|
]>
|
|
|
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Security-Policy" content="default-src chrome:" />
|
|
<title>&loadError.label;</title>
|
|
<link rel="stylesheet" href="chrome://browser/skin/aboutNetError.css" type="text/css" media="all" />
|
|
<!-- If the location of the favicon is changed here, the FAVICON_ERRORPAGE_URL symbol in
|
|
toolkit/components/places/src/nsFaviconService.h should be updated. -->
|
|
<link rel="icon" type="image/png" id="favicon" href="chrome://global/skin/icons/warning-16.png"/>
|
|
</head>
|
|
|
|
<body dir="&locale.dir;">
|
|
<!-- ERROR ITEM CONTAINER (removed during loading to avoid bug 39098) -->
|
|
<div id="errorContainer">
|
|
<div id="errorPageTitlesContainer">
|
|
<span id="ept_nssBadCert">&certerror.pagetitle1;</span>
|
|
<span id="ept_captivePortal">&captivePortal.title;</span>
|
|
<span id="ept_dnsNotFound">&dnsNotFound.pageTitle;</span>
|
|
<span id="ept_malformedURI">&malformedURI.pageTitle;</span>
|
|
<span id="ept_blockedByPolicy">&blockedByPolicy.title;</span>
|
|
</div>
|
|
<div id="errorTitlesContainer">
|
|
<h1 id="et_generic">&generic.title;</h1>
|
|
<h1 id="et_captivePortal">&captivePortal.title;</h1>
|
|
<h1 id="et_dnsNotFound">&dnsNotFound.title1;</h1>
|
|
<h1 id="et_fileNotFound">&fileNotFound.title;</h1>
|
|
<h1 id="et_fileAccessDenied">&fileAccessDenied.title;</h1>
|
|
<h1 id="et_malformedURI">&malformedURI.title1;</h1>
|
|
<h1 id="et_unknownProtocolFound">&unknownProtocolFound.title;</h1>
|
|
<h1 id="et_connectionFailure">&connectionFailure.title;</h1>
|
|
<h1 id="et_netTimeout">&netTimeout.title;</h1>
|
|
<h1 id="et_redirectLoop">&redirectLoop.title;</h1>
|
|
<h1 id="et_unknownSocketType">&unknownSocketType.title;</h1>
|
|
<h1 id="et_netReset">&netReset.title;</h1>
|
|
<h1 id="et_notCached">¬Cached.title;</h1>
|
|
<h1 id="et_netOffline">&netOffline.title;</h1>
|
|
<h1 id="et_netInterrupt">&netInterrupt.title;</h1>
|
|
<h1 id="et_deniedPortAccess">&deniedPortAccess.title;</h1>
|
|
<h1 id="et_proxyResolveFailure">&proxyResolveFailure.title;</h1>
|
|
<h1 id="et_proxyConnectFailure">&proxyConnectFailure.title;</h1>
|
|
<h1 id="et_contentEncodingError">&contentEncodingError.title;</h1>
|
|
<h1 id="et_unsafeContentType">&unsafeContentType.title;</h1>
|
|
<h1 id="et_nssFailure2">&nssFailure2.title;</h1>
|
|
<h1 id="et_nssBadCert">&certerror.longpagetitle1;</h1>
|
|
<h1 id="et_cspBlocked">&cspBlocked.title;</h1>
|
|
<h1 id="et_remoteXUL">&remoteXUL.title;</h1>
|
|
<h1 id="et_corruptedContentErrorv2">&corruptedContentErrorv2.title;</h1>
|
|
<h1 id="et_sslv3Used">&sslv3Used.title;</h1>
|
|
<h1 id="et_inadequateSecurityError">&inadequateSecurityError.title;</h1>
|
|
<h1 id="et_blockedByPolicy">&blockedByPolicy.title;</h1>
|
|
</div>
|
|
<div id="errorDescriptionsContainer">
|
|
<div id="ed_generic">&generic.longDesc;</div>
|
|
<div id="ed_captivePortal">&captivePortal.longDesc2;</div>
|
|
<div id="ed_dnsNotFound">&dnsNotFound.longDesc1;</div>
|
|
<div id="ed_fileNotFound">&fileNotFound.longDesc;</div>
|
|
<div id="ed_fileAccessDenied">&fileAccessDenied.longDesc;</div>
|
|
<div id="ed_malformedURI"></div>
|
|
<div id="ed_unknownProtocolFound">&unknownProtocolFound.longDesc;</div>
|
|
<div id="ed_connectionFailure">&connectionFailure.longDesc;</div>
|
|
<div id="ed_netTimeout">&netTimeout.longDesc;</div>
|
|
<div id="ed_redirectLoop">&redirectLoop.longDesc;</div>
|
|
<div id="ed_unknownSocketType">&unknownSocketType.longDesc;</div>
|
|
<div id="ed_netReset">&netReset.longDesc;</div>
|
|
<div id="ed_notCached">¬Cached.longDesc;</div>
|
|
<div id="ed_netOffline">&netOffline.longDesc2;</div>
|
|
<div id="ed_netInterrupt">&netInterrupt.longDesc;</div>
|
|
<div id="ed_deniedPortAccess">&deniedPortAccess.longDesc;</div>
|
|
<div id="ed_proxyResolveFailure">&proxyResolveFailure.longDesc;</div>
|
|
<div id="ed_proxyConnectFailure">&proxyConnectFailure.longDesc;</div>
|
|
<div id="ed_contentEncodingError">&contentEncodingError.longDesc;</div>
|
|
<div id="ed_unsafeContentType">&unsafeContentType.longDesc;</div>
|
|
<div id="ed_nssFailure2">&nssFailure2.longDesc2;</div>
|
|
<div id="ed_nssBadCert">&certerror.introPara;</div>
|
|
<div id="ed_cspBlocked">&cspBlocked.longDesc;</div>
|
|
<div id="ed_remoteXUL">&remoteXUL.longDesc;</div>
|
|
<div id="ed_corruptedContentErrorv2">&corruptedContentErrorv2.longDesc;</div>
|
|
<div id="ed_sslv3Used">&sslv3Used.longDesc2;</div>
|
|
<div id="ed_inadequateSecurityError">&inadequateSecurityError.longDesc;</div>
|
|
<div id="ed_blockedByPolicy"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- PAGE CONTAINER (for styling purposes only) -->
|
|
<div id="errorPageContainer" class="container">
|
|
<div id="text-container">
|
|
<!-- Error Title -->
|
|
<div class="title">
|
|
<h1 class="title-text"/>
|
|
</div>
|
|
|
|
<!-- LONG CONTENT (the section most likely to require scrolling) -->
|
|
<div id="errorLongContent">
|
|
|
|
<!-- Short Description -->
|
|
<div id="errorShortDesc">
|
|
<p id="errorShortDescText" />
|
|
</div>
|
|
<p id="badStsCertExplanation" hidden="true">&certerror.whatShouldIDo.badStsCertExplanation;</p>
|
|
|
|
<div id="wrongSystemTimePanel">
|
|
&certerror.wrongSystemTime2;
|
|
</div>
|
|
|
|
<div id="wrongSystemTimeWithoutReferencePanel">
|
|
&certerror.wrongSystemTimeWithoutReference;
|
|
</div>
|
|
|
|
<!-- Long Description (Note: See netError.dtd for used XHTML tags) -->
|
|
<div id="errorLongDesc" />
|
|
|
|
<div id="learnMoreContainer">
|
|
<p><a href="https://support.mozilla.org/kb/what-does-your-connection-is-not-secure-mean" id="learnMoreLink" target="new">&errorReporting.learnMore;</a></p>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- UI for option to report certificate errors to Mozilla. Removed on
|
|
init for other error types .-->
|
|
<div id="certificateErrorReporting">
|
|
<p class="toggle-container-with-text">
|
|
<input type="checkbox" id="automaticallyReportInFuture" role="checkbox" />
|
|
<label for="automaticallyReportInFuture" id="automaticallyReportInFuture">&errorReporting.automatic2;</label>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="prefChangeContainer" class="button-container">
|
|
<p>&prefReset.longDesc;</p>
|
|
<button id="prefResetButton" class="primary" autocomplete="off">&prefReset.label;</button>
|
|
</div>
|
|
|
|
<div id="certErrorAndCaptivePortalButtonContainer" class="button-container">
|
|
<button id="returnButton" class="primary" autocomplete="off">&returnToPreviousPage.label;</button>
|
|
<button id="openPortalLoginPageButton" class="primary" autocomplete="off">&openPortalLoginPage.label2;</button>
|
|
<button id="advancedButton" autocomplete="off">&advanced.label;</button>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="netErrorButtonContainer" class="button-container">
|
|
<button id="errorTryAgain" class="primary" autocomplete="off">&retry.label;</button>
|
|
</div>
|
|
|
|
<div id="advancedPanelContainer">
|
|
<div id="badCertAdvancedPanel" class="advanced-panel">
|
|
<p id="badCertTechnicalInfo"/>
|
|
<div class="exceptionDialogButtonContainer">
|
|
<button id="exceptionDialogButton">&securityOverride.exceptionButtonLabel;</button>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="certificateErrorDebugInformation">
|
|
<button id="copyToClipboard">&certerror.copyToClipboard.label;</button>
|
|
<div id="certificateErrorText"/>
|
|
<button id="copyToClipboard">&certerror.copyToClipboard.label;</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
<script type="application/javascript" src="chrome://browser/content/aboutNetError.js"/>
|
|
</html>
|